CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 29 of file HybridClusterAlgo.h.

Constructor & Destructor Documentation

less_mag::less_mag ( )
inline

Definition at line 277 of file CkfDebugger.h.

277 { }

Member Function Documentation

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

Definition at line 30 of file HybridClusterAlgo.h.

References CaloRecHit::energy().

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

Definition at line 278 of file CkfDebugger.h.

References PSimHit::timeOfFlight().

278  {
279  return
280  ( a->timeOfFlight()< b->timeOfFlight() );
281  }
float timeOfFlight() const
Definition: PSimHit.h:69