CMS 3D CMS Logo

ConversionBarrelEstimator.h
Go to the documentation of this file.
1 #ifndef RecoEGAMMA_ConversionBarrelEstimator_H
2 #define RecoEGAMMA_ConversionBarrelEstimator_H
3 
13 
15 class RecHit;
16 class Plane;
17 
19 public:
21  ConversionBarrelEstimator(float phiRangeMin, float phiRangeMax, float zRangeMin, float zRangeMax, double nSigma = 3.)
22  : thePhiRangeMin(phiRangeMin),
23  thePhiRangeMax(phiRangeMax),
24  theZRangeMin(zRangeMin),
25  theZRangeMax(zRangeMax),
26  theNSigma(nSigma) {
27  // std::cout << " ConversionBarrelEstimator CTOR " << std::endl;
28  }
29 
30  // zero value indicates incompatible ts - hit pair
31  std::pair<bool, double> estimate(const TrajectoryStateOnSurface& ts, const TrackingRecHit& hit) const override;
32  bool estimate(const TrajectoryStateOnSurface& ts, const Plane& plane) const override;
33  ConversionBarrelEstimator* clone() const override { return new ConversionBarrelEstimator(*this); }
34 
35  Local2DVector maximalLocalDisplacement(const TrajectoryStateOnSurface& ts, const Plane& plane) const override;
36 
37  double nSigmaCut() const { return theNSigma; }
38 
39 private:
42  float theZRangeMin;
43  float theZRangeMax;
44  double theNSigma;
45 };
46 
47 #endif // ConversionBarrelEstimator_H
MeasurementEstimator
Definition: MeasurementEstimator.h:19
ConversionBarrelEstimator::thePhiRangeMin
float thePhiRangeMin
Definition: ConversionBarrelEstimator.h:40
ConversionBarrelEstimator::ConversionBarrelEstimator
ConversionBarrelEstimator()
Definition: ConversionBarrelEstimator.h:20
ConversionBarrelEstimator::theZRangeMax
float theZRangeMax
Definition: ConversionBarrelEstimator.h:43
ConversionBarrelEstimator
Definition: ConversionBarrelEstimator.h:18
TrajectoryStateOnSurface
Definition: TrajectoryStateOnSurface.h:16
LocalTag.h
MeasurementEstimator.h
Vector2DBase
Definition: Vector2DBase.h:8
Vector2DBase.h
ConversionBarrelEstimator::estimate
std::pair< bool, double > estimate(const TrajectoryStateOnSurface &ts, const TrackingRecHit &hit) const override
Definition: ConversionBarrelEstimator.cc:10
ConversionBarrelEstimator::maximalLocalDisplacement
Local2DVector maximalLocalDisplacement(const TrajectoryStateOnSurface &ts, const Plane &plane) const override
Definition: ConversionBarrelEstimator.cc:78
ConversionBarrelEstimator::theZRangeMin
float theZRangeMin
Definition: ConversionBarrelEstimator.h:42
TrackingRecHit
Definition: TrackingRecHit.h:21
Plane
Definition: Plane.h:16
ConversionBarrelEstimator::thePhiRangeMax
float thePhiRangeMax
Definition: ConversionBarrelEstimator.h:41
ConversionBarrelEstimator::ConversionBarrelEstimator
ConversionBarrelEstimator(float phiRangeMin, float phiRangeMax, float zRangeMin, float zRangeMax, double nSigma=3.)
Definition: ConversionBarrelEstimator.h:21
ConversionBarrelEstimator::clone
ConversionBarrelEstimator * clone() const override
Definition: ConversionBarrelEstimator.h:33
HLTSiStripMonitoring_cff.nSigma
nSigma
Definition: HLTSiStripMonitoring_cff.py:151
ConversionBarrelEstimator::theNSigma
double theNSigma
Definition: ConversionBarrelEstimator.h:44
ConversionBarrelEstimator::nSigmaCut
double nSigmaCut() const
Definition: ConversionBarrelEstimator.h:37
hit
Definition: SiStripHitEffFromCalibTree.cc:88