CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Public Attributes
MuonShowerInformationFiller::LessDPhi Struct Reference

Public Member Functions

 LessDPhi (const GlobalPoint &point)
 
bool operator() (const MuonTransientTrackingRecHit::MuonRecHitPointer &lhs, const MuonTransientTrackingRecHit::MuonRecHitPointer &rhs) const
 

Public Attributes

GlobalPoint thePoint
 

Detailed Description

Definition at line 131 of file MuonShowerInformationFiller.h.

Constructor & Destructor Documentation

MuonShowerInformationFiller::LessDPhi::LessDPhi ( const GlobalPoint point)
inline

Definition at line 132 of file MuonShowerInformationFiller.h.

Member Function Documentation

bool MuonShowerInformationFiller::LessDPhi::operator() ( const MuonTransientTrackingRecHit::MuonRecHitPointer lhs,
const MuonTransientTrackingRecHit::MuonRecHitPointer rhs 
) const
inline

Definition at line 133 of file MuonShowerInformationFiller.h.

References PV3DBase< T, PVType, FrameType >::barePhi(), srCondWrite_cfg::deltaPhi, and thePoint.

134  {
135  return deltaPhi(lhs->globalPosition().barePhi(), thePoint.barePhi()) <
136  deltaPhi(rhs->globalPosition().barePhi(), thePoint.barePhi());
137  }
T barePhi() const
Definition: PV3DBase.h:65

Member Data Documentation

GlobalPoint MuonShowerInformationFiller::LessDPhi::thePoint

Definition at line 138 of file MuonShowerInformationFiller.h.

Referenced by operator()().