CMS 3D CMS Logo

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:
15 
16  OuterHitPhiPrediction(const Range& phiAtVertex, const Range& curvature, float originRBound)
17  : thePhiAtVertex(phiAtVertex), theCurvature(curvature), theOriginRBound(originRBound) {
18  // assert(theCurvature.max()>0);
19  assert(theCurvature.max() == -theCurvature.min());
20  }
21 
22  void setTolerance(float tolerance) { theTolerance = tolerance; }
23 
24  Range operator()(float radius) const { return sym(radius); }
25 
26 private:
27  Range sym(float radius) const;
28  Range asym(float radius) const;
29 
33  float theTolerance = 0.f;
34 };
35 
36 #endif
void setTolerance(float tolerance)
Range operator()(float radius) const
const double tolerance
T curvature(T InversePt, const edm::EventSetup &iSetup)
#define dso_internal
Definition: Visibility.h:13
OuterHitPhiPrediction(const Range &phiAtVertex, const Range &curvature, float originRBound)