1 #ifndef __JTRIGGER__JHITTOOLKIT__
2 #define __JTRIGGER__JHITTOOLKIT__
20 namespace JPP {
using namespace JTRIGGER; }
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);
257 return JDAQHit(0, std::numeric_limits<JDAQHit::JTDC_t>::max(), 0);
270 return getT(second) - getT(first);
283 return getT(first) < getT(second);
368 template<
class JHit_t>
438 return std::numeric_limits<JHit_t>::max();
451 return second -
first;
464 return first < second;
Auxiliary class to set-up Hit.
double getT() const
Get calibrated time of hit.
Basic data structure for L0 hit.
Data structure for PMT calibration.
double getTime(const Hit &hit)
Get true time of hit.
Basic data structure for time and time over threshold information of hit.
JTDC_t getT() const
Get time.
JPMT_t getPMT() const
Get PMT.
then echo The file $DIR KM3NeT_00000001_00000000 root already please rename or remove it first
void join(const JHit &hit)
Join hit.
JTOT_t getToT() const
Get time-over-threshold.
double getToT(const T &tot, const JCalibration &cal)
Get calibrated time-over-threshold of hit.
double getToT() const
Get calibrated time over threshold of hit.
Reduced data structure for L0 hit.
double getToT(const JDAQHit &hit, const JCalibration &cal)
Get calibrated time-over-threshold of DAQ hit.
JHitL0 getHit(const Hit &hit)
Get transformation.
double getTime(const JDAQHit &hit, const JCalibration &cal)
Get calibrated time of DAQ hit.