Changeset 6475 for trunk/MagicSoft/Mars
- Timestamp:
- 02/15/05 09:55:41 (20 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r6469 r6475 31 31 - lowered default low-gain switch from 150 to 120. (for calibration 32 32 events which saturate more than 5% of the events). 33 34 * mjobs/MJCalib.[h,cc] 35 - include possibility to display pixels distributions for test 36 reasons 33 37 34 38 2005/02/14 Thomas Bretz -
trunk/MagicSoft/Mars/mjobs/MJCalib.cc
r6281 r6475 36 36 using namespace std; 37 37 38 const Int_t MJCalib::fgCheckedPixId = 100; 38 39 // -------------------------------------------------------------------------- 39 40 // 40 41 // Default constructor. 41 42 // 42 // Sets fDataFlag to kIsUseRootData 43 // Sets: 44 // - fDataFlag to kIsUseRootData 45 // - fRuns to NULL 46 // - fCheckedPixId to fgCheckedPixId 47 // - fPixelCheck to kFALSE 43 48 // 44 MJCalib::MJCalib() : fDataFlag(kIsUseRootData), f Runs(NULL)49 MJCalib::MJCalib() : fDataFlag(kIsUseRootData), fPixelCheck(kFALSE), fRuns(NULL) 45 50 { 51 SetCheckedPixId(); 46 52 } 47 53 48 54 Bool_t MJCalib::CheckEnvLocal() 49 55 { 56 57 if (HasEnv("PixelCheck")) 58 SetPixelCheck(); 59 60 if (HasEnv("CheckedPixId")) 61 SetCheckedPixId(GetEnv("CheckedPixId",fCheckedPixId)); 62 50 63 if (!HasEnv("DataType")) 51 64 return kTRUE; -
trunk/MagicSoft/Mars/mjobs/MJCalib.h
r6466 r6475 19 19 20 20 private: 21 Byte_t fDataFlag; // Bit-field to store the data type 21 22 static const Int_t fgCheckedPixId; //! Default for fCheckedPixId 23 24 Byte_t fDataFlag; // Bit-field to store the data type 22 25 23 26 protected: 24 MRunIter *fRuns; // Data files, only used for test applications, default is sequence files! 27 28 Bool_t fPixelCheck; // Check a test pixel? 29 Int_t fCheckedPixId; // ID of checked pixel 30 31 MRunIter *fRuns; // Data files, only used for test applications, default is sequence files! 25 32 26 33 Bool_t CheckEnvLocal(); … … 30 37 31 38 void SetInput(MRunIter *iter) { fRuns = iter; } 32 33 Byte_t GetDataFlag() const { return fDataFlag; }34 39 35 40 Bool_t IsUseRawData() const { return fDataFlag==kIsUseRawData; } … … 43 48 void SetDataType(DataType_t type) { fDataFlag=type; } 44 49 50 void SetPixelCheck ( const Bool_t b=kTRUE ) { fPixelCheck = b; } 51 void SetCheckedPixId( const Int_t i=fgCheckedPixId ) { fCheckedPixId = i; } 52 45 53 ClassDef(MJCalib, 0) // Base class for calibration jobs 46 54 };
Note:
See TracChangeset
for help on using the changeset viewer.