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
OuterHitPhiPrediction::setTolerance
void setTolerance(float tolerance)
Definition: OuterHitPhiPrediction.h:22
Visibility.h
OuterHitPhiPrediction::thePhiAtVertex
Range thePhiAtVertex
Definition: OuterHitPhiPrediction.h:30
Range
PixelRecoRange< float > Range
Definition: PixelTripletHLTGenerator.cc:31
cms::cuda::assert
assert(be >=bs)
PixelRecoUtilities::curvature
T curvature(T InversePt, const edm::EventSetup &iSetup)
Definition: PixelRecoUtilities.h:42
OuterHitPhiPrediction::OuterHitPhiPrediction
OuterHitPhiPrediction(const Range &phiAtVertex, const Range &curvature, float originRBound)
Definition: OuterHitPhiPrediction.h:16
OuterHitPhiPrediction::theCurvature
Range theCurvature
Definition: OuterHitPhiPrediction.h:31
OuterHitPhiPrediction
Definition: OuterHitPhiPrediction.h:12
PixelRecoRange< float >
dso_internal
#define dso_internal
Definition: Visibility.h:13
tolerance
const double tolerance
Definition: HGCalGeomParameters.cc:29
OuterHitPhiPrediction::operator()
Range operator()(float radius) const
Definition: OuterHitPhiPrediction.h:24
OuterHitPhiPrediction::theOriginRBound
float theOriginRBound
Definition: OuterHitPhiPrediction.h:32
CosmicsPD_Skims.radius
radius
Definition: CosmicsPD_Skims.py:135
PixelRecoRange.h