CMS 3D CMS Logo

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