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 
22 
23  // DetUnit interface
24 
31  virtual const GeomDetType& type() const;
32 
34  virtual const Topology& topology() const;
35 
42  virtual const 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
boost::shared_ptr< ProxyPixelTopology > theTopology
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 SurfaceDeformation * surfaceDeformation() const
Return pointer to surface deformation.
virtual const PixelGeomDetType & specificType() const