CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
OuterDetCompatibility.h
Go to the documentation of this file.
1 #ifndef OuterDetCompatibility_H
2 #define OuterDetCompatibility_H
3 
13 
15 
17 public:
19 
21  const OuterHitPhiPrediction::Range& phiRange,
22  const Range& rRange,
23  const Range& zRange)
24  : theLayer(layer), barrel(true), hitDetPhiRange(phiRange), hitDetRRange(rRange), hitDetZRange(zRange) {}
25 
27  const OuterHitPhiPrediction::Range& phiRange,
28  const Range& rRange,
29  const Range& zRange)
30  : theLayer(layer), barrel(false), hitDetPhiRange(phiRange), hitDetRRange(rRange), hitDetZRange(zRange) {}
31 
32  bool operator()(const BoundPlane& plane) const;
33 
34  MeasurementEstimator::Local2DVector maximalLocalDisplacement(const TrajectoryStateOnSurface& ts,
35  const BoundPlane& plane) const;
36  MeasurementEstimator::Local2DVector maximalLocalDisplacement(const GlobalPoint& ts, const BoundPlane& plane) const;
37 
38  GlobalPoint center() const;
39 
40  const OuterHitPhiPrediction::Range& phiRange() const { return hitDetPhiRange; }
41  const Range& rRange() const { return hitDetRRange; }
42  const Range& zRange() const { return hitDetZRange; }
43 
44 private:
45  bool checkPhi(const OuterHitPhiPrediction::Range& detPhiRange) const;
46  bool checkR(const Range& detRRange) const;
47  bool checkZ(const Range& detZRange) const;
48 
49  double loc_dist(double radius, double ts_phi, double range_phi, double cosGamma) const;
50 
51 private:
53  bool barrel;
55  Range hitDetRRange, hitDetZRange;
56 };
57 
58 #endif
const Range & zRange() const
PixelRecoRange< float > Range
OuterHitPhiPrediction::Range hitDetPhiRange
constexpr std::array< uint8_t, layerIndexSize > layer
OuterDetCompatibility(const ForwardDetLayer *layer, const OuterHitPhiPrediction::Range &phiRange, const Range &rRange, const Range &zRange)
PixelRecoRange< float > Range
const Range & rRange() const
#define dso_internal
Definition: Visibility.h:13
OuterDetCompatibility(const BarrelDetLayer *layer, const OuterHitPhiPrediction::Range &phiRange, const Range &rRange, const Range &zRange)
const OuterHitPhiPrediction::Range & phiRange() const