Geometry
TrackerGeometryBuilder
src
StripGeomDetUnit.cc
Go to the documentation of this file.
1
#include "
Geometry/TrackerGeometryBuilder/interface/StripGeomDetUnit.h
"
2
#include "
Geometry/TrackerGeometryBuilder/interface/StripGeomDetType.h
"
3
4
#include "
Geometry/CommonTopologies/interface/SurfaceDeformation.h
"
5
6
StripGeomDetUnit::StripGeomDetUnit
(
BoundPlane
* sp,
StripGeomDetType
const
*
type
,
DetId
id
)
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
17
const
StripTopology
&
StripGeomDetUnit::specificTopology
()
const
{
return
*
theTopology
; }
18
19
void
StripGeomDetUnit::setSurfaceDeformation
(
const
SurfaceDeformation
* deformation) {
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
Generated for CMSSW Reference Manual by
1.8.16