00001 #ifndef DetLayers_DetRod_H 00002 #define DetLayers_DetRod_H 00003 00008 #include "TrackingTools/DetLayers/interface/GeometricSearchDet.h" 00009 #include "DataFormats/GeometrySurface/interface/Plane.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 GCC11_FINAL {return *thePlane;} 00020 00021 00022 //--- Extension of the interface 00023 00025 virtual const Plane& specificSurface() const GCC11_FINAL {return *thePlane;} 00026 00027 00028 protected: 00030 void setPlane( Plane* 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<Plane> thePlane; 00039 00040 }; 00041 00042 #endif