 |
Belle II Software
release-05-01-25
|
12 #include <framework/core/Module.h>
26 class CDCInitialT0DeterminationModule :
public Module {
48 void event()
override;
56 TH1D*
m_hTDC[56][400] = {{
nullptr}};
59 double m_t0b[300] = {0};
60 double m_t0[56][400] = {{0}};
61 bool m_flag[56][400] = {{
false}} ;
void initialize() override
Initializes the Module.
TH1D * m_hTDCBoard[300]
T0 distribution of each board.
bool m_cosmic
for cosmic case, tof of upper sector will be negative
virtual ~CDCInitialT0DeterminationModule()
Destructor.
unsigned short m_tdcMax
Upper boundary TDC histogram.
unsigned short m_tdcMin
Lower boundary TDC histogram.
unsigned short m_minEntries
min entries per histo.
TH1D * m_hTDC[56][400]
TDC distribution histo.
CDCInitialT0DeterminationModule()
Constructor.
bool m_storeFittedHisto
Store fitted histogram or not.
void terminate() override
Termination action, fit t0 and store histograms.
bool m_flag[56][400]
flag =1 for good, =0 for low statistic or bad fit
TH1D * m_hT0All
T0 distribution of all channel.
double m_initT0
initial t0, use int fitting
void event() override
Event action (main routine).
std::string m_outputFileName
output file name of t0 file.
Abstract base class for different kinds of events.
std::string m_histoFileName
output file to store TDC histo after fit
unsigned short m_adcMin
ADC cut to reject noise.
double m_t0b[300]
T0 for each board.
double m_zOffset
z offset for calculate prop time, it is position of trigger counter,
double m_t0[56][400]
T0 of each channel.