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

Constructor & Destructor Documentation

◆ AbsLessDPhi()

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

Definition at line 137 of file MuonShowerInformationFiller.h.

137 : thePoint(point) {}

Member Function Documentation

◆ operator()()

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

Definition at line 138 of file MuonShowerInformationFiller.h.

139  {
140  return (fabs(deltaPhi(lhs->globalPosition().barePhi(), thePoint.barePhi())) <
141  fabs(deltaPhi(rhs->globalPosition().barePhi(), thePoint.barePhi())));
142  }

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

Member Data Documentation

◆ thePoint

GlobalPoint MuonShowerInformationFiller::AbsLessDPhi::thePoint

Definition at line 143 of file MuonShowerInformationFiller.h.

Referenced by operator()().

MuonShowerInformationFiller::AbsLessDPhi::thePoint
GlobalPoint thePoint
Definition: MuonShowerInformationFiller.h:143
SiPixelRawToDigiRegional_cfi.deltaPhi
deltaPhi
Definition: SiPixelRawToDigiRegional_cfi.py:9
PV3DBase::barePhi
T barePhi() const
Definition: PV3DBase.h:65
point
*vegas h *****************************************************used in the default bin number in original ***version of VEGAS is ***a higher bin number might help to derive a more precise ***grade subtle point
Definition: invegas.h:5