CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PixelGeomDetUnit.h
Go to the documentation of this file.
1 #ifndef Geometry_TrackerGeometryBuilder_PixelGeomDetUnit_H
2 #define Geometry_TrackerGeometryBuilder_PixelGeomDetUnit_H
3 
4 #include <boost/shared_ptr.hpp>
5 
9 
10 class PixelGeomDetType;
11 class PixelTopology;
12 class GeometricDet;
13 class SurfaceDeformation;
18 class PixelGeomDetUnit : public GeomDetUnit {
19 public:
20 
21  PixelGeomDetUnit(BoundPlane* sp, PixelGeomDetType* type, const GeometricDet* gd);
22 
23  // DetUnit interface
24 
31  virtual const GeomDetType& type() const;
32 
34  virtual const Topology& topology() const;
35 
42  virtual PixelGeomDetType& specificType() const;
43 
45  virtual const PixelTopology& specificTopology() const;
46 
48  virtual const SurfaceDeformation * surfaceDeformation() const {
49  return theTopology->surfaceDeformation();
50  }
51 
52 private:
53 
55  virtual void setSurfaceDeformation(const SurfaceDeformation * deformation);
56 
57  boost::shared_ptr<ProxyPixelTopology> theTopology;
59 };
60 
61 #endif // Tracker_PixelGeomDetUnit_H
type
Definition: HCALResponse.h:21
virtual const Topology & topology() const
Returns a reference to the pixel proxy topology.
const GeometricDet * theGD
PixelGeomDetUnit(BoundPlane *sp, PixelGeomDetType *type, const GeometricDet *gd)
boost::shared_ptr< ProxyPixelTopology > theTopology
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
virtual const SurfaceDeformation * surfaceDeformation() const
Return pointer to surface deformation.