CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ConversionForwardEstimator.h
Go to the documentation of this file.
1 #ifndef RecoEGAMMA_ConversionForwardEstimator_H
2 #define RecoEGAMMA_ConversionForwardEstimator_H
3 
16 
17 
18 #include <iostream>
19 class RecHit;
21 class Plane;
22 
24 public:
26  ConversionForwardEstimator( float phiRangeMin, float phiRangeMax, float dr, double nSigma = 3. ) :
27  thePhiRangeMin( phiRangeMin), thePhiRangeMax( phiRangeMax), dr_(dr), theNSigma(nSigma) {
28  //std::cout << " ConversionForwardEstimator CTOR " << std::endl;
29 }
30 
31  // zero value indicates incompatible ts - hit pair
32  virtual std::pair<bool,double> estimate( const TrajectoryStateOnSurface& ts,
33  const TransientTrackingRecHit& hit) const;
34  virtual bool estimate( const TrajectoryStateOnSurface& ts,
35  const Plane& plane) const;
36  virtual ConversionForwardEstimator* clone() const {
37  return new ConversionForwardEstimator(*this);
38  }
39 
40 
41 virtual Local2DVector maximalLocalDisplacement( const TrajectoryStateOnSurface& ts, const Plane& plane) const;
42 
43  double nSigmaCut() const {return theNSigma;}
44 
45 private:
46 
49  float dr_;
50  double theNSigma;
51 };
52 
53 #endif // ConversionForwardEstimator_H
54 
55 
56 
57 
58 
59 
60 
61 
62 
63 
64 
65 
virtual Local2DVector maximalLocalDisplacement(const TrajectoryStateOnSurface &ts, const Plane &plane) const
virtual std::pair< bool, double > estimate(const TrajectoryStateOnSurface &ts, const TransientTrackingRecHit &hit) const
Definition: Plane.h:17
virtual ConversionForwardEstimator * clone() const
ConversionForwardEstimator(float phiRangeMin, float phiRangeMax, float dr, double nSigma=3.)