00001 #include "Geometry/TrackerNumberingBuilder/interface/GeometricDet.h" 00002 #include "Geometry/TrackerGeometryBuilder/interface/StripGeomDetUnit.h" 00003 #include "Geometry/TrackerGeometryBuilder/interface/StripGeomDetType.h" 00004 00005 #include "Geometry/CommonTopologies/interface/SurfaceDeformation.h" 00006 00007 StripGeomDetUnit::StripGeomDetUnit( BoundPlane* sp, StripGeomDetType* type,const GeometricDet* gd) : 00008 GeomDetUnit(sp), theTopology(new ProxyStripTopology(type, sp)), theGD(gd) 00009 { 00010 if(theGD) setDetId(theGD->geographicalID()); 00011 } 00012 00013 const GeomDetType& StripGeomDetUnit::type() const { return theTopology->type(); } 00014 00015 StripGeomDetType& StripGeomDetUnit::specificType() const { return theTopology->specificType(); } 00016 00017 const Topology& StripGeomDetUnit::topology() const { return *theTopology; } 00018 00019 const StripTopology& StripGeomDetUnit::specificTopology() const { return *theTopology; } 00020 00021 void StripGeomDetUnit::setSurfaceDeformation(const SurfaceDeformation * deformation) 00022 { 00023 theTopology->setSurfaceDeformation(deformation); 00024 }