CMS 3D CMS Logo

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 59 of file CaloHit.h.

Member Function Documentation

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

Definition at line 61 of file CaloHit.h.

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

61  {
62  return (a->e() / std::cosh(a->eta()) > b->e() / std::cosh(b->eta()));
63  }
double eta() const
Definition: CaloHit.h:22
double e() const
Definition: CaloHit.h:21