1 #ifndef __JTRIGGER__JHITR1__
2 #define __JTRIGGER__JHITR1__
19 namespace JPP {
using namespace JTRIGGER; }
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);
203 static const struct {
214 return first.
getT() < second.
getT();
double getT() const
Get calibrated time of hit.
JHitR1(const JDAQModuleIdentifier &id, const JPosition3D &pos)
Constructor.
int getModuleID() const
Get module identifier.
JHitR1(const JHitL0 &hit, const double weight=1.0)
Constructor.
Data structure for L1 hit.
JHitR1()
Default constructor.
Basic data structure for time and time over threshold information of hit.
double t
time of leading edge [ns]
then echo The file $DIR KM3NeT_00000001_00000000 root already please rename or remove it first
Basic data structure for L0 hit.
double getToT() const
Get calibrated time over threshold of hit.
JHitR1(const JHitL1 &hit)
Constructor.
void set(const JHit &hit, const double weight=1.0)
Set hit.
const JHit & getHit() const
Get hit.
JDAQPMTIdentifier getPMTIdentifier() const
Get PMT identifier.
const JPosition3D & getPosition() const
Get position.
JHitR1 & add(const JHit &hit, const double weight=1.0)
Add hit.
Data structure for L0 hit.
static struct JTRIGGER::JHitR1::@86 compare
Auxiliary data structure for sorting of hits.
Reduced data structure for L1 hit.
double getW() const
Get weight.
Data structure for position in three dimensions.
int getN() const
Get count.
const JDAQModuleIdentifier & getModuleIdentifier() const
Get Module identifier.
double tot
time-over-threshold [ns]
JHitR1(const JDAQModuleIdentifier &id, const JPosition3D &pos, const JHit &hit, const double weight=1.0)
Constructor.
Basic data structure for L1 hit.
std::vector< double > weight