1 #ifndef __JTRIGGER__JHIT__ 
    2 #define __JTRIGGER__JHIT__ 
   50     JHit(
const double t_ns, 
const double tot_ns) :
 
   78       if (__begin != __end) {
 
   80         double t1 = __begin->getT1();
 
   81         double t2 = __begin->getT2();
 
   83         for (T i = __begin; ++i != __end; ) {
 
   84           if (t1 > i->getT1()) { t1 = i->getT1(); }
 
   85           if (t2 < i->
getT2()) { t2 = i->getT2(); }
 
  101       return static_cast<const JHit&
>(*this);
 
  132     inline operator double()
 const 
  215       static bool slewing = 
true;
 
  233     return first.
getT() < second.
getT();
 
  248     return hit.
getT() < t1;
 
  263     return first.
getT() == second.
getT();
 
  298     for (T hit = __begin; hit !=__end; ++hit) {
 
static bool & get_slewing()
Get reference to slewing parameter.
 
void join(const JHit &hit)
Join hit.
 
double getT1() const
Get leading edge of hit.
 
static bool getSlewing()
Get slewing option.
 
JHit(const double t_ns, const double tot_ns)
Constructor.
 
JHit(T __begin, T __end)
Get combined hit.
 
JHit(const double t_ns)
Constructor.
 
const JHit & getHit() const
Get hit.
 
double getT2() const
Get trailing edge of hit.
 
JHit()
Default constructor.
 
static void setSlewing(const bool slewing)
Set slewing option.
 
double t
time of leading edge [ns]
 
double tot
time-over-threshold [ns]
 
double getToT() const
Get calibrated time over threshold of hit.
 
double getT() const
Get calibrated time of hit.
 
This name space includes all other name spaces (except KM3NETDAQ, KM3NET and ANTARES).
 
Auxiliary classes and methods for triggering.
 
int getCount(T __begin, T __end)
Get hit count.
 
bool operator<(const JHit &hit, const double t1)
Less than operator for hits.
 
static const JGetRiseTime getRiseTime
Function object for rise time evaluation.
 
bool operator==(const JHit &first, const JHit &second)
Equal operator for hits.