CMS 3D CMS Logo

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