Changeset 4974 for trunk/MagicSoft/Mars/mhcalib/MHCalibrationCam.h
- Timestamp:
- 09/13/04 13:14:17 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhcalib/MHCalibrationCam.h
r4969 r4974 90 90 Int_t fPulserFrequency; // Light pulser frequency 91 91 92 enum { kDebug, kLoGain, kOscillations }; // Possible flags 92 enum { kDebug, kLoGain, kAverageing, 93 kOscillations, kSizeCheck }; // Possible flags 93 94 94 95 Byte_t fFlags; // Bit-field to hold the flags … … 132 133 void InitHists ( MHCalibrationPix &hist, MBadPixelsPix &bad, const Int_t i); 133 134 134 Bool_t IsDebug () const { return TESTBIT(fFlags,kDebug); } 135 Bool_t IsAverageing () const { return TESTBIT(fFlags,kAverageing); } 136 Bool_t IsDebug () const { return TESTBIT(fFlags,kDebug); } 137 Bool_t IsLoGain () const { return TESTBIT(fFlags,kLoGain); } 135 138 Bool_t IsOscillations() const { return TESTBIT(fFlags,kOscillations); } 136 Bool_t Is LoGain () const { return TESTBIT(fFlags,kLoGain);}139 Bool_t IsSizeCheck () const { return TESTBIT(fFlags,kSizeCheck); } 137 140 138 141 Int_t ReadEnv ( const TEnv &env, TString prefix, Bool_t print); … … 156 159 void Draw(const Option_t *opt); 157 160 158 Bool_t GetPixelContent ( Double_t &val, Int_t idx, const MGeomCam &cam, Int_t type=0) const ;159 void DrawPixelContent( Int_t num ) const ;161 Bool_t GetPixelContent ( Double_t &val, Int_t idx, const MGeomCam &cam, Int_t type=0) const { return kTRUE; } 162 void DrawPixelContent( Int_t num ) const {} 160 163 161 164 const Int_t GetAverageAreas () const; … … 181 184 182 185 void SetColor ( const MCalibrationCam::PulserColor_t color) { fColor = color; } 186 void SetAverageing ( const Bool_t b=kTRUE ) { b 187 ? SETBIT(fFlags,kAverageing) 188 : CLRBIT(fFlags,kAverageing); } 183 189 void SetDebug ( const Bool_t b=kTRUE ) { b 184 190 ? SETBIT(fFlags,kDebug) … … 190 196 ? SETBIT(fFlags,kOscillations) 191 197 : CLRBIT(fFlags,kOscillations); } 198 void SetSizeCheck ( const Bool_t b=kTRUE ) { b 199 ? SETBIT(fFlags,kSizeCheck) 200 : CLRBIT(fFlags,kSizeCheck); } 192 201 void SetHistName ( const char *name ) { fHistName = name; } 193 202 void SetHistTitle ( const char *name ) { fHistTitle = name; }
Note:
See TracChangeset
for help on using the changeset viewer.