Changeset 5854 for trunk/MagicSoft/Mars/mcalib/MCalibrateData.h
- Timestamp:
- 01/16/05 12:48:33 (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mcalib/MCalibrateData.h
r5853 r5854 21 21 #endif 22 22 23 #ifndef MARS_MArrayF 24 #include "MArrayF.h" 25 #endif 26 23 27 class MGeomCam; 24 28 class MBadPixelsCam; … … 34 38 { 35 39 private: 40 36 41 MGeomCam *fGeomCam; //! Camera geometry container 37 42 MBadPixelsCam *fBadPixels; //! Bad Pixels information … … 51 56 TList fPedPhotCams; //! List of pointers to corresponding output MPedPhotCam 52 57 53 Int_t Calibrate(Bool_t data, Bool_t pedestal) const; 58 MArrayF fCalibConsts; //! Array of calibration constants for each pixel, calculated only once! 59 MArrayF fCalibFFactors; //! Array of calibration F-Factors for each pixel, calculated only once! 60 MArrayF fHiLoConv; //! Array of calibration constants for each pixel, calculated only once! 61 MArrayF fHiLoConvErr; //! Array of calibration F-Factors for each pixel, calculated only once! 54 62 55 Bool_t GetConversionFactor(UInt_t, Float_t &, Float_t &, Float_t &, Float_t &, Float_t &) const;63 Int_t Calibrate(Bool_t data, Bool_t pedestal) const; 56 64 57 65 Int_t PreProcess(MParList *pList); … … 93 101 const char *name=NULL, const char *title=NULL); 94 102 103 void AddPedestal(const char *name="Cam"); 104 void AddPedestal(const char *pedestal, const char *pedphot); 105 95 106 void EnablePedestalType(PedestalType_t i) { fPedestalFlag |= i; } 96 107 void SetPedestalFlag(PedestalType_t i=kRun) { fPedestalFlag = i; } … … 100 111 void SetSignalType ( SignalType_t sigtype=kPhot ) { fSignalType =sigtype; } 101 112 102 void AddPedestal(const char *name="Cam"); 103 void AddPedestal(const char *pedestal, const char *pedphot); 104 113 Bool_t UpdateConversionFactors(); 114 105 115 ClassDef(MCalibrateData, 1) // Task to calibrate FADC counts into Cherenkov photons 106 116 };
Note:
See TracChangeset
for help on using the changeset viewer.