CMS 3D CMS Logo

List of all members | Public Member Functions
less_mag Class Reference

#include <HybridClusterAlgo.h>

Inheritance diagram for less_mag:

Public Member Functions

 less_mag ()
 
bool operator() (EcalRecHit x, EcalRecHit y)
 
bool operator() (const PSimHit *a, const PSimHit *b)
 

Detailed Description

Definition at line 28 of file HybridClusterAlgo.h.

Constructor & Destructor Documentation

less_mag::less_mag ( )
inline

Definition at line 257 of file CkfDebugger.h.

257 { }

Member Function Documentation

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

Definition at line 29 of file HybridClusterAlgo.h.

References EcalRecHit::energy().

29 { return x.energy() > y.energy() ; }
float energy() const
Definition: EcalRecHit.h:68
bool less_mag::operator() ( const PSimHit a,
const PSimHit b 
)
inline

Definition at line 258 of file CkfDebugger.h.

References PSimHit::timeOfFlight().

258  {
259  return
260  ( a->timeOfFlight()< b->timeOfFlight() );
261  }
float timeOfFlight() const
Definition: PSimHit.h:69