Geometry
DTGeometry
src
DTLayer.cc
Go to the documentation of this file.
1
7
/* This Class Header */
8
#include "
Geometry/DTGeometry/interface/DTLayer.h
"
9
10
/* Collaborating Class Header */
11
#include "
Geometry/DTGeometry/interface/DTSuperLayer.h
"
12
13
/* Base Class Headers */
14
15
/* C++ Headers */
16
17
/* ====================================================================== */
18
19
/* Constructor */
20
DTLayer::DTLayer
(
const
DTLayerId
&
id
,
21
ReferenceCountingPointer<BoundPlane>
& plane,
22
const
DTTopology
& topo,
23
const
DTLayerType
&
type
,
24
const
DTSuperLayer
* sl)
25
:
GeomDetUnit
(*&plane), theId(
id
), theTopo(topo), theType(
type
), theSL(sl) {
26
setDetId
(
id
);
27
}
28
29
/* Destructor */
30
DTLayer::~DTLayer
() {}
31
32
/* Operations */
33
const
Topology
&
DTLayer::topology
()
const
{
return
theTopo
; }
34
35
const
GeomDetType
&
DTLayer::type
()
const
{
return
theType
; }
36
37
const
DTTopology
&
DTLayer::specificTopology
()
const
{
return
theTopo
; }
38
39
DTLayerId
DTLayer::id
()
const
{
return
theId
; }
40
41
bool
DTLayer::operator==
(
const
DTLayer
&
l
)
const
{
return
id
() ==
l
.id(); }
42
43
const
DTSuperLayer
*
DTLayer::superLayer
()
const
{
return
theSL
; }
44
45
const
DTChamber
*
DTLayer::chamber
()
const
{
return
(
theSL
) ?
theSL
->
chamber
() :
nullptr
; }
46
47
std::vector<const GeomDet*>
DTLayer::components
()
const
{
return
std::vector<const GeomDet*>(); }
GeomDet::setDetId
void setDetId(DetId id)
Definition:
GeomDet.h:99
DTLayer::operator==
bool operator==(const DTLayer &l) const
True if the id are the same.
Definition:
DTLayer.cc:41
GeomDet
Definition:
GeomDet.h:27
DTChamber
Definition:
DTChamber.h:24
DTLayer::components
std::vector< const GeomDet * > components() const override
A Layer has no components.
Definition:
DTLayer.cc:47
GeomDetType
Definition:
GeomDetType.h:9
DTLayer::superLayer
const DTSuperLayer * superLayer() const
Definition:
DTLayer.cc:43
ReferenceCountingPointer
Definition:
ReferenceCounted.h:60
DTSuperLayer
Definition:
DTSuperLayer.h:24
DTTopology
Definition:
DTTopology.h:28
DTLayer::DTLayer
DTLayer(const DTLayerId &id, ReferenceCountingPointer< BoundPlane > &plane, const DTTopology &topo, const DTLayerType &type, const DTSuperLayer *sl=nullptr)
Definition:
DTLayer.cc:20
DTLayer::theType
DTLayerType theType
Definition:
DTLayer.h:64
DTLayerId
Definition:
DTLayerId.h:12
DTLayer::~DTLayer
~DTLayer() override
Definition:
DTLayer.cc:30
DTLayer.h
DTLayer::theTopo
DTTopology theTopo
Definition:
DTLayer.h:63
type
type
Definition:
SiPixelVCal_PayloadInspector.cc:39
DTLayer::id
DTLayerId id() const
Return the DetId of this SL.
Definition:
DTLayer.cc:39
DTLayer
Definition:
DTLayer.h:25
DTLayer::theSL
const DTSuperLayer * theSL
Definition:
DTLayer.h:66
cmsLHEtoEOSManager.l
l
Definition:
cmsLHEtoEOSManager.py:204
DTLayer::chamber
const DTChamber * chamber() const
Definition:
DTLayer.cc:45
triggerObjects_cff.id
id
Definition:
triggerObjects_cff.py:29
DTLayerType
Definition:
DTLayerType.h:15
DTLayer::theId
DTLayerId theId
Definition:
DTLayer.h:62
DTLayer::specificTopology
const DTTopology & specificTopology() const
Definition:
DTLayer.cc:37
DTLayer::topology
const Topology & topology() const override
Definition:
DTLayer.cc:33
DTLayer::type
const GeomDetType & type() const override
Definition:
DTLayer.cc:35
Topology
Definition:
Topology.h:39
DTSuperLayer::chamber
const DTChamber * chamber() const
Definition:
DTSuperLayer.cc:52
DTSuperLayer.h
Generated for CMSSW Reference Manual by
1.8.16