CMS 3D CMS Logo

StripGeomDetUnit.cc
Go to the documentation of this file.
3 
5 
7  : TrackerGeomDet(sp), theTopology(new ProxyStripTopology(type, sp)) {
8  setDetId(id);
9 }
10 
11 const GeomDetType& StripGeomDetUnit::type() const { return theTopology->type(); }
12 
13 const StripGeomDetType& StripGeomDetUnit::specificType() const { return theTopology->specificType(); }
14 
15 const Topology& StripGeomDetUnit::topology() const { return *theTopology; }
16 
18 
20  theTopology->setSurfaceDeformation(deformation);
21 }
GeomDet::setDetId
void setDetId(DetId id)
Definition: GeomDet.h:99
StripGeomDetUnit.h
StripGeomDetUnit::topology
const Topology & topology() const override
Returns a reference to the strip proxy topology.
Definition: StripGeomDetUnit.cc:15
StripGeomDetType.h
StripGeomDetUnit::type
const GeomDetType & type() const override
Definition: StripGeomDetUnit.cc:11
TrackerGeomDet
Definition: TrackerGeomDet.h:6
ProxyStripTopology
Definition: ProxyStripTopology.h:32
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
SurfaceDeformation.h
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
type
type
Definition: HCALResponse.h:21
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
StripTopology
Definition: StripTopology.h:11