CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
StripGeomDetUnit.h
Go to the documentation of this file.
1 #ifndef Geometry_TrackerGeometryBuilder_StripGeomDetUnit_H
2 #define Geometry_TrackerGeometryBuilder_StripGeomDetUnit_H
3 
4 #include <boost/shared_ptr.hpp>
5 
9 
10 class StripGeomDetType;
11 class StripTopology;
12 class GeometricDet;
13 class SurfaceDeformation;
18 class StripGeomDetUnit : public GeomDetUnit {
19 public:
20 
21  StripGeomDetUnit( BoundPlane* sp, StripGeomDetType const * type, GeometricDet const * gd);
22 
23  // Det interface
24 
31  virtual const GeomDetType& type() const;
32 
34  virtual const Topology& topology() const;
35 
42  virtual StripGeomDetType const & specificType() const;
43 
45  virtual const StripTopology& 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<ProxyStripTopology> theTopology;
59 };
60 
61 #endif // Tracker_StripGeomDetUnit_H
type
Definition: HCALResponse.h:21
boost::shared_ptr< ProxyStripTopology > theTopology
const GeometricDet * theGD
virtual const StripTopology & specificTopology() const
Returns a reference to the strip proxy topology.
StripGeomDetUnit(BoundPlane *sp, StripGeomDetType const *type, GeometricDet const *gd)
virtual void setSurfaceDeformation(const SurfaceDeformation *deformation)
set the SurfaceDeformation for this StripGeomDetUnit to proxy topology.
virtual StripGeomDetType const & specificType() const
virtual const SurfaceDeformation * surfaceDeformation() const
Return pointer to surface deformation.
virtual const Topology & topology() const
Returns a reference to the strip proxy topology.
virtual const GeomDetType & type() const