CMS 3D CMS Logo

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

Member Function Documentation

◆ operator()()

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

Definition at line 61 of file CaloHit.h.

61  {
62  return (a->e() / std::cosh(a->eta()) > b->e() / std::cosh(b->eta()));
63  }

References a, and b.

b
double b
Definition: hdecay.h:118
a
double a
Definition: hdecay.h:119