CMS 3D CMS Logo

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