ATLAS Offline Software
Public Member Functions | List of all members
CaloClusterCompare Struct Reference

Descending order by energy. More...

#include <CaloClusterVariables.h>

Collaboration diagram for CaloClusterCompare:

Public Member Functions

bool operator() (const TLorentzVector &left, const TLorentzVector &right) const
 

Detailed Description

Descending order by energy.

Definition at line 62 of file CaloClusterVariables.h.

Member Function Documentation

◆ operator()()

bool CaloClusterCompare::operator() ( const TLorentzVector &  left,
const TLorentzVector &  right 
) const
inline

Definition at line 63 of file CaloClusterVariables.h.

63  {
64  //volatile double leftE = left.e();
65  //volatile double rightE = right.e();
66  return CxxUtils::fpcompare::greater (left.E(),right.E());
67  }

The documentation for this struct was generated from the following file:
CxxUtils::fpcompare::greater
bool greater(double a, double b)
Compare two FP numbers, working around x87 precision issues.
Definition: fpcompare.h:140