CMS 3D CMS Logo

HitRZCompatibility.h
Go to the documentation of this file.
1 #ifndef HitRZCompatibility_H
2 #define HitRZCompatibility_H
3 
7 
9 public:
10  // only three algos are implemented..
11  enum Algo { zAlgo = 0, rAlgo = 1, etaAlgo = 2 };
12 
13 public:
15 
16  explicit HitRZCompatibility(Algo a) : m_algo(a) {}
17  virtual ~HitRZCompatibility() {}
18  virtual bool operator()(const float& r, const float& z) const = 0;
19  virtual Range range(const float& rORz) const = 0;
20  virtual HitRZCompatibility* clone() const = 0;
21  Algo algo() const { return m_algo; }
23 };
24 #endif
TkTrackingRegionsMargin.h
HitRZCompatibility::algo
Algo algo() const
Definition: HitRZCompatibility.h:21
HitRZCompatibility::zAlgo
Definition: HitRZCompatibility.h:11
DDAxes::z
HitRZCompatibility::operator()
virtual bool operator()(const float &r, const float &z) const =0
Algo
Definition: fakeMenu.h:6
HitRZCompatibility
Definition: HitRZCompatibility.h:8
PixelRecoRange< float >
a
double a
Definition: hdecay.h:119
HitRZCompatibility::Range
PixelRecoRange< float > Range
Definition: HitRZCompatibility.h:14
HitRZCompatibility::m_algo
Algo m_algo
Definition: HitRZCompatibility.h:22
alignCSCRings.r
r
Definition: alignCSCRings.py:93
HitRZCompatibility::HitRZCompatibility
HitRZCompatibility(Algo a)
Definition: HitRZCompatibility.h:16
HitRZCompatibility::range
virtual Range range(const float &rORz) const =0
HitRZCompatibility::clone
virtual HitRZCompatibility * clone() const =0
HitRZCompatibility::~HitRZCompatibility
virtual ~HitRZCompatibility()
Definition: HitRZCompatibility.h:17
HitRZCompatibility::etaAlgo
Definition: HitRZCompatibility.h:11
HitRZCompatibility::rAlgo
Definition: HitRZCompatibility.h:11
PixelRecoRange.h