CMS 3D CMS Logo

List of all members | Public Member Functions | Public Attributes
MuonShowerInformationFiller::AbsLessDTheta Struct Reference

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

Constructor & Destructor Documentation

◆ AbsLessDTheta()

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

Definition at line 147 of file MuonShowerInformationFiller.h.

147 : thePoint(point) {}

Member Function Documentation

◆ operator()()

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

Definition at line 148 of file MuonShowerInformationFiller.h.

149  {
150  return (fabs(lhs->globalPosition().bareTheta() - thePoint.bareTheta()) <
151  fabs(rhs->globalPosition().bareTheta() - thePoint.bareTheta()));
152  }

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

Member Data Documentation

◆ thePoint

GlobalPoint MuonShowerInformationFiller::AbsLessDTheta::thePoint

Definition at line 153 of file MuonShowerInformationFiller.h.

Referenced by operator()().

PV3DBase::bareTheta
T bareTheta() const
Definition: PV3DBase.h:71
MuonShowerInformationFiller::AbsLessDTheta::thePoint
GlobalPoint thePoint
Definition: MuonShowerInformationFiller.h:153
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