ATLAS Offline Software
Loading...
Searching...
No Matches
TopoClusterMap.cxx File Reference
Include dependency graph for TopoClusterMap.cxx:

Go to the source code of this file.

Functions

bool CompareClusterET (const xAOD::CaloCluster *c1, const xAOD::CaloCluster *c2)

Function Documentation

◆ CompareClusterET()

bool CompareClusterET ( const xAOD::CaloCluster * c1,
const xAOD::CaloCluster * c2 )

Definition at line 10 of file TopoClusterMap.cxx.

11{
12
13 double Et1(c1->e()/cosh(c1->eta())), Et2(c2->e()/cosh(c2->eta()));
14 return Et1 > Et2;
15
16}