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

Constructor & Destructor Documentation

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

Member Function Documentation

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

Definition at line 143 of file MuonShowerInformationFiller.h.

144  {
145  return ( fabs(lhs->globalPosition().bareTheta() - thePoint.bareTheta()) < fabs(rhs->globalPosition().bareTheta() - thePoint.bareTheta()) );
146  }
T bareTheta() const
Definition: PV3DBase.h:74

Member Data Documentation

GlobalPoint MuonShowerInformationFiller::AbsLessDTheta::thePoint

Definition at line 147 of file MuonShowerInformationFiller.h.