Changeset 3061 for trunk/MagicSoft/Mars/mcalib/MHCalibrationBlindPixel.h
- Timestamp:
- 02/08/04 22:17:27 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mcalib/MHCalibrationBlindPixel.h
r2997 r3061 6 6 #endif 7 7 8 class TArrayF; 8 9 class TH1F; 9 10 class TH1I; … … 19 20 static const Int_t fgBlindPixelChargeNbins; 20 21 static const Int_t fgBlindPixelTimeNbins; 21 static const Int_t fgBlindPixelChargevsNbins;22 22 static const Axis_t fgBlindPixelTimeFirst; 23 23 static const Axis_t fgBlindPixelTimeLast; 24 24 static const Double_t fgBlindPixelElectronicAmp; 25 25 static const Double_t fgBlindPixelElectronicAmpError; 26 27 static const Axis_t fNyquistFreq; 28 static const Axis_t fMinFreq; 29 static const Int_t fPSDNbins; 26 30 27 31 TH1F* fHBlindPixelCharge; // Histogram with the single Phe spectrum 28 32 TH1F* fHBlindPixelTime; // Variance of summed FADC slices 29 TH1I* fHBlindPixelChargevsN; // Summed Charge vs. Event Nr.30 33 TH1F* fHBlindPixelPSD; // Power spectrum density of fHBlindPixelChargevsN 31 34 … … 34 37 TF1 *fSinglePhePedFit; 35 38 39 TArrayF* fPSDHiGain; //-> Power spectrum density of fHiGains 40 TArrayF* fPSDLoGain; //-> Power spectrum density of fLoGains 41 42 TH1F* fHPSD; //-> 43 TF1* fPSDExpFit; //-> 44 45 TArrayF *fHiGains; //-> 46 TArrayF *fLoGains; //-> 47 TArrayF *fChargeXaxis; // 48 TArrayF *fPSDXaxis; // 49 50 Float_t fPSDProb; 51 52 Int_t fTotalEntries; // Number of entries 53 Int_t fCurrentSize; 54 36 55 Axis_t fBlindPixelChargefirst; 37 56 Axis_t fBlindPixelChargelast; 38 57 39 58 void DrawLegend(); 59 void CreateChargeXaxis(Int_t n); 60 void CreatePSDXaxis(Int_t n); 61 void CutArrayBorder(TArrayF *array); 40 62 41 63 TPaveText *fFitLegend; 42 Bool_t fFitOK;43 64 44 65 Double_t fLambda; … … 70 91 Double_t fSigmaPedestal; 71 92 Double_t fSigmaPedestalErr; 93 94 Byte_t fFlags; 95 96 enum { kFitOK, kOscillating }; 97 72 98 73 99 public: … … 81 107 Bool_t FillBlindPixelCharge(Float_t q); 82 108 Bool_t FillBlindPixelTime(Float_t t); 83 Bool_t Fill BlindPixelChargevsN(Stat_t rq, Int_t t);109 Bool_t FillGraphs(Float_t qhi, Float_t qlo); 84 110 85 111 // Setters … … 113 139 const Double_t GetSigmaTimeErr() const { return fSigmaTimeErr; } 114 140 115 const Bool_t IsFitOK() const { return fFitOK; }116 117 const TH1I *GetHBlindPixelChargevsN() const { return fHBlindPixelChargevsN; }141 const Bool_t IsFitOK() const; 142 const Bool_t IsOscillating(); 143 118 144 const TH1F *GetHBlindPixelPSD() const { return fHBlindPixelPSD; } 119 145 … … 122 148 void Draw(Option_t *option=""); 123 149 150 124 151 // Fits 125 152 enum FitFunc_t { kEPoisson4, kEPoisson5, kEPoisson6, kEPoisson7, kEPolya, kEMichele }; … … 140 167 // Others 141 168 void CutAllEdges(); 142 169 Bool_t CheckOscillations(); 170 171 143 172 private: 144 173
Note:
See TracChangeset
for help on using the changeset viewer.