CMS 3D CMS Logo

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