CMS 3D CMS Logo

StripGeomDetUnit.h
Go to the documentation of this file.
1 #ifndef Geometry_TrackerGeometryBuilder_StripGeomDetUnit_H
2 #define Geometry_TrackerGeometryBuilder_StripGeomDetUnit_H
3 
7 
8 class StripGeomDetType;
9 class StripTopology;
10 class SurfaceDeformation;
15 class StripGeomDetUnit final : public TrackerGeomDet {
16 public:
18 
19  // Det interface
20 
27  const GeomDetType& type() const override;
28 
30  const Topology& topology() const override;
31 
38  virtual StripGeomDetType const& specificType() const;
39 
41  virtual const StripTopology& 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<ProxyStripTopology> theTopology;
53 };
54 
55 #endif // Tracker_StripGeomDetUnit_H
StripGeomDetUnit::topology
const Topology & topology() const override
Returns a reference to the strip proxy topology.
Definition: StripGeomDetUnit.cc:15
ProxyStripTopology.h
StripGeomDetUnit::type
const GeomDetType & type() const override
Definition: StripGeomDetUnit.cc:11
TrackerGeomDet
Definition: TrackerGeomDet.h:6
GeomDetType
Definition: GeomDetType.h:9
StripGeomDetUnit::setSurfaceDeformation
void setSurfaceDeformation(const SurfaceDeformation *deformation) override
set the SurfaceDeformation for this StripGeomDetUnit to proxy topology.
Definition: StripGeomDetUnit.cc:19
SurfaceDeformation
Definition: SurfaceDeformation.h:18
DetId
Definition: DetId.h:17
StripGeomDetUnit::isLeaf
bool isLeaf() const override
is a Unit
Definition: StripGeomDetUnit.h:46
TrackerGeomDet.h
type
type
Definition: SiPixelVCal_PayloadInspector.cc:37
StripGeomDetUnit::theTopology
std::unique_ptr< ProxyStripTopology > theTopology
Definition: StripGeomDetUnit.h:52
StripGeomDetUnit::StripGeomDetUnit
StripGeomDetUnit(BoundPlane *sp, StripGeomDetType const *type, DetId id)
Definition: StripGeomDetUnit.cc:6
StripGeomDetType
Definition: StripGeomDetType.h:11
DetId.h
StripGeomDetUnit::specificType
virtual StripGeomDetType const & specificType() const
Definition: StripGeomDetUnit.cc:13
BoundPlane
StripGeomDetUnit::specificTopology
virtual const StripTopology & specificTopology() const
Returns a reference to the strip proxy topology.
Definition: StripGeomDetUnit.cc:17
Topology
Definition: Topology.h:39
StripGeomDetUnit::surfaceDeformation
const SurfaceDeformation * surfaceDeformation() const override
Return pointer to surface deformation.
Definition: StripGeomDetUnit.h:44
StripTopology
Definition: StripTopology.h:11
StripGeomDetUnit
Definition: StripGeomDetUnit.h:15