CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
ForwardMeasurementEstimator.h
Go to the documentation of this file.
1 #ifndef ForwardMeasurementEstimator_H
2 #define ForwardMeasurementEstimator_H
3 
4 // -*- C++ -*-
5 //
6 // Package: EgammaElectronAlgos
7 // Class: ForwardMeasurementEstimator
8 //
16 //
17 // Original Author: Ursula Berthon, Claude Charlot
18 // Created: Mon Mar 27 13:22:06 CEST 2006
19 //
20 //
24 #include <utility>
25 
27  : public MeasurementEstimator
28  {
29  public:
30 
32  {}
33  ForwardMeasurementEstimator(float phiMin, float phiMax, float rMin, float rMax )
34  : thePhiMin(phiMin), thePhiMax( phiMax), theRMin(rMin), theRMax(rMax)
35  {}
36 
37  void setPhiRange(float dummyphiMin , float dummyphiMax )
38  { thePhiMin = dummyphiMin ; thePhiMax = dummyphiMax ; }
39  void setRRange(float rmin, float rmax )
40  { theRMin = rmin ; theRMax = rmax ; }
41  void setRRangeI( float rmin, float rmax )
42  { theRMinI = rmin ; theRMaxI = rmax ; }
43 
44  // zero value indicates incompatible ts - hit pair
45  virtual std::pair<bool,double> estimate( const TrajectoryStateOnSurface & ts, const TrackingRecHit & hit ) const ;
46  virtual std::pair<bool,double> estimate( const TrajectoryStateOnSurface & ts, const GlobalPoint & gp ) const ;
47  virtual std::pair<bool,double> estimate( const GlobalPoint & vprim, const TrajectoryStateOnSurface & ts, const GlobalPoint & gp ) const ;
48  virtual bool estimate( const TrajectoryStateOnSurface & ts, const BoundPlane & plane ) const ;
49 
51  { return new ForwardMeasurementEstimator(*this) ; }
52 
54  maximalLocalDisplacement( const TrajectoryStateOnSurface & ts, const BoundPlane & plane) const ;
55 
56  private :
57 
58  float thePhiMin ;
59  float thePhiMax ;
60  float theRMin ;
61  float theRMax ;
62  float theRMinI ;
63  float theRMaxI ;
64 
65  } ;
66 
67 #endif // ForwardMeasurementEstimator_H
virtual std::pair< bool, double > estimate(const TrajectoryStateOnSurface &ts, const TrackingRecHit &hit) const
MeasurementEstimator::Local2DVector maximalLocalDisplacement(const TrajectoryStateOnSurface &ts, const BoundPlane &plane) const
virtual ForwardMeasurementEstimator * clone() const
void setPhiRange(float dummyphiMin, float dummyphiMax)
ForwardMeasurementEstimator(float phiMin, float phiMax, float rMin, float rMax)
void setRRangeI(float rmin, float rmax)
void setRRange(float rmin, float rmax)