8 #ifndef _DPSCHit_factory_
9 #define _DPSCHit_factory_
14 #include <JANA/JFactory.h>
54 const int GetModule(
const int counter_id,
const int num_counters_per_arm)
const;
69 jerror_t
brun(jana::JEventLoop *eventLoop, int32_t runnumber);
70 jerror_t
evnt(jana::JEventLoop *eventLoop, uint64_t eventnumber);
80 #endif // _DPSCHit_factory_
vector< pair< double, double > > psc_digi_constants_t
jerror_t init(void)
Called once at program start.
double DELTA_T_ADC_TDC_MAX
const int GetModule(const int counter_id, const int num_counters_per_arm) const
psc_digi_constants_t adc_pedestals
jerror_t evnt(jana::JEventLoop *eventLoop, uint64_t eventnumber)
Called every event.
jerror_t brun(jana::JEventLoop *eventLoop, int32_t runnumber)
Called everytime a new run number is detected.
void FillCalibTable(psc_digi_constants_t &table, vector< double > &raw_table, const DPSGeometry &tofGeom)
psc_digi_constants_t tdc_time_offsets
const DPSGeometry::Arm GetArm(const int counter_id, const int num_counters_per_arm) const
jerror_t fini(void)
Called after last event of last event source has been processed.
DPSCHit * FindMatch(DPSGeometry::Arm arm, int module, double T)
psc_digi_constants_t adc_time_offsets
jerror_t erun(void)
Called everytime run number changes, provided brun has been called.
psc_digi_constants_t adc_gains
vector< vector< double > > tw_parameters
const double GetConstant(const psc_digi_constants_t &the_table, const DPSGeometry::Arm in_arm, const int in_module, const DPSGeometry &psGeom) const