Jpp  15.0.5
the software that should make you happy
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
Classes | Typedefs | Functions
MONITORL1DT Namespace Reference

Classes

class  JElement
 Data structure for hit time and DOM identifier. More...
 
struct  JHistogram
 Auxiliary data structure for histogram management. More...
 

Typedefs

typedef JCombinatorics::pair_type pair_type
 

Functions

bool operator< (const JElement &first, const JElement &second)
 Sort JElement in time. More...
 
bool comparepair (const pair_type &A, const pair_type &B)
 

Typedef Documentation

Definition at line 101 of file JMonitorL1dt.cc.

Function Documentation

bool MONITORL1DT::operator< ( const JElement first,
const JElement second 
)
inline

Sort JElement in time.

Parameters
firstfirst element
secondsecond element
Returns
true if second later than first; else false

Definition at line 62 of file JMonitorL1dt.cc.

63  {
64  return first.t < second.t;
65  }
bool MONITORL1DT::comparepair ( const pair_type A,
const pair_type B 
)
inline

Definition at line 102 of file JMonitorL1dt.cc.

102  {
103  return( abs(A.first - A.second) > abs(B.first - B.second) ) ;
104  }