8 #ifndef _DTAGHHit_factory_Calib_
9 #define _DTAGHHit_factory_Calib_
11 #include <JANA/JFactory.h>
19 const char*
Tag(
void){
return "Calib";}
53 jerror_t
brun(jana::JEventLoop *eventLoop, int32_t runnumber);
54 jerror_t
evnt(jana::JEventLoop *eventLoop, uint64_t eventnumber);
61 #endif // _DTAGHHit_factory_Calib_
static const int k_counter_good
jerror_t evnt(jana::JEventLoop *eventLoop, uint64_t eventnumber)
Called every event.
double fadc_time_offsets[TAGH_MAX_COUNTER+1]
jerror_t brun(jana::JEventLoop *eventLoop, int32_t runnumber)
Called everytime a new run number is detected.
double tdc_twalk_c2[TAGH_MAX_COUNTER+1]
double fadc_gains[TAGH_MAX_COUNTER+1]
double counter_quality[TAGH_MAX_COUNTER+1]
double fadc_pedestals[TAGH_MAX_COUNTER+1]
static const int k_counter_bad
jerror_t fini(void)
Called after last event of last event source has been processed.
double tdc_twalk_c0[TAGH_MAX_COUNTER+1]
double tdc_twalk_c3[TAGH_MAX_COUNTER+1]
bool load_ccdb_constants(std::string table_name, std::string column_name, double table[TAGH_MAX_COUNTER+1])
double tdc_twalk_c1[TAGH_MAX_COUNTER+1]
static const int k_counter_dead
double DELTA_T_ADC_TDC_MAX
jerror_t erun(void)
Called everytime run number changes, provided brun has been called.
static const int k_counter_noisy
double tdc_time_offsets[TAGH_MAX_COUNTER+1]
~DTAGHHit_factory_Calib()
jerror_t init(void)
Called once at program start.