CMS 3D CMS Logo

/data/refman/pasoursint/CMSSW_5_2_7_hltpatch1/src/TrackingTools/DetLayers/interface/DetRod.h

Go to the documentation of this file.
00001 #ifndef DetLayers_DetRod_H
00002 #define DetLayers_DetRod_H
00003 
00008 #include "TrackingTools/DetLayers/interface/GeometricSearchDet.h"
00009 #include "DataFormats/GeometrySurface/interface/BoundPlane.h"
00010 
00011 class MeasurementEstimator;
00012 
00013 class DetRod : public virtual GeometricSearchDet   {
00014  public:
00015   
00016   virtual ~DetRod();
00017   
00018  
00019   virtual const BoundSurface& surface() const {return *thePlane;}
00020 
00021 
00022   //--- Extension of the interface
00023   
00025   virtual const BoundPlane& specificSurface() const {return *thePlane;}
00026 
00027 
00028 protected:
00030   void setPlane( BoundPlane* plane) { thePlane = plane;}
00031 
00032   //obsolete?
00033   // Return the range in Z to be checked for compatibility
00034   //float zError( const TrajectoryStateOnSurface& tsos,
00035   //            const MeasurementEstimator& est) const;
00036 
00037  private:
00038   ReferenceCountingPointer<BoundPlane>  thePlane;
00039 
00040 };
00041 
00042 #endif