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 const * 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 const 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
boost::shared_ptr< ProxyPixelTopology > theTopology
DetId geographicalID() const
Definition: GeometricDet.h:201
PixelGeomDetUnit(BoundPlane *sp, PixelGeomDetType const *type, GeometricDet const *gd)
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
virtual const PixelGeomDetType & specificType() const