Changeset 2627 for trunk/MagicSoft/Mars/mhist/MHCalibrationPixel.h
- Timestamp:
- 12/09/03 18:25:21 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mhist/MHCalibrationPixel.h
r2603 r2627 31 31 protected: 32 32 33 TH1I* fHCharge; //-> Summed FADC slices 34 TH1I* fHTime; //-> Mean arrival time in number of FADC sice 35 TH1I* fHChargevsN; //-> Summed Charge vs. Event Nr. 33 TH1F* fHChargeHiGain; //-> Summed FADC slices 34 TH1I* fHTimeHiGain; //-> Mean arrival time in number of FADC sice 35 TH1I* fHChargevsNHiGain; //-> Summed Charge vs. Event Nr. 36 37 TH1F* fHChargeLoGain; //-> Summed FADC slices 38 TH1I* fHTimeLoGain; //-> Mean arrival time in number of FADC sice 39 TH1I* fHChargevsNLoGain; //-> Summed Charge vs. Event Nr. 36 40 37 41 TF1* fChargeGausFit; … … 41 45 42 46 Axis_t fLowerFitRange; 43 Axis_t fChargeFirst; 44 Axis_t fChargeLast; 45 Int_t fChargeNbins; 47 Axis_t fChargeFirstHiGain; 48 Axis_t fChargeLastHiGain; 49 Int_t fChargeNbinsHiGain; 50 51 Axis_t fChargeFirstLoGain; 52 Axis_t fChargeLastLoGain; 53 Int_t fChargeNbinsLoGain; 46 54 47 55 Bool_t fFitOK; … … 62 70 Double_t fTimeMean; 63 71 Double_t fTimeSigma; 72 73 Bool_t fUseLoGain; 64 74 65 75 virtual void DrawLegend(); … … 75 85 Bool_t Fill(const MParContainer *, const Stat_t w=1) { return kTRUE; } 76 86 77 Bool_t FillCharge (Int_t q) { return fHCharge->Fill(q) > -1; }78 Bool_t FillTime (Int_t t) { return fHTime->Fill(t) > -1; }79 Bool_t FillChargevsN (Float_t q, Int_t n) { return fHChargevsN->Fill(n,q) > -1; }87 Bool_t FillChargeLoGain(Float_t q) { return fHChargeLoGain->Fill(q) > -1; } 88 Bool_t FillTimeLoGain(Int_t t) { return fHTimeLoGain->Fill(t) > -1; } 89 Bool_t FillChargevsNLoGain(Float_t q, Int_t n) { return fHChargevsNLoGain->Fill(n,q) > -1; } 80 90 81 const TH1I *GetHCharge() { return fHCharge; } 82 const TH1I *GetHCharge() const { return fHCharge; } 91 Bool_t FillChargeHiGain(Float_t q) { return fHChargeHiGain->Fill(q) > -1; } 92 Bool_t FillTimeHiGain(Int_t t) { return fHTimeHiGain->Fill(t) > -1; } 93 Bool_t FillChargevsNHiGain(Float_t q, Int_t n) { return fHChargevsNHiGain->Fill(n,q) > -1; } 94 95 void SetUseLoGain() { fUseLoGain = kTRUE; } 96 97 const TH1F *GetHCharge() { return fHChargeHiGain; } 98 const TH1F *GetHCharge() const { return fHChargeHiGain; } 83 99 84 100 const Double_t GetChargeMean() const { return fChargeMean; } … … 100 116 const Int_t GetTimeNdf() const { return fTimeNdf; } 101 117 102 const TH1I *GetHTime() { return fHTime ; }103 const TH1I *GetHTime() const { return fHTime ; }118 const TH1I *GetHTime() { return fHTimeHiGain; } 119 const TH1I *GetHTime() const { return fHTimeHiGain; } 104 120 105 const TH1I *GetHChargevsN() { return fHChargevsN ; }106 const TH1I *GetHChargevsN() const { return fHChargevsN ; }121 const TH1I *GetHChargevsN() { return fHChargevsNHiGain; } 122 const TH1I *GetHChargevsN() const { return fHChargevsNHiGain; } 107 123 108 Bool_t FitCharge(Option_t *option="RQ0"); 109 Bool_t FitTime(Axis_t rmin=0, Axis_t rmax=0, Option_t *option="RQ0"); 124 Bool_t FitChargeHiGain(Option_t *option="RQ0"); 125 Bool_t FitTimeHiGain(Axis_t rmin=0, Axis_t rmax=0, Option_t *option="RQ0"); 126 127 Bool_t FitChargeLoGain(Option_t *option="RQ0"); 128 Bool_t FitTimeLoGain(Axis_t rmin=0, Axis_t rmax=0, Option_t *option="RQ0"); 110 129 111 130 virtual void Draw(Option_t *option="");
Note:
See TracChangeset
for help on using the changeset viewer.