CMS 3D CMS Logo

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

Constructor & Destructor Documentation

◆ LessDPhi()

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

Definition at line 132 of file MuonShowerInformationFiller.h.

132 : thePoint(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

Member Function Documentation

◆ operator()()

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

Definition at line 133 of file MuonShowerInformationFiller.h.

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

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

Member Data Documentation

◆ thePoint

GlobalPoint MuonShowerInformationFiller::LessDPhi::thePoint

Definition at line 138 of file MuonShowerInformationFiller.h.

Referenced by operator()().