Geometry
CommonTopologies
src
PixelGeomDetUnit.cc
Go to the documentation of this file.
1
#include "
Geometry/CommonTopologies/interface/PixelGeomDetUnit.h
"
2
#include "
Geometry/CommonTopologies/interface/PixelGeomDetType.h
"
3
4
#include "
Geometry/CommonTopologies/interface/SurfaceDeformation.h
"
5
6
PixelGeomDetUnit::PixelGeomDetUnit
(
BoundPlane
* sp,
PixelGeomDetType
const
*
type
,
DetId
id
)
7
:
TrackerGeomDet
(sp), theTopology(new
ProxyPixelTopology
(
type
, sp)) {
8
setDetId
(
id
);
9
}
10
11
const
GeomDetType
&
PixelGeomDetUnit::type
()
const
{
return
theTopology
->type(); }
12
13
const
PixelGeomDetType
&
PixelGeomDetUnit::specificType
()
const
{
return
theTopology
->specificType(); }
14
15
const
Topology
&
PixelGeomDetUnit::topology
()
const
{
return
*
theTopology
; }
16
17
const
PixelTopology
&
PixelGeomDetUnit::specificTopology
()
const
{
return
*
theTopology
; }
18
19
void
PixelGeomDetUnit::setSurfaceDeformation
(
const
SurfaceDeformation
* deformation) {
20
theTopology
->setSurfaceDeformation(deformation);
21
}
GeomDet::setDetId
void setDetId(DetId id)
Definition:
GeomDet.h:99
TrackerGeomDet
Definition:
TrackerGeomDet.h:6
GeomDetType
Definition:
GeomDetType.h:9
SurfaceDeformation
Definition:
SurfaceDeformation.h:18
DetId
Definition:
DetId.h:17
PixelGeomDetUnit::PixelGeomDetUnit
PixelGeomDetUnit(BoundPlane *sp, PixelGeomDetType const *type, DetId id)
Definition:
PixelGeomDetUnit.cc:6
PixelGeomDetUnit::setSurfaceDeformation
void setSurfaceDeformation(const SurfaceDeformation *deformation) override
set the SurfaceDeformation for this StripGeomDet to proxy topology.
Definition:
PixelGeomDetUnit.cc:19
PixelGeomDetUnit::specificType
virtual const PixelGeomDetType & specificType() const
Definition:
PixelGeomDetUnit.cc:13
PixelTopology
Definition:
PixelTopology.h:10
SurfaceDeformation.h
PixelGeomDetUnit::topology
const Topology & topology() const override
Returns a reference to the pixel proxy topology.
Definition:
PixelGeomDetUnit.cc:15
type
type
Definition:
SiPixelVCal_PayloadInspector.cc:39
PixelGeomDetUnit::specificTopology
virtual const PixelTopology & specificTopology() const
Returns a reference to the pixel proxy topology.
Definition:
PixelGeomDetUnit.cc:17
PixelGeomDetUnit.h
PixelGeomDetType.h
ProxyPixelTopology
Definition:
ProxyPixelTopology.h:28
PixelGeomDetUnit::type
const GeomDetType & type() const override
Definition:
PixelGeomDetUnit.cc:11
BoundPlane
Topology
Definition:
Topology.h:39
PixelGeomDetUnit::theTopology
std::unique_ptr< ProxyPixelTopology > theTopology
Definition:
PixelGeomDetUnit.h:52
PixelGeomDetType
Definition:
PixelGeomDetType.h:11
Generated for CMSSW Reference Manual by
1.8.16