10#include <cdc/dataobjects/CDCHit.h>
12#include <framework/core/Module.h>
13#include <framework/datastore/StoreArray.h>
49 void event()
override;
63 double m_t0[56][400] = {{0}};
TH1D * m_hT0All
T0 distribution of all channel.
unsigned short m_tdcMax
Upper boundary TDC histogram.
void initialize() override
Initializes the Module.
TH1D * m_hTDCBoard[300]
T0 distribution of each board.
bool m_storeFittedHisto
Store fitted histogram or not.
void event() override
Event action (main routine).
bool m_flag[56][400]
flag =1 for good, =0 for low statistic or bad fit
bool m_cosmic
for cosmic case, tof of upper sector will be negative
unsigned short m_adcMin
ADC cut to reject noise.
void terminate() override
Termination action, fit t0 and store histograms.
double m_t0[56][400]
T0 of each channel.
CDCInitialT0DeterminationModule()
Constructor.
double m_t0b[300]
T0 for each board.
virtual ~CDCInitialT0DeterminationModule()
Destructor.
unsigned short m_tdcMin
Lower boundary TDC histogram.
double m_zOffset
z offset for calculate prop time, it is position of trigger counter,
double m_initT0
initial t0, use int fitting
std::string m_histoFileName
output file to store TDC histo after fit
unsigned short m_minEntries
min entries per histo.
TH1D * m_hTDC[56][400]
TDC distribution histo.
std::string m_outputFileName
output file name of t0 file.
StoreArray< CDCHit > m_CDCHits
CDC hits.
Accessor to arrays stored in the data store.
Abstract base class for different kinds of events.