Go to the documentation of this file. 1 #ifndef __JTRIGGER__JHITR1__
2 #define __JTRIGGER__JHITR1__
76 const double weight = 1.0) :
92 const double weight = 1.0) :
126 const double weight = 1.0)
128 static_cast<JHit&>(*
this) = hit;
149 const double weight = 1.0)
152 double t2 = this->
t + this->
tot;
154 if (t1 > hit.
getT()) { t1 = hit.
getT(); }
162 return static_cast<JHitR1&>(*
this);
int getN() const
Get count.
JHitR1()
Default constructor.
const JHit & getHit() const
Get hit.
JHitR1(const JHitL0 &hit, const double weight=1.0)
Constructor.
JHitR1(const JDAQModuleIdentifier &id, const JPosition3D &pos, const JHit &hit, const double weight=1.0)
Constructor.
JHitR1 & add(const JHit &hit, const double weight=1.0)
Add hit.
void set(const JHit &hit, const double weight=1.0)
Set hit.
double tot
time-ver-threshold [ns]
double getT() const
Get calibrated time of hit.
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
const JDAQModuleIdentifier & getModuleIdentifier() const
Get Module identifier.
Data structure for position in three dimensions.
JHitR1(const JDAQModuleIdentifier &id, const JPosition3D &pos)
Constructor.
JHitR1(const JHitL1 &hit)
Constructor.
Reduced data structure for L1 hit.
const JPosition3D & getPosition() const
Get position.
Data structure for L0 hit.
JDAQPMTIdentifier getPMTIdentifier() const
Get PMT identifier.
double getW() const
Get weight.
double t
time of leading edge [ns]
Data structure for L1 hit.
double getToT() const
Get calibrated time over threshold of hit.