Belle II Software  release-08-01-10
T0Correction Class Reference

Class for T0 Correction . More...

#include <T0Correction.h>

Collaboration diagram for T0Correction:

Public Member Functions

 T0Correction ()
 Constructor.
 
virtual ~T0Correction ()
 Destructor.
 
virtual void setDebug (bool debug=false)
 turn on/off debug.
 
virtual void setUseDB (bool useDB=false)
 use DB or text mode.
 
virtual void storeHisto (bool storeHist=false)
 store Hisotgram or not.
 
void setMinimumNDF (double minndf)
 minimum ndf require for track.
 
void setMinimumPval (double minPval)
 minimum pvalue requirement.
 
void inputFileNames (std::string inputname)
 input root file name.
 
void outputFileName (std::string outputname)
 output xt T0 file name (for text mode)
 
void execute ()
 run t0 correction.
 

Protected Member Functions

virtual bool calibrate ()
 Run algo on data.
 
virtual void CreateHisto ()
 create histo for each channel
 
virtual void Write ()
 write outut or store db
 

Private Attributes

TH1F * m_hTotal
 1D histogram of delta T whole channel
 
TH1F * m_h1 [56][385]
 1D histogram for each channel
 
TH1F * m_hT0b [300]
 1D histogram for each board
 
double m_xmin = 0.07
 minimum drift length
 
double m_ndfmin = 5
 minimum ndf required
 
double m_Pvalmin = 0.
 minimum pvalue required
 
double dt [56][385] = {{0.}}
 dt of each channel
 
double err_dt [56][385] = {{0.}}
 error of dt of each channel
 
double dtb [300] = {0.}
 dt of each board
 
double err_dtb [300] = {0.}
 error of dt of board
 
bool m_debug
 debug.
 
bool m_storeHisto
 store histo or not
 
bool m_useDB
 use DB or text mode
 
std::string m_outputT0FileName = "t0_new.dat"
 output t0 file name for text file
 
std::string m_inputRootFileName = "rootfile/output*"
 input file names
 
int m_firstExperiment
 First experiment.
 
int m_firstRun
 First run.
 
int m_lastExperiment
 Last experiment.
 
int m_lastRun
 Last run.
 

Detailed Description

Class for T0 Correction .

Definition at line 21 of file T0Correction.h.


The documentation for this class was generated from the following files: