1 #ifndef __JAANET__JHIT_T__ 
    2 #define __JAANET__JHIT_T__ 
   15 namespace JPP { 
using namespace JAANET; }
 
   55     operator const Hit& () 
const 
   61       hit.type   = this->
type;
 
   64       hit.pure_a = this->
npe;
 
   95       return first.
t      < second.
t;
 
  119       if (!this->empty()) {
 
  121         sort(this->begin(), this->end());
 
  128         while (++in != this->end()) {
 
  130           if (out->pmt_id == in->pmt_id && in->t - out->t <= Tmax_ns) {
 
  146         this->erase(++out, this->end());          
 
Auxiliary class to set-up Hit. 
 
bool operator<(const Head &first, const Head &second)
Less than operator. 
 
void merge(const double Tmax_ns)
Merge hits on same PMT that are within given time window. 
 
JHit_t(const int id, const int pmt_id, const int type, const int origin, const double t, const int npe)
Constructor. 
 
Auxiliary data structure for list of hits with hit merging capability.