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.
4 
6 
7 StripGeomDetUnit::StripGeomDetUnit( BoundPlane* sp, StripGeomDetType* type,const GeometricDet* gd) :
8  GeomDetUnit(sp), theTopology(new ProxyStripTopology(type, sp)), theGD(gd)
9 {
11 }
12 
13 const GeomDetType& StripGeomDetUnit::type() const { return theTopology->type(); }
14 
15 StripGeomDetType& StripGeomDetUnit::specificType() const { return theTopology->specificType(); }
16 
17 const Topology& StripGeomDetUnit::topology() const { return *theTopology; }
18 
20 
22 {
23  theTopology->setSurfaceDeformation(deformation);
24 }
type
Definition: HCALResponse.h:21
void setDetId(DetId id)
Definition: GeomDet.h:97
boost::shared_ptr< ProxyStripTopology > theTopology
const GeometricDet * theGD
DetId geographicalID() const
Definition: GeometricDet.h:195
virtual const StripTopology & specificTopology() const
Returns a reference to the strip proxy topology.
StripGeomDetUnit(BoundPlane *sp, StripGeomDetType *type, const GeometricDet *gd)
virtual void setSurfaceDeformation(const SurfaceDeformation *deformation)
set the SurfaceDeformation for this StripGeomDetUnit to proxy topology.
virtual const Topology & topology() const
Returns a reference to the strip proxy topology.
virtual StripGeomDetType & specificType() const
virtual const GeomDetType & type() const