GammaWare  Head Version for release 0.9
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
void H1Calibrator::Calibrate ( const TH2 *  histo,
const Double_t  ax,
const Double_t  bx,
const Double_t  cx,
const Double_t  ay,
const Double_t  by,
const Double_t  cy 
)

perform calibration with a 2 order polynome (a + b*i + c*i*i) - for the axis of your choice

opt = "x","y","z", for TH1 (1, 2 or 3 dimensions) opt = "xy" for a TH2 (the axis are calibrated with the same coefficients) opt = "xy","xz","yz" or "xyz" for a TH3 (the axis are calibrated with the same coefficients) perform calibration of a TH2 with 6 coefficients

Definition at line 177 of file H1Calibrator.cpp.