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

Constructor & Destructor Documentation

◆ AbsLessDPhi()

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

Definition at line 142 of file MuonShowerInformationFiller.h.

142 : 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::AbsLessDPhi::operator() ( const MuonTransientTrackingRecHit::MuonRecHitPointer lhs,
const MuonTransientTrackingRecHit::MuonRecHitPointer rhs 
) const
inline

Definition at line 143 of file MuonShowerInformationFiller.h.

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

144  {
145  return (fabs(deltaPhi(lhs->globalPosition().barePhi(), thePoint.barePhi())) <
146  fabs(deltaPhi(rhs->globalPosition().barePhi(), thePoint.barePhi())));
147  }
T barePhi() const
Definition: PV3DBase.h:65

Member Data Documentation

◆ thePoint

GlobalPoint MuonShowerInformationFiller::AbsLessDPhi::thePoint

Definition at line 148 of file MuonShowerInformationFiller.h.

Referenced by operator()().