CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
OuterHitPhiPrediction.h
Go to the documentation of this file.
1 #ifndef OuterHitPhiPrediction_H
2 #define OuterHitPhiPrediction_H
3 
7 
9 
10 #include <cassert>
11 
13 public:
14 
16 
18  const Range & phiAtVertex,
19  const Range & curvature,
20  float originRBound)
21  : thePhiAtVertex(phiAtVertex), theCurvature(curvature),
22  theOriginRBound (originRBound) {
23  // assert(theCurvature.max()>0);
24  assert(theCurvature.max() == -theCurvature.min());
25  }
26 
27  void setTolerance(float tolerance) { theTolerance = tolerance; }
28 
29  Range operator()(float radius) const { return sym(radius);}
30 
31 private:
32 
33  Range sym(float radius) const;
34  Range asym(float radius) const;
35 
36 
40  float theTolerance = 0.f;
41 };
42 
43 #endif
void setTolerance(float tolerance)
Range operator()(float radius) const
assert(m_qm.get())
T curvature(T InversePt, const edm::EventSetup &iSetup)
PixelRecoRange< float > Range
#define dso_internal
OuterHitPhiPrediction(const Range &phiAtVertex, const Range &curvature, float originRBound)