CMS 3D CMS Logo

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