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