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:
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
MTDGeomDetUnit::isLeaf
bool isLeaf() const override
is a Unit
Definition: MTDGeomDetUnit.h:46
MTDGeomDet.h
TrackerGeomDet
Definition: TrackerGeomDet.h:6
GeomDetType
Definition: GeomDetType.h:9
SurfaceDeformation
Definition: SurfaceDeformation.h:18
MTDGeomDetUnit::specificType
virtual const MTDGeomDetType & specificType() const
Definition: MTDGeomDetUnit.cc:13
DetId
Definition: DetId.h:17
MTDGeomDetType
Definition: MTDGeomDetType.h:11
MTDGeomDetUnit::topology
const Topology & topology() const override
Returns a reference to the pixel proxy topology.
Definition: MTDGeomDetUnit.cc:15
PixelTopology
Definition: PixelTopology.h:10
MTDGeomDetUnit::MTDGeomDetUnit
MTDGeomDetUnit(BoundPlane *sp, MTDGeomDetType const *type, DetId id)
Definition: MTDGeomDetUnit.cc:6
type
type
Definition: SiPixelVCal_PayloadInspector.cc:37
MTDGeomDetUnit::type
const GeomDetType & type() const override
Definition: MTDGeomDetUnit.cc:11
MTDGeomDetUnit::specificTopology
virtual const PixelTopology & specificTopology() const
Returns a reference to the pixel proxy topology.
Definition: MTDGeomDetUnit.cc:17
MTDGeomDetUnit
Definition: MTDGeomDetUnit.h:15
ProxyMTDTopology.h
MTDGeomDetUnit::surfaceDeformation
const SurfaceDeformation * surfaceDeformation() const override
Return pointer to surface deformation.
Definition: MTDGeomDetUnit.h:44
DetId.h
BoundPlane
Topology
Definition: Topology.h:39
MTDGeomDetUnit::setSurfaceDeformation
void setSurfaceDeformation(const SurfaceDeformation *deformation) override
set the SurfaceDeformation for this StripGeomDetUnit to proxy topology.
Definition: MTDGeomDetUnit.cc:19
MTDGeomDetUnit::theTopology
std::unique_ptr< ProxyMTDTopology > theTopology
Definition: MTDGeomDetUnit.h:52