23 #ifndef GW_H1CALIBRATOR_H
24 #define GW_H1CALIBRATOR_H
63 void Calibrate(
const TH1*,
const TF1*,
const Option_t *AxisOption=
"x");
68 void Calibrate(
const TH2*,
const TF1*,
const TF1*);
72 void Calibrate(
const TH3*,
const TF1*,
const TF1*,
const TF1*);
73 void Calibrate(
const TH3*,
const TF1*,
const TF1*,
const Option_t *AxisOption=
"xy");
77 void Calibrate(
const TH1*,
const Double_t a,
const Double_t
b,
const Option_t *AxisOption=
"x");
78 void Calibrate(
const TH1*,
const Double_t a,
const Double_t b,
const Double_t c,
const Option_t *AxisOption=
"x");
83 void Calibrate(
const TH2*,
const Double_t ax,
const Double_t bx,
const Double_t cx,
85 const Double_t ay,
const Double_t by,
const Double_t cy);
87 void Calibrate(
const TH2*,
const Double_t ax,
const Double_t bx,
88 const Double_t ay,
const Double_t by);
90 void Calibrate(
const TH3*,
const Double_t ax,
const Double_t bx,
const Double_t cx,
const Double_t ay,
91 const Double_t by,
const Double_t cy,
const Double_t az,
const Double_t bz,
const Double_t cz);
93 void Calibrate(
const TH3*,
const Double_t ax,
const Double_t bx,
const Double_t ay,
94 const Double_t by,
const Double_t az,
const Double_t bz);
97 void Calibrate(
const TH3*,
const Double_t a1,
const Double_t b1,
const Double_t c1,
const Double_t a2,
98 const Double_t b2,
const Double_t c2,
const Option_t *AxisOption);
101 void Calibrate(
const TH3*,
const Double_t a1,
const Double_t b1,
const Double_t a2,
102 const Double_t b2,
const Option_t *AxisOption);
108 void DrawResult(
const Option_t *opt=
"")
const ;
117 void Set(
const TH1 *);
118 void CalibOneAxis(
const TF1 *,
const Option_t *);
119 void CalibOneAxis(
const Double_t,
const Double_t,
const Option_t *);
120 void CalibOneAxis(
const Double_t,
const Double_t,
const Double_t,
const Option_t *);
void Calibrate(const TH1 *, const TF1 *, const Option_t *AxisOption="x")
void DrawResult(const Option_t *opt="") const
draw the calibrated histogram in the current pad with same range of the raw histogram ...
TH1 * GetHistoCal() const
return the calibrated histogram
H1Calibrator is a service class in order to calibrate a TH1 The raw histogram must never be changed T...