compareDigits Struct Reference

List of all members.

Public Member Functions

bool operator() (const SimDigit &d1, const SimDigit &d2) const

Detailed Description

Definition at line 14 of file SimDigitList.cxx.


Member Function Documentation

bool compareDigits::operator() ( const SimDigit d1,
const SimDigit d2 
) const [inline]

Definition at line 16 of file SimDigitList.cxx.

References SimDigit::GetErrors(), and SimDigit::GetTime().

00016                                                                 {    
00017 
00018     if(d1.GetErrors())
00019       if(d2.GetErrors()) return (d1.GetTime()<d2.GetTime());
00020       else return false;
00021     
00022     if(d2.GetErrors()) return true;
00023 
00024     return (d1.GetTime()<d2.GetTime());
00025   };


The documentation for this struct was generated from the following file:

Generated on 16 Apr 2018 for loon by  doxygen 1.6.1