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 public:
14 
15  explicit HitRZCompatibility(Algo a) : m_algo(a){}
16  virtual ~HitRZCompatibility() {}
17  virtual bool operator() (const float & r, const float & z) const = 0;
18  virtual Range range(const float & rORz) const = 0;
19  virtual HitRZCompatibility * clone() const = 0;
20  Algo algo() const { return m_algo;}
22 };
23 #endif
virtual Range range(const float &rORz) const =0
virtual bool operator()(const float &r, const float &z) const =0
virtual HitRZCompatibility * clone() const =0
PixelRecoRange< float > Range
double a
Definition: hdecay.h:121
Definition: fakeMenu.h:6