CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PixelGeomDetUnit.cc
Go to the documentation of this file.
4 
6 
7 PixelGeomDetUnit::PixelGeomDetUnit( BoundPlane* sp, PixelGeomDetType* type,const GeometricDet* gd) :
8  GeomDetUnit(sp), theTopology(new ProxyPixelTopology(type, sp)), theGD(gd)
9 {
11 }
12 
13 const GeomDetType& PixelGeomDetUnit::type() const { return theTopology->type(); }
14 
15 PixelGeomDetType& PixelGeomDetUnit::specificType() const { return theTopology->specificType(); }
16 
17 const Topology& PixelGeomDetUnit::topology() const { return *theTopology; }
18 
20 
22 {
23  theTopology->setSurfaceDeformation(deformation);
24 }
type
Definition: HCALResponse.h:21
virtual const Topology & topology() const
Returns a reference to the pixel proxy topology.
const GeometricDet * theGD
void setDetId(DetId id)
Definition: GeomDet.h:97
PixelGeomDetUnit(BoundPlane *sp, PixelGeomDetType *type, const GeometricDet *gd)
boost::shared_ptr< ProxyPixelTopology > theTopology
DetId geographicalID() const
Definition: GeometricDet.h:195
virtual PixelGeomDetType & specificType() const
virtual const PixelTopology & specificTopology() const
Returns a reference to the pixel proxy topology.
virtual void setSurfaceDeformation(const SurfaceDeformation *deformation)
set the SurfaceDeformation for this StripGeomDetUnit to proxy topology.
virtual const GeomDetType & type() const