CMS 3D CMS Logo

/data/git/CMSSW_5_3_11_patch5/src/DataFormats/GeometrySurface/interface/TangentPlane.h

Go to the documentation of this file.
00001 #ifndef Geom_TangentPlane_H
00002 #define Geom_TangentPlane_H
00003 
00004 #include "DataFormats/GeometrySurface/interface/Plane.h"
00005 
00010 class TangentPlane : public Plane {
00011 public:
00012   TangentPlane (const PositionType& pos, 
00013                 const RotationType& rot, 
00014                 const Surface* parent) :
00015     Surface(pos,rot), Plane(pos,rot),
00016     theParent(parent) {}
00017 
00019   const Surface& parentSurface() {return *theParent;}
00020 
00021 private:
00022   ConstReferenceCountingPointer<Surface> theParent;
00023 
00024 };
00025 #endif