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

Member Function Documentation

◆ operator()()

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

Definition at line 60 of file CaloHit.h.

References a, and b.

60  {
61  return (a->e() / std::cosh(a->eta()) > b->e() / std::cosh(b->eta()));
62  }
double b
Definition: hdecay.h:120
double a
Definition: hdecay.h:121