Changeset 5858 for trunk/MagicSoft/Mars/mhcalib/MHCalibrationCam.h
- Timestamp:
- 01/16/05 17:31:49 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhcalib/MHCalibrationCam.h
r5851 r5858 29 29 class MGeomCam; 30 30 class MRawRunHeader; 31 class MTriggerPattern;32 31 class MCalibrationIntensityCam; 33 32 class MCalibrationCam; … … 89 88 MGeomCam *fGeom; //! Camera geometry 90 89 MRawRunHeader *fRunHeader; //! Run Header 91 MTriggerPattern *fTrigPattern; //! Trigger Pattern92 90 93 91 TOrdCollection *fHiGainArray; // Array of calibration pixels, one per pixel … … 97 95 98 96 enum { kDebug, kLoGain, kAverageing, 99 kOscillations, kSizeCheck, 100 kInterlaced }; // Possible global flags 97 kOscillations, kSizeCheck }; // Possible global flags 101 98 102 99 Byte_t fFlags; // Bit-field to hold the global flags 103 104 enum InterlacedMode_t105 {106 kInterlacedPed = BIT(0),107 kInterlacedCal = BIT(1),108 kInterlacedPin = BIT(2)109 }; // Possible interlaced event types to be treated110 111 Byte_t fInterlacedFlags; // Bit-field to hold the interlaced flags112 Byte_t fMaskInterlaced; // Mask to define the interlaced event types113 100 114 101 virtual Bool_t SetupHists ( const MParList *pList ) { return kTRUE; } … … 157 144 Bool_t IsOscillations() const { return TESTBIT(fFlags,kOscillations); } 158 145 Bool_t IsSizeCheck () const { return TESTBIT(fFlags,kSizeCheck); } 159 Bool_t IsInterlaced () const { return TESTBIT(fFlags,kInterlaced); } 160 161 Bool_t IsInterlacedTypePed() const { return TESTBIT(fInterlacedFlags,kInterlacedPed); } 162 Bool_t IsInterlacedTypeCal() const { return TESTBIT(fInterlacedFlags,kInterlacedCal); } 163 Bool_t IsInterlacedTypePin() const { return TESTBIT(fInterlacedFlags,kInterlacedPin); } 164 146 165 147 void Remove ( TOrdCollection *col ); 166 148 … … 222 204 ? SETBIT(fFlags,kSizeCheck) 223 205 : CLRBIT(fFlags,kSizeCheck); } 224 void SetInterlaced ( const Bool_t b=kTRUE ) { b225 ? SETBIT(fFlags,kInterlaced)226 : CLRBIT(fFlags,kInterlaced); }227 228 void SetInterlacedTypePed() { SETBIT(fInterlacedFlags,kInterlacedPed); }229 void SetInterlacedTypeCal() { SETBIT(fInterlacedFlags,kInterlacedCal); }230 void SetInterlacedTypePin() { SETBIT(fInterlacedFlags,kInterlacedPin); }231 232 206 void SetHistName ( const char *name ) { fHistName = name; } 233 207 void SetHistTitle ( const char *name ) { fHistTitle = name; }
Note:
See TracChangeset
for help on using the changeset viewer.