13#ifndef TRGCDCEventTime_FLAG_
14#define TRGCDCEventTime_FLAG_
19#ifdef TRGCDC_SHORT_NAMES
20#define TCEventTime TRGCDCEventTime
50 void doit(
int ver,
bool print);
A class of TRGCDC Event Time.
int m_foundT
Found time of TS.
TRGCDCEventTime & operator=(TRGCDCEventTime &)=delete
assignment operator, deleted
TTree * m_evtOut
TTree pointer of the TFile.
TRGCDCEventTime(TRGCDCEventTime &)=delete
copy constructor, deleted
int m_noET
no ET bin is looped
bool m_makeRootFile
make Root file or not
const TRGCDC & _cdc
TRGCDC class.
TTree * m_evtOutputTs
TTree pointer of the TFile.
int threshold
Threshold value.
int ft[9][64][10]
Fastest time array each SL and clock.
int m_whdiff
Drift time of TS.
int m_fastestT
The fastest time of TS.
TFile * m_fileEvtTime
TFile pointer.
bool m_foundT0
T0 is found or not.
int cnt[9][64]
TS counter for each SL and clock.
int m_minusET
minus ET bin
TH1 * h
TH1 pointer of the TFile.
The instance of TRGCDC is a singleton.
void hist(void)
making hostogram
void doit(int ver, bool print)
Calculate T0 based on ver.
void terminate(void)
terminate function
void initialize(void)
initialize the class
virtual ~TRGCDCEventTime()
destructor of TRGCDCEventTime class
int getT0(void) const
Calculate T0.
void oldVer(void)
old version of calculation function
void printFirm(void)
Print info in firmware level.
void hitcount(void)
hit count of TS
Abstract base class for different kinds of events.