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                                                                 {    
00018     if(d1.GetErrors())
00019       if(d2.GetErrors()) return (d1.GetTime()<d2.GetTime());
00020       else return false;
00022     if(d2.GetErrors()) return true;
00024     return (d1.GetTime()<d2.GetTime());
00025   };

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

Generated on 8 Jul 2019 for loon by  doxygen 1.6.1