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
std::pair< bool, double > estimate(const TrajectoryStateOnSurface &ts, const TrackingRecHit &hit) const override
Definition: Plane.h:16
ConversionForwardEstimator(float phiRangeMin, float phiRangeMax, float dr, double nSigma=3.)
Local2DVector maximalLocalDisplacement(const TrajectoryStateOnSurface &ts, const Plane &plane) const override
ConversionForwardEstimator * clone() const override