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 27 of file HybridClusterAlgo.h.

Constructor & Destructor Documentation

less_mag::less_mag ( )
inline

Definition at line 272 of file CkfDebugger.h.

272 { }

Member Function Documentation

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

Definition at line 28 of file HybridClusterAlgo.h.

References CaloRecHit::energy().

28 { 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 273 of file CkfDebugger.h.

References PSimHit::timeOfFlight().

273  {
274  return
275  ( a->timeOfFlight()< b->timeOfFlight() );
276  }
float timeOfFlight() const
Definition: PSimHit.h:69