CMS 3D CMS Logo

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

Constructor & Destructor Documentation

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

Definition at line 124 of file MuonShowerInformationFiller.h.

Member Function Documentation

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

Definition at line 125 of file MuonShowerInformationFiller.h.

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

126  {
127  return deltaPhi(lhs->globalPosition().barePhi(), thePoint.barePhi()) < deltaPhi(rhs->globalPosition().barePhi(), thePoint.barePhi());
128  }
T barePhi() const
Definition: PV3DBase.h:68

Member Data Documentation

GlobalPoint MuonShowerInformationFiller::LessDPhi::thePoint

Definition at line 129 of file MuonShowerInformationFiller.h.

Referenced by operator()().