Changeset 6725 for trunk/MagicSoft
- Timestamp:
- 03/03/05 18:07:00 (20 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r6722 r6725 34 34 - re-added MFEventSelector which had been removed by TB on the 35 35 15.2.2005. 36 37 * mjobs/MJCalib.[h,cc] 38 - added flag fPulsePosCheck 36 39 37 40 2005/03/02 Markus Gaug -
trunk/MagicSoft/Mars/mjobs/MJCalib.cc
r6701 r6725 43 43 // 44 44 // Sets: 45 // - fDataFlag to kIsUseRootData 46 // - fRuns to NULL 47 // - fCheckedPixId to fgCheckedPixId 48 // - fPixelCheck to kFALSE 45 // - fDataFlag to kIsUseRootData 46 // - fRuns to NULL 47 // - fCheckedPixId to fgCheckedPixId 48 // - fPixelCheck to kFALSE 49 // - fPulsePosCheck to kFALSE 49 50 // 50 MJCalib::MJCalib() : fDataFlag(kIsUseRootData), fStorage(0), fPixelCheck(kFALSE), fRuns(NULL) 51 MJCalib::MJCalib() : fDataFlag(kIsUseRootData), fStorage(0), 52 fPixelCheck(kFALSE), fPulsePosCheck(kFALSE), 53 fRuns(NULL) 51 54 { 52 55 SetCheckedPixId(); … … 57 60 if (HasEnv("PixelCheck")) 58 61 SetPixelCheck(GetEnv("PixelCheck", fPixelCheck)); 62 63 if (HasEnv("PulsePosCheck")) 64 SetPulsePosCheck(GetEnv("PulsePosCheck", fPulsePosCheck)); 59 65 60 66 if (HasEnv("CheckedPixId")) -
trunk/MagicSoft/Mars/mjobs/MJCalib.h
r6699 r6725 22 22 static const Int_t fgCheckedPixId; //! Default for fCheckedPixId 23 23 24 Byte_t fDataFlag; 24 Byte_t fDataFlag; // Bit-field to store the data type 25 25 26 enum Storage_t 26 enum Storage_t // Possible devices for calibration 27 27 { 28 28 kNoStorage, 29 29 kHistsStorage 30 }; 30 }; // Possible flags for the storage of results 31 31 32 Byte_t fStorage; 32 Byte_t fStorage; // Bit-field for chosen storage type 33 33 34 34 protected: 35 35 36 Bool_t fPixelCheck; 37 Int_t fCheckedPixId; 36 Bool_t fPixelCheck; // Check a test pixel? 37 Int_t fCheckedPixId; // ID of checked pixel 38 38 39 MRunIter *fRuns; // Data files, only used for test applications, default is sequence files! 39 Bool_t fPulsePosCheck; // Check pulse position? 40 41 MRunIter *fRuns; // Data files, only used for test applications, default is sequence files! 40 42 41 43 Bool_t CheckEnvLocal(); … … 61 63 void SetDataType(DataType_t type) { fDataFlag=type; } 62 64 63 void SetPixelCheck ( const Bool_t b=kTRUE ) { fPixelCheck = b; } 64 void SetCheckedPixId( const Int_t i=fgCheckedPixId ) { fCheckedPixId = i; } 65 void SetPixelCheck ( const Bool_t b=kTRUE ) { fPixelCheck = b; } 66 void SetPulsePosCheck( const Bool_t b=kTRUE ) { fPulsePosCheck = b; } 67 void SetCheckedPixId ( const Int_t i=fgCheckedPixId ) { fCheckedPixId = i; } 65 68 66 69 void SetNoStorage ( const Bool_t b=kTRUE ) { b ? SETBIT(fStorage,kNoStorage) : CLRBIT(fStorage,kNoStorage); }
Note:
See TracChangeset
for help on using the changeset viewer.