Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:49:07

0001 #include "Geometry/TrackerGeometryBuilder/interface/StripGeomDetUnit.h"
0002 #include "Geometry/TrackerGeometryBuilder/interface/StripGeomDetType.h"
0003 
0004 #include "Geometry/CommonTopologies/interface/SurfaceDeformation.h"
0005 
0006 StripGeomDetUnit::StripGeomDetUnit(BoundPlane* sp, StripGeomDetType const* type, DetId id)
0007     : TrackerGeomDet(sp), theTopology(new ProxyStripTopology(type, sp)) {
0008   setDetId(id);
0009 }
0010 
0011 const GeomDetType& StripGeomDetUnit::type() const { return theTopology->type(); }
0012 
0013 const StripGeomDetType& StripGeomDetUnit::specificType() const { return theTopology->specificType(); }
0014 
0015 const Topology& StripGeomDetUnit::topology() const { return *theTopology; }
0016 
0017 const StripTopology& StripGeomDetUnit::specificTopology() const { return *theTopology; }
0018 
0019 void StripGeomDetUnit::setSurfaceDeformation(const SurfaceDeformation* deformation) {
0020   theTopology->setSurfaceDeformation(deformation);
0021 }