CMS 3D CMS Logo

Public Member Functions | Public Attributes

MuonShowerInformationFiller::AbsLessDTheta Struct Reference

List of all members.

Public Member Functions

 AbsLessDTheta (const GlobalPoint &point)
bool operator() (const TransientTrackingRecHit::ConstRecHitPointer &lhs, const TransientTrackingRecHit::ConstRecHitPointer &rhs) const

Public Attributes

GlobalPoint thePoint

Detailed Description

Definition at line 142 of file MuonShowerInformationFiller.h.


Constructor & Destructor Documentation

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

Definition at line 143 of file MuonShowerInformationFiller.h.

: thePoint(point) {}

Member Function Documentation

bool MuonShowerInformationFiller::AbsLessDTheta::operator() ( const TransientTrackingRecHit::ConstRecHitPointer lhs,
const TransientTrackingRecHit::ConstRecHitPointer rhs 
) const [inline]

Definition at line 144 of file MuonShowerInformationFiller.h.

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

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

Member Data Documentation

Definition at line 148 of file MuonShowerInformationFiller.h.

Referenced by operator()().