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