Changeset 2852 for trunk/MagicSoft/Mars/mcalib/MCalibrationCalc.h
- Timestamp:
- 01/19/04 23:02:57 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mcalib/MCalibrationCalc.h
r2760 r2852 14 14 #include "MTask.h" 15 15 #endif 16 17 #ifndef ROOT_TArrayI 18 #include "TArrayI.h" 19 #endif 20 21 #ifndef MARS_MCalibrationCam 22 #include "MCalibrationCam.h" 23 #endif 24 25 #include "TString.h" 16 26 17 27 class MRawEvtData; … … 45 55 Float_t fSqrtHiGainSamples; 46 56 57 Float_t fConversionHiLo; 47 58 Byte_t fFlags; // Flag for the fits used 48 49 Float_t fConversionHiLo; 59 60 TString fExcludedPixelsFile; 61 UInt_t fNumExcludedPixels; 50 62 51 enum { kUseTimeFits, kUseBlindPixelFit, kUsePinDiodeFit };52 53 63 public: 54 64 … … 68 78 MCalibrationCalc(const char *name=NULL, const char *title=NULL); 69 79 70 void SetSkipTimeFits(Bool_t b=kTRUE) 80 81 private: 82 83 enum { kUseTimeFits, kUseBlindPixelFit, kUsePinDiodeFit }; 84 85 public: 86 87 // Skipping fits 88 void SkipTimeFits(Bool_t b=kTRUE) 71 89 {b ? CLRBIT(fFlags, kUseTimeFits) : SETBIT(fFlags, kUseTimeFits);} 72 void S etSkipBlindPixelFit(Bool_t b=kTRUE)90 void SkipBlindPixelFit(Bool_t b=kTRUE) 73 91 {b ? CLRBIT(fFlags, kUseBlindPixelFit) : SETBIT(fFlags, kUseBlindPixelFit);} 74 void S etSkipPinDiodeFit(Bool_t b=kTRUE)92 void SkipPinDiodeFit(Bool_t b=kTRUE) 75 93 {b ? CLRBIT(fFlags, kUsePinDiodeFit) : SETBIT(fFlags, kUsePinDiodeFit);} 76 94 95 // Setters 77 96 void SetPulserColor(PulserColor_t color) { fColor = color; } 97 void SetConversionHiLo(Float_t conv) { fConversionHiLo = conv; } 78 98 79 void SetConversionHiLo(Float_t conv) { fConversionHiLo = conv; } 99 // Getters 100 MCalibrationBlindPix *GetBlindPixel() const { return fCalibrations->GetBlindPixel(); } 101 MCalibrationPINDiode *GetPINDiode() const { return fCalibrations->GetPINDiode(); } 102 103 // Exclude pixels from configuration file 104 void ExcludePixelsFromAsciiFile(const char *file) { fExcludedPixelsFile = file; } 80 105 81 106 ClassDef(MCalibrationCalc, 1) // Task to fill the Calibration Containers from raw data
Note:
See TracChangeset
for help on using the changeset viewer.