#include <HitZCheck.h>
Public Types | |
typedef TkTrackingRegionsMargin< float > | Margin |
Public Member Functions | |
virtual HitZCheck * | clone () 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 |
provides allowed range of Z coordinate from HitRZConstraint at a given radius R
Definition at line 11 of file HitZCheck.h.
typedef TkTrackingRegionsMargin<float> HitZCheck::Margin |
Definition at line 14 of file HitZCheck.h.
HitZCheck::HitZCheck | ( | ) | [inline] |
HitZCheck::HitZCheck | ( | const HitRZConstraint & | rz, |
Margin | margin = Margin(0,0) |
||
) | [inline] |
Definition at line 17 of file HitZCheck.h.
: theRZ(rz), theTolerance(margin) { }
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().
HitZCheck::Range HitZCheck::range | ( | const float & | radius | ) | const [virtual] |
Implements HitRZCompatibility.
Definition at line 5 of file HitZCheck.cc.
References TkTrackingRegionsMargin< T >::left(), HitRZConstraint::lineLeft(), HitRZConstraint::lineRight(), TkTrackingRegionsMargin< T >::right(), theRZ, theTolerance, and PixelRecoLineRZ::zAtR().
Referenced by RectangularEtaPhiTrackingRegion::estimator(), operator()(), and HitEtaCheck::range().
void HitZCheck::setTolerance | ( | const Margin & | tolerance | ) | [inline] |
Definition at line 27 of file HitZCheck.h.
References theTolerance.
Referenced by RectangularEtaPhiTrackingRegion::estimator().
{ theTolerance = tolerance; }
HitRZConstraint HitZCheck::theRZ [private] |
Definition at line 30 of file HitZCheck.h.
Referenced by range().
Margin HitZCheck::theTolerance [private] |
Definition at line 31 of file HitZCheck.h.
Referenced by range(), and setTolerance().