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 
16 #include <iostream>
17 class RecHit;
19 class Plane;
20 
22 public:
24  ConversionForwardEstimator( float phiRangeMin, float phiRangeMax, float dr, double nSigma = 3. ) :
25  thePhiRangeMin( phiRangeMin), thePhiRangeMax( phiRangeMax), dr_(dr), theNSigma(nSigma) {
26  //std::cout << " ConversionForwardEstimator CTOR " << std::endl;
27 }
28 
29  // zero value indicates incompatible ts - hit pair
30  std::pair<bool,double> estimate( const TrajectoryStateOnSurface& ts,
31  const TrackingRecHit& hit) const override;
32  bool estimate( const TrajectoryStateOnSurface& ts,
33  const Plane& plane) const override;
34  ConversionForwardEstimator* clone() const override {
35  return new ConversionForwardEstimator(*this);
36  }
37 
38 
39 Local2DVector maximalLocalDisplacement( const TrajectoryStateOnSurface& ts, const Plane& plane) const override;
40 
41  double nSigmaCut() const {return theNSigma;}
42 
43 private:
44 
47  float dr_;
48  double theNSigma;
49 };
50 
51 #endif // ConversionForwardEstimator_H
52 
53 
54 
55 
56 
57 
58 
59 
60 
61 
62 
63 
std::pair< bool, double > estimate(const TrajectoryStateOnSurface &ts, const TrackingRecHit &hit) const override
Local2DVector maximalLocalDisplacement(const TrajectoryStateOnSurface &ts, const Plane &plane) const override
Definition: Plane.h:17
ConversionForwardEstimator(float phiRangeMin, float phiRangeMax, float dr, double nSigma=3.)
ConversionForwardEstimator * clone() const override