1 #ifndef _DBCALUnifiedHit_factory_
2 #define _DBCALUnifiedHit_factory_
4 #include <JANA/JFactory.h>
5 #include <JANA/JEventLoop.h>
24 gPARMS->SetDefaultParameter(
"BCALUNIFIEDHIT:VERBOSE",
VERBOSE,
"Set level of verbosity.");
35 vector<const DBCALHit*>
hits;
40 jerror_t brun(jana::JEventLoop *eventLoop, int32_t runnumber);
41 jerror_t evnt(JEventLoop *loop, uint64_t eventnumber);
58 cellId(cellId), end(end) {}
64 if (cellId<c.
cellId)
return true;
65 if (cellId>c.
cellId)
return false;
88 thresh(0),
c0(0),
c1(0),
c2(0),
c3(0) {}
90 thresh(thresh), c0(c0), c1(c1), c2(c2), c3(c3) {}
99 static const int enable_debug_output = 0;
102 #endif //_DBCALUnifiedHit_factory_
const DBCALGeometry * dBCALGeom
~DBCALUnifiedHit_factory()
map< readout_channel, timewalk_coefficients_c4 > tdc_timewalk_map_c4
bool operator<(const readout_channel &c) const
float t_adc_corrected_tree
timewalk_coefficients_c4(float c0, float c1, float c2, float c3, float thresh)
DBCALUnifiedHit_factory()
readout_channel(int cellId, DBCALGeometry::End end)
vector< const DBCALHit * > hits
float t_tdc_corrected_tree
vector< const DBCALTDCHit * > tdc_hits
timewalk_coefficients_c4()