Changeset 4592 for trunk/MagicSoft
- Timestamp:
- 08/12/04 11:59:29 (20 years ago)
- Location:
- trunk/MagicSoft/Mars
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/Changelog
r4591 r4592 23 23 24 24 * mcalib/MCalibrateData.[h,cc] 25 - give defaults to the Setter functions 26 - change default calibration mode from blindpixel to ffactor 25 27 - some cosmetic changes 26 - change default calibration mode from blindpixel to ffactor27 28 28 29 29 -
trunk/MagicSoft/Mars/mcalib/MCalibrateData.h
r4589 r4592 71 71 public: 72 72 73 74 73 enum CalibrationMode_t { kNone=0,kFlatCharge=1, 74 kBlindPixel,kFfactor,kPinDiode,kCombined, kDummy }; 75 75 76 static const CalibrationMode_t kDefault = kFfactor; 76 static const CalibrationMode_t kDefault = kFfactor; 77 78 enum PedestalType_t { 79 kNone = BIT(0), 80 kRun = BIT(1), 81 kEvent = BIT(2) 82 }; 83 84 MCalibrateData( CalibrationMode_t calmode=kDefault, 85 const char *name=NULL, const char *title=NULL); 86 87 void DisablePedestalType( PedestalType_t i ) { fFlags &= ~i; } 88 void EnablePedestalType ( PedestalType_t i ) { fFlags |= i; } 89 void SetPedestalType ( PedestalType_t i=kRun ) { fFlags = i; } 90 Bool_t TestFlag ( PedestalType_t i ) const { return fFlags & i; } 91 92 void SetCalibrationMode ( CalibrationMode_t calmode=kDefault ) { fCalibrationMode=calmode; } 93 void SetConversionHiLo ( Float_t conv ) { fConversionHiLo = conv; } 94 95 void SetNamePedADCRunContainer ( const char *name="MPedestalCam" ) { 96 fNamePedADCRunContainer = name; } 97 void SetNamePedADCEventContainer ( const char *name="MPedestalCamFromData" ) { 98 fNamePedADCEventContainer = name; } 99 void SetNamePedPhotRunContainer ( const char *name="MPedPhotCam" ) { 100 fNamePedPhotRunContainer = name; } 101 void SetNamePedPhotEventContainer( const char *name="MPedPhotCamFromData") { 102 fNamePedPhotEventContainer = name; } 103 104 ClassDef(MCalibrateData, 0) // Task to calibrate FADC counts into Cherenkov photons 105 }; 77 106 78 enum PedestalType_t { 79 kRun = BIT(0), 80 kEvent = BIT(1) 81 }; 82 83 MCalibrateData( CalibrationMode_t calmode=kDefault, 84 const char *name=NULL, const char *title=NULL); 85 86 void DisablePedestalType( PedestalType_t i ) { fFlags &= ~i; } 87 void EnablePedestalType ( PedestalType_t i ) { fFlags |= i; } 88 void SetPedestalType ( PedestalType_t i ) { fFlags = i; } 89 Bool_t TestFlag ( PedestalType_t i ) const { return fFlags & i; } 90 91 void SetCalibrationMode ( CalibrationMode_t calmode=kDefault ) { fCalibrationMode=calmode; } 92 void SetConversionHiLo ( Float_t conv ) { fConversionHiLo = conv; } 93 94 void SetNamePedADCRunContainer ( const char *name) { fNamePedADCRunContainer = name; } 95 void SetNamePedADCEventContainer ( const char *name) { fNamePedADCEventContainer = name; } 96 void SetNamePedPhotRunContainer ( const char *name) { fNamePedPhotRunContainer = name; } 97 void SetNamePedPhotEventContainer( const char *name) { fNamePedPhotEventContainer = name; } 98 99 ClassDef(MCalibrateData, 0) // Task to calibrate FADC counts into Cherenkov photons 100 }; 101 102 103 #endif 107 #endif /* MCalibrateData */ 104 108 105 109 … … 108 112 109 113 110 111 112
Note:
See TracChangeset
for help on using the changeset viewer.