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 
13 
14 
16 class RecHit;
17 class Plane;
18 
20 public:
21 
23  ConversionBarrelEstimator( float phiRangeMin, float phiRangeMax,
24  float zRangeMin, float zRangeMax, double nSigma = 3. ) :
25  thePhiRangeMin( phiRangeMin), thePhiRangeMax( phiRangeMax),
26  theZRangeMin( zRangeMin), theZRangeMax( zRangeMax), theNSigma(nSigma) {
27  // std::cout << " ConversionBarrelEstimator CTOR " << std::endl;
28 }
29 
30  // zero value indicates incompatible ts - hit pair
31  virtual std::pair<bool,double> estimate( const TrajectoryStateOnSurface& ts,
32  const TrackingRecHit& hit ) const;
33  virtual bool estimate( const TrajectoryStateOnSurface& ts,
34  const Plane& plane) const;
35  virtual ConversionBarrelEstimator* clone() const {
36  return new ConversionBarrelEstimator(*this);
37  }
38 
39 
40 
41 
42 
43  virtual Local2DVector maximalLocalDisplacement( const TrajectoryStateOnSurface& ts, const Plane& plane) const;
44 
45 
46  double nSigmaCut() const {return theNSigma;}
47 
48 private:
49 
52  float theZRangeMin;
53  float theZRangeMax;
54  double theNSigma;
55 
56 
57 
58 };
59 
60 #endif // ConversionBarrelEstimator_H
Definition: Plane.h:17
virtual Local2DVector maximalLocalDisplacement(const TrajectoryStateOnSurface &ts, const Plane &plane) const
virtual ConversionBarrelEstimator * clone() const
virtual std::pair< bool, double > estimate(const TrajectoryStateOnSurface &ts, const TrackingRecHit &hit) const
ConversionBarrelEstimator(float phiRangeMin, float phiRangeMax, float zRangeMin, float zRangeMax, double nSigma=3.)