CMS 3D CMS Logo

Public Member Functions

CaloHitEtLess Class Reference

#include <CaloHit.h>

List of all members.

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().

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