CMS 3D CMS Logo

List of all members | Public Member Functions
ecalRecHitSort Class Reference

#include <EgammaHLTNxNClusterProducer.h>

Inheritance diagram for ecalRecHitSort:

Public Member Functions

bool operator() (EcalRecHit x, EcalRecHit y)
 

Detailed Description

Definition at line 37 of file EgammaHLTNxNClusterProducer.h.

Member Function Documentation

bool ecalRecHitSort::operator() ( EcalRecHit  x,
EcalRecHit  y 
)
inline

Definition at line 40 of file EgammaHLTNxNClusterProducer.h.

References EcalRecHit::energy().

41  {
42  return (x.energy() > y.energy());
43  }
float energy() const
Definition: EcalRecHit.h:68