Jpp test-rotations-old
the software that should make you happy
Loading...
Searching...
No Matches
MONITORL1DT Namespace Reference

Classes

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

Functions

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

Function Documentation

◆ operator<()

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 }

◆ comparepair()

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 }