CMS 3D CMS Logo

All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
MTDGeomDetUnit.h
Go to the documentation of this file.
1 #ifndef Geometry_MTDGeometryBuilder_MTDGeomDetUnit_H
2 #define Geometry_MTDGeometryBuilder_MTDGeomDetUnit_H
3 
7 
8 class MTDGeomDetType;
9 class PixelTopology;
10 class SurfaceDeformation;
15 class MTDGeomDetUnit final : public MTDGeomDet {
16 public:
18 
19  // DetUnit interface
20 
27  const GeomDetType& type() const override;
28 
30  const Topology& topology() const override;
31 
38  virtual const MTDGeomDetType& specificType() const;
39 
41  virtual const PixelTopology& specificTopology() const;
42 
44  const SurfaceDeformation* surfaceDeformation() const override { return theTopology->surfaceDeformation(); }
45 
46  bool isLeaf() const override { return true; }
47 
48 private:
50  void setSurfaceDeformation(const SurfaceDeformation* deformation) override;
51 
52  std::unique_ptr<ProxyMTDTopology> theTopology;
53 };
54 
55 #endif // MTD_MTDGeomDetUnit_H
virtual const MTDGeomDetType & specificType() const
bool isLeaf() const override
is a Unit
const Topology & topology() const override
Returns a reference to the pixel proxy topology.
const SurfaceDeformation * surfaceDeformation() const override
Return pointer to surface deformation.
const GeomDetType & type() const override
MTDGeomDetUnit(BoundPlane *sp, MTDGeomDetType const *type, DetId id)
void setSurfaceDeformation(const SurfaceDeformation *deformation) override
set the SurfaceDeformation for this StripGeomDetUnit to proxy topology.
Definition: DetId.h:17
virtual const PixelTopology & specificTopology() const
Returns a reference to the pixel proxy topology.
std::unique_ptr< ProxyMTDTopology > theTopology