- Timestamp:
- 08/12/04 12:03:53 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mcalib/MCalibrateData.h
r4592 r4593 49 49 UShort_t fCalibrationMode; 50 50 Float_t fConversionHiLo; 51 Int_t fFlags;// Flags defining to calibrate the pedestal each event or each run51 Byte_t fPedestalFlag; // Flags defining to calibrate the pedestal each event or each run 52 52 53 53 TString fNamePedADCRunContainer; // name of fPedestal … … 85 85 const char *name=NULL, const char *title=NULL); 86 86 87 void DisablePedestalType( PedestalType_t i ) { f Flags&= ~i; }88 void EnablePedestalType ( PedestalType_t i ) { f Flags|= i; }89 void SetPedestalType ( PedestalType_t i=kRun ) { f Flags= i; }90 Bool_t TestFlag ( PedestalType_t i ) const { return f Flags& i; }87 void DisablePedestalType( PedestalType_t i ) { fPedestalFlag &= ~i; } 88 void EnablePedestalType ( PedestalType_t i ) { fPedestalFlag |= i; } 89 void SetPedestalType ( PedestalType_t i=kRun ) { fPedestalFlag = i; } 90 Bool_t TestFlag ( PedestalType_t i ) const { return fPedestalFlag & i; } 91 91 92 92 void SetCalibrationMode ( CalibrationMode_t calmode=kDefault ) { fCalibrationMode=calmode; }
Note:
See TracChangeset
for help on using the changeset viewer.