Changeset 3352 for trunk/MagicSoft/Mars/mcalib/MHCalibrationChargeCam.h
- Timestamp:
- 02/28/04 04:19:05 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mcalib/MHCalibrationChargeCam.h
r3283 r3352 14 14 15 15 class MRawEvtData; 16 class MGeomCam; 16 17 class MCalibrationChargeCam; 18 class MCalibrationChargePix; 17 19 class MHCalibrationChargeHiGainPix; 18 20 class MHCalibrationChargeLoGainPix; … … 21 23 private: 22 24 23 static const Float_t fgNumHiGainSaturationLimit; // The default number of fNumHiGainSaturationLimit24 static const Float_t fgNumLoGainSaturationLimit; // The default number of fNumLoGainSaturationLimit25 static const Float_t fgNumHiGainSaturationLimit; // The default number of fNumHiGainSaturationLimit 26 static const Float_t fgNumLoGainSaturationLimit; // The default number of fNumLoGainSaturationLimit 25 27 26 28 Float_t fNumHiGainSaturationLimit; // The rel. number of saturated higain FADC slices in the whole run upon which the pixel is called saturated 27 29 Float_t fNumLoGainSaturationLimit; // The rel. number of saturated logain FADC slices in the whole run upon which the pixel is called saturated 28 30 29 TObjArray *fHiGainArray; //-> Array of MHCalibrationChargePix with hists 30 TObjArray *fLoGainArray; //-> Array of MHCalibrationChargePix with hists 31 32 MCalibrationChargeCam *fCam; //! Class holding the results 33 MRawEvtData *fRawEvt; //! Raw event data (time slices) 31 TObjArray *fHiGainArray; //-> Array of MHCalibrationChargePix with hists 32 TObjArray *fLoGainArray; //-> Array of MHCalibrationChargePix with hists 33 MHCalibrationChargeHiGainPix *fAverageHiGainInnerPix; //-> One MHCalibrationChargeHiGainPix with the average of all inner pixels 34 MHCalibrationChargeLoGainPix *fAverageLoGainInnerPix; //-> One MHCalibrationChargeLoGainPix with the average of all inner pixels 35 MHCalibrationChargeHiGainPix *fAverageHiGainOuterPix; //-> One MHCalibrationChargeHiGainPix with the average of all outer pixels 36 MHCalibrationChargeLoGainPix *fAverageLoGainOuterPix; //-> One MHCalibrationChargeLoGainPix with the average of all outer pixels 34 37 38 MCalibrationChargeCam *fCam; //! Class holding the results 39 MRawEvtData *fRawEvt; //! Raw event data (time slices) 40 MGeomCam *fGeom; //! MAGIC geometry 41 42 void FinalizeHiGainHists(MHCalibrationChargeHiGainPix &hist, MCalibrationChargePix &pix); 43 void FinalizeLoGainHists(MHCalibrationChargeLoGainPix &hist, MCalibrationChargePix &pix); 35 44 36 45 public: … … 42 51 void SetNumLoGainSaturationLimit( const Float_t lim=fgNumLoGainSaturationLimit) { fNumLoGainSaturationLimit = lim; } 43 52 44 Float_t GetNumHiGainSaturationLimit() 45 Float_t GetNumLoGainSaturationLimit() 53 Float_t GetNumHiGainSaturationLimit() const { return fNumHiGainSaturationLimit; } 54 Float_t GetNumLoGainSaturationLimit() const { return fNumLoGainSaturationLimit; } 46 55 47 48 MHCalibrationChargeHiGainPix &operator[](UInt_t i); 49 const MHCalibrationChargeHiGainPix &operator[](UInt_t i) const; 56 MHCalibrationChargeHiGainPix &operator[](UInt_t i); 57 const MHCalibrationChargeHiGainPix &operator[](UInt_t i) const; 50 58 51 MHCalibrationChargeLoGainPix &operator()(UInt_t i); 52 const MHCalibrationChargeLoGainPix &operator()(UInt_t i) const; 59 MHCalibrationChargeLoGainPix &operator()(UInt_t i); 60 const MHCalibrationChargeLoGainPix &operator()(UInt_t i) const; 61 62 MHCalibrationChargeHiGainPix &GetAverageHiGainInnerPix() { return *fAverageHiGainInnerPix; } 63 const MHCalibrationChargeHiGainPix &GetAverageHiGainInnerPix() const { return *fAverageHiGainInnerPix; } 64 65 MHCalibrationChargeLoGainPix &GetAverageLoGainInnerPix() { return *fAverageLoGainInnerPix; } 66 const MHCalibrationChargeLoGainPix &GetAverageLoGainInnerPix() const { return *fAverageLoGainInnerPix; } 67 68 MHCalibrationChargeHiGainPix &GetAverageHiGainOuterPix() { return *fAverageHiGainOuterPix; } 69 const MHCalibrationChargeHiGainPix &GetAverageHiGainOuterPix() const { return *fAverageHiGainOuterPix; } 70 71 MHCalibrationChargeLoGainPix &GetAverageLoGainOuterPix() { return *fAverageLoGainOuterPix; } 72 const MHCalibrationChargeLoGainPix &GetAverageLoGainOuterPix() const { return *fAverageLoGainOuterPix; } 53 73 54 74 Bool_t SetupFill(const MParList *pList); … … 58 78 59 79 TObject *Clone(const char *) const; 80 81 // Draw 82 void Draw(const Option_t *opt); 60 83 61 84 Bool_t GetPixelContent ( Double_t &val, Int_t idx, const MGeomCam &cam, Int_t type=0) const;
Note:
See TracChangeset
for help on using the changeset viewer.