CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions
CaloHitEtLess Class Reference

#include <CaloHit.h>

Public Member Functions

bool operator() (const CaloHit *a, const CaloHit *b)
 

Detailed Description

Definition at line 74 of file CaloHit.h.

Member Function Documentation

bool CaloHitEtLess::operator() ( const CaloHit a,
const CaloHit b 
)
inline

Definition at line 78 of file CaloHit.h.

References CaloHit::e(), and CaloHit::eta().

78  {
79  return (a->e()/std::cosh(a->eta()) > b->e()/std::cosh(b->eta()));
80  }
double eta() const
Definition: CaloHit.h:25
double e() const
Definition: CaloHit.h:24