8 #ifndef _DBCALTDCHit_factory_
9 #define _DBCALTDCHit_factory_
11 #include <JANA/JFactory.h>
48 const int in_module,
const int in_layer,
49 const int in_sector,
const int in_end)
const;
61 jerror_t
brun(jana::JEventLoop *eventLoop, int32_t runnumber);
62 jerror_t
evnt(jana::JEventLoop *eventLoop, uint64_t eventnumber);
67 const vector<double> &raw_table);
69 const vector<double> &raw_table);
72 #endif // _DBCALTDCHit_factory_
static const int BCAL_MAX_TDC_CHANNELS
jerror_t init(void)
Called once at program start.
static const int BCAL_MAX_CHANNELS
void FillCalibTable(bcal_digi_constants_t &table, const vector< double > &raw_table)
void FillCalibTableShort(bcal_digi_constants_t &table, const vector< double > &raw_table)
bcal_digi_constants_t time_offsets
jerror_t erun(void)
Called everytime run number changes, provided brun has been called.
bcal_digi_constants_t tdiff_u_d
jerror_t brun(jana::JEventLoop *eventLoop, int32_t runnumber)
Called everytime a new run number is detected.
bcal_digi_constants_t channel_global_offset
jerror_t evnt(jana::JEventLoop *eventLoop, uint64_t eventnumber)
Called every event.
pair< double, double > cell_calib_t
const int GetCalibIndex(int module, int layer, int sector) const
static const int BCAL_NUM_SECTORS
const double GetConstant(const bcal_digi_constants_t &the_table, const int in_module, const int in_layer, const int in_sector, const int in_end) const
vector< cell_calib_t > bcal_digi_constants_t
static const int BCAL_NUM_MODULES
jerror_t fini(void)
Called after last event of last event source has been processed.
static const int BCAL_NUM_LAYERS
static const int BCAL_NUM_TDC_LAYERS