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
HitZCheck::Margin
TkTrackingRegionsMargin< float > Margin
Definition: HitZCheck.h:14
HitZCheck::setTolerance
void setTolerance(const Margin &tolerance)
Definition: HitZCheck.h:26
HitRZConstraint.h
HitZCheck::theTolerance
Margin theTolerance
Definition: HitZCheck.h:30
HitZCheck::HitZCheck
HitZCheck(const HitRZConstraint &rz, Margin margin=Margin(0, 0))
Definition: HitZCheck.h:17
HitZCheck
Definition: HitZCheck.h:10
TkTrackingRegionsMargin::left
const T & left() const
Definition: TkTrackingRegionsMargin.h:18
HitRZCompatibility::zAlgo
Definition: HitRZCompatibility.h:11
HitRZCompatibility.h
DDAxes::z
HitRZConstraint
Definition: HitRZConstraint.h:8
HitZCheck::range
Range range(const float &radius) const override
Definition: HitZCheck.h:33
Algo
Definition: fakeMenu.h:6
HitRZCompatibility
Definition: HitRZCompatibility.h:8
PixelRecoRange< float >
HitRZConstraint::lineLeft
const Line & lineLeft() const
Definition: HitRZConstraint.h:18
HitZCheck::operator()
bool operator()(const float &r, const float &z) const override
Definition: HitZCheck.h:20
HitRZCompatibility::Range
PixelRecoRange< float > Range
Definition: HitRZCompatibility.h:14
HitZCheck::clone
HitZCheck * clone() const override
Definition: HitZCheck.h:24
tolerance
const double tolerance
Definition: HGCalGeomParameters.cc:27
TkTrackingRegionsMargin< float >
TkTrackingRegionsMargin::right
const T & right() const
Definition: TkTrackingRegionsMargin.h:19
SimpleLineRZ::zAtR
float zAtR(float r) const
Definition: PixelRecoLineRZ.h:77
alignCSCRings.r
r
Definition: alignCSCRings.py:93
CosmicsPD_Skims.radius
radius
Definition: CosmicsPD_Skims.py:135
HitZCheck::HitZCheck
HitZCheck()
Definition: HitZCheck.h:16
PixelRecoRange::inside
bool inside(const T &value) const
Definition: PixelRecoRange.h:36
HitRZConstraint::lineRight
const Line & lineRight() const
Definition: HitRZConstraint.h:19
HitZCheck::me
static constexpr Algo me
Definition: HitZCheck.h:12
HitZCheck::theRZ
HitRZConstraint theRZ
Definition: HitZCheck.h:29
margin
Double_t margin
Definition: trackSplitPlot.h:45