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);
 
double getT() const 
Get calibrated time of hit. 
 
JHitR1(const JDAQModuleIdentifier &id, const JPosition3D &pos)
Constructor. 
 
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] 
 
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. 
 
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-ver-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