62 double dt[56][385] = {{0.}};
64 double dtb[300] = {0.};
Class for T0 Correction .
void setMinimumNDF(double minndf)
minimum ndf require for track.
void setMinimumPval(double minPval)
minimum pvalue requirement.
double m_xmin
minimum drift length
std::string m_outputT0FileName
output t0 file name for text file
double dtb[300]
dt of each board
std::string m_inputRootFileName
input file names
TH1F * m_hTotal
1D histogram of delta T whole channel
double dt[56][385]
dt of each channel
bool m_storeHisto
store histo or not
double m_ndfmin
minimum ndf required
void execute()
run t0 correction.
T0Correction()
Constructor.
int m_lastExperiment
Last experiment.
virtual void Write()
write outut or store db
virtual void setUseDB(bool useDB=false)
use DB or text mode.
virtual ~T0Correction()
Destructor.
virtual void storeHisto(bool storeHist=false)
store Hisotgram or not.
virtual bool calibrate()
Run algo on data.
virtual void CreateHisto()
create histo for each channel
TH1F * m_h1[56][385]
1D histogram for each channel
double err_dt[56][385]
error of dt of each channel
int m_firstExperiment
First experiment.
TH1F * m_hT0b[300]
1D histogram for each board
double m_Pvalmin
minimum pvalue required
virtual void setDebug(bool debug=false)
turn on/off debug.
void outputFileName(std::string outputname)
output xt T0 file name (for text mode)
bool m_useDB
use DB or text mode
void inputFileNames(std::string inputname)
input root file name.
double err_dtb[300]
error of dt of board
Abstract base class for different kinds of events.