test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
StripGeomDetUnit.cc
Go to the documentation of this file.
3 
5 
7  TrackerGeomDet(sp), theTopology(new ProxyStripTopology(type, sp))
8 {
9  setDetId(id);
10 }
11 
12 const GeomDetType& StripGeomDetUnit::type() const { return theTopology->type(); }
13 
14 const StripGeomDetType& StripGeomDetUnit::specificType() const { return theTopology->specificType(); }
15 
16 const Topology& StripGeomDetUnit::topology() const { return *theTopology; }
17 
19 
21 {
22  theTopology->setSurfaceDeformation(deformation);
23 }
type
Definition: HCALResponse.h:21
void setDetId(DetId id)
Definition: GeomDet.h:120
virtual const StripTopology & specificTopology() const
Returns a reference to the strip proxy topology.
StripGeomDetUnit(BoundPlane *sp, StripGeomDetType const *type, DetId id)
virtual void setSurfaceDeformation(const SurfaceDeformation *deformation)
set the SurfaceDeformation for this StripGeomDetUnit to proxy topology.
std::unique_ptr< ProxyStripTopology > theTopology
virtual StripGeomDetType const & specificType() const
virtual const Topology & topology() const override
Returns a reference to the strip proxy topology.
Definition: DetId.h:18
virtual const GeomDetType & type() const override
Definition: sp.h:21