ATLAS Offline Software
Public Member Functions | List of all members
CaloVertexedCell::compE Struct Reference

Helper to compare two of these objects by energy. More...

#include <CaloVertexedCell.h>

Collaboration diagram for CaloVertexedCell::compE:

Public Member Functions

bool operator() (const CaloVertexedCell &a, const CaloVertexedCell &b) const
 

Detailed Description

Helper to compare two of these objects by energy.

Definition at line 95 of file CaloVertexedCell.h.

Member Function Documentation

◆ operator()()

bool CaloVertexedCell::compE::operator() ( const CaloVertexedCell a,
const CaloVertexedCell b 
) const
inline

Definition at line 97 of file CaloVertexedCell.h.

99  {
100  return CxxUtils::fpcompare::greater (a.e(), b.e());
101  }

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
CaloVertexedCell::e
virtual double e() const final
The energy of the particle.
Definition: CaloVertexedCell.h:71
plotBeamSpotMon.b
b
Definition: plotBeamSpotMon.py:77