CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
MuonShowerInformationFiller::AbsLessDPhi Struct Reference

Public Member Functions

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

Public Attributes

GlobalPoint thePoint
 

Detailed Description

Definition at line 132 of file MuonShowerInformationFiller.h.

Constructor & Destructor Documentation

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

Member Function Documentation

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

Definition at line 134 of file MuonShowerInformationFiller.h.

References hiPixelPairStep_cff::deltaPhi.

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

Member Data Documentation

GlobalPoint MuonShowerInformationFiller::AbsLessDPhi::thePoint

Definition at line 138 of file MuonShowerInformationFiller.h.