Changeset 2932 for trunk/MagicSoft/Mars/mcalib/MHCalibrationPixel.h
- Timestamp:
- 01/27/04 20:39:14 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mcalib/MHCalibrationPixel.h
r2931 r2932 4 4 #ifndef MARS_MH 5 5 #include "MH.h" 6 #endif 7 8 #ifndef MARS_MFFT 9 #include "MFFT.h" 6 10 #endif 7 11 … … 12 16 class TProfile; 13 17 class TPaveText; 18 class MFFT; 14 19 15 20 class MHCalibrationPixel : public MH … … 23 28 TArrayF *fLoGains; //-> 24 29 30 const Int_t fChargeNbinsHiGain; 31 const Int_t fChargeNbinsLoGain; 32 const Int_t fTimeNbins; 33 const Int_t fChargevsNbins; 34 35 const Axis_t fTimeFirst; 36 const Axis_t fTimeLast; 37 38 TProfile* fHivsLoGain; 39 40 Double_t fOffset; 41 Double_t fSlope; 42 25 43 protected: 26 27 Int_t fTotalEntries; // Number of entries28 44 29 45 TH1F* fHChargeHiGain; // Summed FADC slices High Gain … … 35 51 TH1I* fHChargevsNLoGain; // Summed Charge vs. Event Nr. 36 52 53 TH1F* fHPSD; // Power spectrum density of fHBlindPixelChargevsN 54 37 55 TF1* fChargeGausFit; 38 56 TF1* fTimeGausFit; 39 57 40 TProfile* fHivsLoGain;41 42 58 TPaveText *fFitLegend; 43 59 60 Int_t fTotalEntries; // Number of entries 61 44 62 Axis_t fChargeFirstHiGain; 45 63 Axis_t fChargeLastHiGain; 46 Int_t fChargeNbinsHiGain;47 48 64 Axis_t fChargeFirstLoGain; 49 65 Axis_t fChargeLastLoGain; 50 Int_t fChargeNbinsLoGain;51 66 52 67 Double_t fChargeChisquare; … … 75 90 enum { kUseLoGain, kFitOK }; 76 91 77 Double_t fOffset;78 Double_t fSlope;79 80 92 virtual void DrawLegend(); 81 93 … … 84 96 MHCalibrationPixel(const char *name=NULL, const char *title=NULL); 85 97 ~MHCalibrationPixel(); 98 99 void Clear(Option_t *o=""); 100 void Reset(); 86 101 87 102 void ChangeHistId(Int_t i); … … 97 112 98 113 // Getters 99 const TH1F *GetHCharge() { return fHChargeHiGain; }100 114 const TH1F *GetHCharge() const { return fHChargeHiGain; } 101 115 … … 167 181 // Others 168 182 virtual void CutAllEdges(); 169 virtual void Reset();170 183 171 ClassDef(MHCalibrationPixel, 1) // Histograms for each calibrated pixel184 ClassDef(MHCalibrationPixel, 0) // Histograms for each calibrated pixel 172 185 }; 173 186
Note:
See TracChangeset
for help on using the changeset viewer.