8 #ifndef _JEventProcessor_BCAL_TDC_Timing_
9 #define _JEventProcessor_BCAL_TDC_Timing_
11 #include <JANA/JEventProcessor.h>
19 const char*
className(
void){
return "JEventProcessor_BCAL_TDC_Timing";}
23 jerror_t
brun(jana::JEventLoop *eventLoop, int32_t runnumber);
24 jerror_t
evnt(jana::JEventLoop *eventLoop, uint64_t eventnumber);
37 cellId(cellId), end(end) {}
57 a_thresh(a_thresh), c0(c0), c1(c1), c2(c2) {}
65 #endif // _JEventProcessor_BCAL_TDC_Timing_
JEventProcessor_BCAL_TDC_Timing()
const char * className(void)
bool operator<(const readout_channel &c) const
jerror_t brun(jana::JEventLoop *eventLoop, int32_t runnumber)
Called everytime a new run number is detected.
jerror_t init(void)
Called once at program start.
readout_channel(int cellId, DBCALGeometry::End end)
timewalk_coefficients(float c0, float c1, float c2, float a_thresh)
uint32_t VERBOSEHISTOGRAMS
jerror_t evnt(jana::JEventLoop *eventLoop, uint64_t eventnumber)
Called every event.
jerror_t erun(void)
Called everytime run number changes, provided brun has been called.
~JEventProcessor_BCAL_TDC_Timing()
map< readout_channel, timewalk_coefficients > tdc_timewalk_map
jerror_t fini(void)
Called after last event of last event source has been processed.