ATLAS Offline Software
Loading...
Searching...
No Matches
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 }
static Double_t a
bool greater(double a, double b)
Compare two FP numbers, working around x87 precision issues.
Definition fpcompare.h:140

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