CMS 3D CMS Logo

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
OuterDetCompatibility::Range
PixelRecoRange< float > Range
Definition: OuterDetCompatibility.h:18
OuterDetCompatibility::OuterDetCompatibility
OuterDetCompatibility(const ForwardDetLayer *layer, const OuterHitPhiPrediction::Range &phiRange, const Range &rRange, const Range &zRange)
Definition: OuterDetCompatibility.h:26
Visibility.h
Reference_intrackfit_cff.barrel
list barrel
Definition: Reference_intrackfit_cff.py:37
funct::false
false
Definition: Factorize.h:34
DetLayer
Definition: DetLayer.h:21
Range
PixelRecoRange< float > Range
Definition: PixelTripletHLTGenerator.cc:31
HitRZConstraint.h
OuterDetCompatibility::zRange
const Range & zRange() const
Definition: OuterDetCompatibility.h:42
OuterDetCompatibility::hitDetZRange
Range hitDetZRange
Definition: OuterDetCompatibility.h:55
OuterDetCompatibility::theLayer
const DetLayer * theLayer
Definition: OuterDetCompatibility.h:52
OuterDetCompatibility::phiRange
const OuterHitPhiPrediction::Range & phiRange() const
Definition: OuterDetCompatibility.h:40
TrajectoryStateOnSurface
Definition: TrajectoryStateOnSurface.h:16
beampixel_dqm_sourceclient-live_cfg.zRange
zRange
Definition: beampixel_dqm_sourceclient-live_cfg.py:144
MeasurementEstimator.h
Vector2DBase
Definition: Vector2DBase.h:8
OuterDetCompatibility::rRange
const Range & rRange() const
Definition: OuterDetCompatibility.h:41
Point3DBase< float, GlobalTag >
funct::true
true
Definition: Factorize.h:173
PixelRecoRange< float >
OuterDetCompatibility::hitDetPhiRange
OuterHitPhiPrediction::Range hitDetPhiRange
Definition: OuterDetCompatibility.h:54
dso_internal
#define dso_internal
Definition: Visibility.h:13
OuterDetCompatibility::OuterDetCompatibility
OuterDetCompatibility(const BarrelDetLayer *layer, const OuterHitPhiPrediction::Range &phiRange, const Range &rRange, const Range &zRange)
Definition: OuterDetCompatibility.h:20
OuterDetCompatibility::barrel
bool barrel
Definition: OuterDetCompatibility.h:53
BarrelDetLayer.h
OuterDetCompatibility
Definition: OuterDetCompatibility.h:16
BarrelDetLayer
Definition: BarrelDetLayer.h:22
OuterHitPhiPrediction.h
ForwardDetLayer
Definition: ForwardDetLayer.h:22
ForwardDetLayer.h
BoundPlane
CosmicsPD_Skims.radius
radius
Definition: CosmicsPD_Skims.py:135
PixelRecoRange.h