CalibCo60 is a service class in order to find calibration coefficients for a TH1 espacially with Co60 source In constructors, the raw histogram must be given and will not be changed. More...
#include <CalibCo60.h>
Public Member Functions | |
void | AddPoint (const Double_t channel, const Double_t energy) |
void | AlignMax (TH1 *histo, TF1 *function, const Double_t AlignValue, const Bool_t invert=false, const Double_t xmin=0, const Double_t xmax=0) |
Perform alignment of the maximum of a TH1 on a value. More... | |
void | AlignMax (TH1 *histo, TF1 *function, const Double_t AlignValue, const Double_t ProportionalCoef, const Bool_t invert=false, const Double_t xmin=0, const Double_t xmax=0) |
Perform alignment of the maximum of a TH1 on a AlignValue with a coefficient of proportionality. More... | |
CalibCo60 () | |
void | Calibrate (const TH1 *histo, TF1 *function, Double_t channel1, Double_t channel2, Option_t *AxisOption="x") |
Perform the calibration "by hand". More... | |
void | Calibrate (const TH1 *histo, TF1 *function, Option_t *AxisOption="x", Double_t sigma=2, Option_t *SearOption="", Double_t threshold=0.05) |
Perform the calibration "auto". More... | |
void | Calibrate (TF1 *function) const |
void | Calibrate (const char *filename, TF1 *function) |
void | Calibrate (TF1 *function, const Int_t nbpoints, const Double_t *raw, const Double_t *tabulated) |
void | Calibrate (Int_t dimension) |
void | DrawResults (const TF1 *function) const |
Double_t | GetChannel (const Int_t index) const |
Double_t | GetEnergy (const Int_t index) const |
void | SetChannel (const Int_t index, const Double_t channel) |
void | SetEnergy (const Int_t index, const Double_t energy) |
Get/Set energy/channel. More... | |
void | SetPoint (const Int_t index, const Double_t channel, const Double_t energy) |
virtual | ~CalibCo60 () |
Static Public Member Functions | |
static void | CheckCalibration (TH1 *histo, const Double_t value, Double_t xmin=-1111, Double_t xmax=-1111, const Int_t color=2) |
static void | CheckCalibration (TH1 *histo, const Int_t nbvalue, const Double_t *values, Double_t xmin=-1111, Double_t xmax=-1111, const Int_t color=2) |
static void | CheckCalibration (TH1 *histo, const char *SourceName, Double_t xmin=-1111, Double_t xmax=-1111, const Int_t color=2) |
Protected Member Functions | |
ClassDef (CalibCo60, 0) | |
rootcint dictionary More... | |
ClassDef (BaseCalib, 0) | |
rootcint dictionary More... | |
Protected Attributes | |
H1Calibrator | fCalibrator |
TArrayD | fRaw |
TArrayD | fTabulated |
CalibCo60 is a service class in order to find calibration coefficients for a TH1 espacially with Co60 source In constructors, the raw histogram must be given and will not be changed.
Definition at line 53 of file CalibCo60.h.