CMS 3D CMS Logo

Public Types | Public Member Functions | Private Attributes

HitZCheck Class Reference

#include <HitZCheck.h>

Inheritance diagram for HitZCheck:
HitRZCompatibility

List of all members.

Public Types

typedef
TkTrackingRegionsMargin< float > 
Margin

Public Member Functions

virtual HitZCheckclone () const
 HitZCheck ()
 HitZCheck (const HitRZConstraint &rz, Margin margin=Margin(0, 0))
virtual bool operator() (const float &r, const float &z) const
virtual Range range (const float &radius) const
void setTolerance (const Margin &tolerance)

Private Attributes

HitRZConstraint theRZ
Margin theTolerance

Detailed Description

provides allowed range of Z coordinate from HitRZConstraint at a given radius R

Definition at line 11 of file HitZCheck.h.


Member Typedef Documentation

Definition at line 14 of file HitZCheck.h.


Constructor & Destructor Documentation

HitZCheck::HitZCheck ( ) [inline]

Definition at line 16 of file HitZCheck.h.

Referenced by clone().

{ }
HitZCheck::HitZCheck ( const HitRZConstraint rz,
Margin  margin = Margin(0,0) 
) [inline]

Definition at line 17 of file HitZCheck.h.

    : theRZ(rz), theTolerance(margin) { }

Member Function Documentation

virtual HitZCheck* HitZCheck::clone ( void  ) const [inline, virtual]

Implements HitRZCompatibility.

Definition at line 25 of file HitZCheck.h.

References HitZCheck().

{ return new HitZCheck(*this); }
virtual bool HitZCheck::operator() ( const float &  r,
const float &  z 
) const [inline, virtual]

Implements HitRZCompatibility.

Definition at line 20 of file HitZCheck.h.

References PixelRecoRange< T >::inside(), and range().

    { return range(r).inside(z); }
HitZCheck::Range HitZCheck::range ( const float &  radius) const [virtual]
void HitZCheck::setTolerance ( const Margin tolerance) [inline]

Definition at line 27 of file HitZCheck.h.

References theTolerance.

Referenced by RectangularEtaPhiTrackingRegion::estimator().

{ theTolerance = tolerance; }

Member Data Documentation

Definition at line 30 of file HitZCheck.h.

Referenced by range().

Definition at line 31 of file HitZCheck.h.

Referenced by range(), and setTolerance().