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

#include <CaloClusterVariables.h>

Collaboration diagram for DefCaloClusterCompare:

Public Member Functions

bool operator() (const xAOD::CaloCluster *left, const xAOD::CaloCluster *right) const
 

Detailed Description

Definition at line 70 of file CaloClusterVariables.h.

Member Function Documentation

◆ operator()()

bool DefCaloClusterCompare::operator() ( const xAOD::CaloCluster left,
const xAOD::CaloCluster right 
) const
inline

Definition at line 71 of file CaloClusterVariables.h.

71  {
72  //volatile double leftE = left.e();
73  //volatile double rightE = right.e();
74  return CxxUtils::fpcompare::greater (left->e(),right->e());
75  }

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
xAOD::CaloCluster_v1::e
virtual double e() const
The total energy of the particle.
Definition: CaloCluster_v1.cxx:265