1 #ifndef _DTPOLHit_factory_
2 #define _DTPOLHit_factory_
4 #include <JANA/JFactory.h>
41 double GetPulseTime(
const vector<uint16_t> waveform,
double w_min,
double w_max,
double minpeakheight);
43 const double GetConstant(
const vector<double> &the_table,
const int in_sector)
const;
47 jerror_t
brun(jana::JEventLoop *eventLoop, int32_t runnumber);
48 jerror_t
evnt(jana::JEventLoop *eventLoop, uint64_t eventnumber);
54 #endif // _DTPOLHit_factory_
int GetSector(int slot, int channel)
const double GetConstant(const vector< double > &the_table, const int in_sector) const
vector< double > adc_time_offsets
DTPOLHit * FindMatch(int sector, double T)
static const double INNER_RADIUS
double GetPhi(int sector)
double GetPulseTime(const vector< uint16_t > waveform, double w_min, double w_max, double minpeakheight)
jerror_t evnt(jana::JEventLoop *eventLoop, uint64_t eventnumber)
static const double SECTOR_DIVISION
static const double RING_DIVISION
static const double OUTER_RADIUS
vector< double > a_pedestals
jerror_t brun(jana::JEventLoop *eventLoop, int32_t runnumber)
static const int NSECTORS