Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:14:23

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