Go to the documentation of this file. 1 #ifndef __JTRIGGER__JHITTOOLKIT__
2 #define __JTRIGGER__JHITTOOLKIT__
59 template<class JHit_t, bool isPrimitive = JLANG::JClass<JHit_t>::is_primitive>
136 return JHit(std::numeric_limits<double>::max());
149 return getT(second) - getT(first);
162 return getT(first) < getT(second);
247 template<
class JHit_t>
317 return std::numeric_limits<JHit_t>::max();
330 return second - first;
343 return first < second;
double getTime(const JDAQHit &hit, const JCalibration &cal)
Get calibrated time of DAQ hit.
Auxiliary class to set-up Hit.
JPMT_t getPMT() const
Get PMT.
JHitL0 getHit(const Hit &hit)
Get transformation.
Data structure for PMT calibration.
double getT() const
Get calibrated time of hit.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
Reduced data structure for L0 hit.
JTDC_t getT() const
Get time.
JTOT_t getToT() const
Get time-over-threshold.
double getToT(const JDAQHit &hit, const JCalibration &cal)
Get calibrated time-over-threshold of DAQ hit.
void join(const JHit &hit)
Join hit.
double getToT() const
Get calibrated time over threshold of hit.