CMS 3D CMS Logo

MTDGeomDetUnit.cc
Go to the documentation of this file.
3 
5 
7  : MTDGeomDet(sp), theTopology(new ProxyMTDTopology(type, sp)) {
8  setDetId(id);
9 }
10 
11 const GeomDetType& MTDGeomDetUnit::type() const { return theTopology->type(); }
12 
13 const MTDGeomDetType& MTDGeomDetUnit::specificType() const { return theTopology->specificType(); }
14 
15 const Topology& MTDGeomDetUnit::topology() const { return *theTopology; }
16 
18 
20  theTopology->setSurfaceDeformation(deformation);
21 }
virtual const MTDGeomDetType & specificType() const
void setDetId(DetId id)
Definition: GeomDet.h:99
const Topology & topology() const override
Returns a reference to the pixel proxy topology.
const GeomDetType & type() const override
MTDGeomDetUnit(BoundPlane *sp, MTDGeomDetType const *type, DetId id)
void setSurfaceDeformation(const SurfaceDeformation *deformation) override
set the SurfaceDeformation for this StripGeomDetUnit to proxy topology.
Definition: DetId.h:17
virtual const PixelTopology & specificTopology() const
Returns a reference to the pixel proxy topology.
std::unique_ptr< ProxyMTDTopology > theTopology