CMS 3D CMS Logo

HitZCheck.h
Go to the documentation of this file.
1 #ifndef HitZCheck_H
2 #define HitZCheck_H
3 
9 
10 class HitZCheck final : public HitRZCompatibility {
11 public:
12  static constexpr Algo me = zAlgo;
13 
15 
19 
20  bool operator()(const float& r, const float& z) const override { return range(r).inside(z); }
21 
22  inline Range range(const float& radius) const override;
23 
24  HitZCheck* clone() const override { return new HitZCheck(*this); }
25 
27 
28 private:
31 };
32 
36 }
37 
38 #endif
bool inside(const T &value) const
TkTrackingRegionsMargin< float > Margin
Definition: HitZCheck.h:14
HitZCheck(const HitRZConstraint &rz, Margin margin=Margin(0, 0))
Definition: HitZCheck.h:17
const double tolerance
static constexpr Algo me
Definition: HitZCheck.h:12
Range range(const float &radius) const override
Definition: HitZCheck.h:33
const Line & lineLeft() const
bool operator()(const float &r, const float &z) const override
Definition: HitZCheck.h:20
HitZCheck * clone() const override
Definition: HitZCheck.h:24
Double_t margin
Margin theTolerance
Definition: HitZCheck.h:30
HitRZConstraint theRZ
Definition: HitZCheck.h:29
PixelRecoRange< float > Range
const Line & lineRight() const
HitZCheck()
Definition: HitZCheck.h:16
float zAtR(float r) const
Definition: fakeMenu.h:6
void setTolerance(const Margin &tolerance)
Definition: HitZCheck.h:26