CMS 3D CMS Logo

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:
17 
19 
20  // DetUnit interface
21 
28  const GeomDetType& type() const override;
29 
31  const Topology& topology() const override;
32 
39  virtual const MTDGeomDetType& specificType() const;
40 
42  virtual const PixelTopology& specificTopology() const;
43 
45  const SurfaceDeformation * surfaceDeformation() const override {
46  return theTopology->surfaceDeformation();
47  }
48 
49  bool isLeaf() const override { return true;}
50 
51 private:
52 
54  void setSurfaceDeformation(const SurfaceDeformation * deformation) override;
55 
56  std::unique_ptr<ProxyMTDTopology> theTopology;
57 };
58 
59 #endif // MTD_MTDGeomDetUnit_H
type
Definition: HCALResponse.h:21
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:18
virtual const PixelTopology & specificTopology() const
Returns a reference to the pixel proxy topology.
const SurfaceDeformation * surfaceDeformation() const override
Return pointer to surface deformation.
bool isLeaf() const override
is a Unit
virtual const MTDGeomDetType & specificType() const
const Topology & topology() const override
Returns a reference to the pixel proxy topology.
std::unique_ptr< ProxyMTDTopology > theTopology