CMS 3D CMS Logo

Public Member Functions | Public Attributes

MuonShowerInformationFiller::LessDPhi Struct Reference

List of all members.

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 124 of file MuonShowerInformationFiller.h.


Constructor & Destructor Documentation

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

Definition at line 125 of file MuonShowerInformationFiller.h.

: thePoint(point) {}

Member Function Documentation

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

Definition at line 126 of file MuonShowerInformationFiller.h.

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

                                                                                     {
           return deltaPhi(lhs->globalPosition().phi(), thePoint.phi()) < deltaPhi(rhs->globalPosition().phi(), thePoint.phi());
        }

Member Data Documentation

Definition at line 130 of file MuonShowerInformationFiller.h.

Referenced by operator()().