CMS 3D CMS Logo

MTDGeomDetUnit.cc
Go to the documentation of this file.
3 
5 
7  : MTDGeomDet(sp), theTopology(new ProxyMTDTopology(type, sp)) {
8  setDetId(id);
9 }
10 
11 const GeomDetType& MTDGeomDetUnit::type() const { return theTopology->type(); }
12 
13 const MTDGeomDetType& MTDGeomDetUnit::specificType() const { return theTopology->specificType(); }
14 
15 const Topology& MTDGeomDetUnit::topology() const { return *theTopology; }
16 
18 
20  theTopology->setSurfaceDeformation(deformation);
21 }
GeomDet::setDetId
void setDetId(DetId id)
Definition: GeomDet.h:99
TrackerGeomDet
Definition: TrackerGeomDet.h:6
MTDGeomDetUnit.h
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
SurfaceDeformation.h
type
type
Definition: SiPixelVCal_PayloadInspector.cc:39
MTDGeomDetUnit::type
const GeomDetType & type() const override
Definition: MTDGeomDetUnit.cc:11
MTDGeomDetType.h
MTDGeomDetUnit::specificTopology
virtual const PixelTopology & specificTopology() const
Returns a reference to the pixel proxy topology.
Definition: MTDGeomDetUnit.cc:17
ProxyMTDTopology
Definition: ProxyMTDTopology.h:28
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