test
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 SurfaceDeformation;
17 class StripGeomDetUnit final : public TrackerGeomDet {
18 public:
19 
21 
22  // Det interface
23 
30  virtual const GeomDetType& type() const override;
31 
33  virtual const Topology& topology() const override;
34 
41  virtual StripGeomDetType const & specificType() const;
42 
44  virtual const StripTopology& specificTopology() const;
45 
47  virtual const SurfaceDeformation * surfaceDeformation() const {
48  return theTopology->surfaceDeformation();
49  }
50 
51  bool isLeaf() const override { return true;}
52 
53 
54 private:
55 
57  virtual void setSurfaceDeformation(const SurfaceDeformation * deformation);
58 
59  std::unique_ptr<ProxyStripTopology> theTopology;
60 };
61 
62 #endif // Tracker_StripGeomDetUnit_H
type
Definition: HCALResponse.h:21
bool isLeaf() const override
is a Unit
virtual const StripTopology & specificTopology() const
Returns a reference to the strip proxy topology.
StripGeomDetUnit(BoundPlane *sp, StripGeomDetType const *type, DetId id)
virtual void setSurfaceDeformation(const SurfaceDeformation *deformation)
set the SurfaceDeformation for this StripGeomDetUnit to proxy topology.
std::unique_ptr< ProxyStripTopology > theTopology
virtual StripGeomDetType const & specificType() const
virtual const SurfaceDeformation * surfaceDeformation() const
Return pointer to surface deformation.
virtual const Topology & topology() const override
Returns a reference to the strip proxy topology.
Definition: DetId.h:18
virtual const GeomDetType & type() const override
Definition: sp.h:21