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 // $Id: ForwardMeasurementEstimator.h,v 1.16 2010/07/28 10:52:45 chamont Exp $
20 //
21 //
25 #include <utility>
26 
28  : public MeasurementEstimator
29  {
30  public:
31 
33  {}
34  ForwardMeasurementEstimator(float phiMin, float phiMax, float rMin, float rMax )
35  : thePhiMin(phiMin), thePhiMax( phiMax), theRMin(rMin), theRMax(rMax)
36  {}
37 
38  void setPhiRange(float dummyphiMin , float dummyphiMax )
39  { thePhiMin = dummyphiMin ; thePhiMax = dummyphiMax ; }
40  void setRRange(float rmin, float rmax )
41  { theRMin = rmin ; theRMax = rmax ; }
42  void setRRangeI( float rmin, float rmax )
43  { theRMinI = rmin ; theRMaxI = rmax ; }
44 
45  // zero value indicates incompatible ts - hit pair
46  virtual std::pair<bool,double> estimate( const TrajectoryStateOnSurface & ts, const TransientTrackingRecHit & hit ) const ;
47  virtual std::pair<bool,double> estimate( const TrajectoryStateOnSurface & ts, GlobalPoint & gp ) const ;
48  virtual std::pair<bool,double> estimate( const GlobalPoint & vprim, const TrajectoryStateOnSurface & ts, GlobalPoint & gp ) const ;
49  virtual bool estimate( const TrajectoryStateOnSurface & ts, const BoundPlane & plane ) const ;
50 
52  { return new ForwardMeasurementEstimator(*this) ; }
53 
55  maximalLocalDisplacement( const TrajectoryStateOnSurface & ts, const BoundPlane & plane) const ;
56 
57  private :
58 
59  float thePhiMin ;
60  float thePhiMax ;
61  float theRMin ;
62  float theRMax ;
63  float theRMinI ;
64  float theRMaxI ;
65 
66  } ;
67 
68 #endif // ForwardMeasurementEstimator_H
virtual std::pair< bool, double > estimate(const TrajectoryStateOnSurface &ts, const TransientTrackingRecHit &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)