14#ifndef ELECTRONCALIBRATION_H
15#define ELECTRONCALIBRATION_H
32#include "TGraphErrors.h"
38#include "TFitResult.h"
39#include "TFitResultPtr.h"
43static double PI = 3.14159265;
50 ElectronCalibration( TString infile, TString constfile,
int mcFlag,
int type,
int fits,
int docabins,
double upperdoca,
double lowerdoca,
int entabins,
double upperenta,
double lowerenta,
int costhbins );
91 TString m_constfilename;
void fitRunGains(TFile *outfile)
void TwoDCorrection(TFile *outfile)
virtual ~ElectronCalibration()
void plotRunGains(TString filename)
void SaturationCorrection(TFile *oufile)