9 #ifndef _DPSHit_factory_
10 #define _DPSHit_factory_
12 #include <JANA/JFactory.h>
49 jerror_t
brun(jana::JEventLoop *eventLoop, int32_t runnumber);
50 jerror_t
evnt(jana::JEventLoop *eventLoop, uint64_t eventnumber);
60 #endif // _DPSHit_factory_
ps_digi_constants_t adc_time_offsets
jerror_t brun(jana::JEventLoop *eventLoop, int32_t runnumber)
Called everytime a new run number is detected.
ps_digi_constants_t adc_gains
jerror_t init(void)
Called once at program start.
ps_digi_constants_t adc_pedestals
vector< vector< double > > ps_digi_constants_t
void FillCalibTable(ps_digi_constants_t &table, string table_name, const DPSGeometry &psGeom)
jerror_t evnt(jana::JEventLoop *eventLoop, uint64_t eventnumber)
Called every event.
const double GetConstant(const ps_digi_constants_t &the_table, const DPSGeometry::Arm in_arm, const int in_column, const DPSGeometry &psGeom) const
jerror_t erun(void)
Called everytime run number changes, provided brun has been called.
jerror_t fini(void)
Called after last event of last event source has been processed.