test
CMS 3D CMS Logo

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