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 
15 public:
17 
20  const Range & rRange,
21  const Range & zRange)
22  : theLayer(layer), barrel(true),
23  hitDetPhiRange(phiRange), hitDetRRange(rRange), hitDetZRange(zRange) { }
24 
27  const Range & rRange,
28  const Range & zRange)
29  : theLayer(layer), barrel(false),
30  hitDetPhiRange(phiRange), hitDetRRange(rRange), hitDetZRange(zRange) { }
31 
32  bool operator() (const BoundPlane& plane) const;
33 
35  const TrajectoryStateOnSurface& ts, const BoundPlane& plane) const;
37  const GlobalPoint & ts, const BoundPlane& plane) const;
38 
39  GlobalPoint center() const;
40 
42  const Range & rRange() const { return hitDetRRange; }
43  const Range & zRange() const { return hitDetZRange; }
44 
45 private:
46  bool checkPhi(const OuterHitPhiPrediction::Range & detPhiRange) const;
47  bool checkR(const Range & detRRange) const;
48  bool checkZ(const Range & detZRange) const;
49 
50  double loc_dist(
51  double radius, double ts_phi, double range_phi, double cosGamma) const;
52 
53 private:
55  bool barrel;
58 };
59 
60 #endif
GlobalPoint center() const
bool operator()(const BoundPlane &plane) const
MeasurementEstimator::Local2DVector maximalLocalDisplacement(const TrajectoryStateOnSurface &ts, const BoundPlane &plane) const
const Range & zRange() const
double loc_dist(double radius, double ts_phi, double range_phi, double cosGamma) const
bool checkZ(const Range &detZRange) const
OuterHitPhiPrediction::Range hitDetPhiRange
OuterDetCompatibility(const ForwardDetLayer *layer, const OuterHitPhiPrediction::Range &phiRange, const Range &rRange, const Range &zRange)
PixelRecoRange< float > Range
const Range & rRange() const
bool checkPhi(const OuterHitPhiPrediction::Range &detPhiRange) const
bool checkR(const Range &detRRange) const
OuterDetCompatibility(const BarrelDetLayer *layer, const OuterHitPhiPrediction::Range &phiRange, const Range &rRange, const Range &zRange)
const OuterHitPhiPrediction::Range & phiRange() const