ATLAS Offline Software
InnerDetector
InDetDetDescr
SCT_GeoModel
SCT_GeoModel
SCT_Identifier.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef SCT_GEOMODEL_SCT_IDENTIFIER_H
6
#define SCT_GEOMODEL_SCT_IDENTIFIER_H
7
8
class
Identifier
;
9
class
SCT_ID
;
10
11
class
SCT_Identifier
12
{
13
public
:
14
15
SCT_Identifier
(
const
SCT_ID
* idHelper,
16
int
barrelEC = 0,
17
int
layerDisk = 0,
18
int
phiModule
= 0,
19
int
etaModule = 0,
20
int
side
= 0)
21
:
m_idHelper
{idHelper},
22
m_barrelEC
{barrelEC},
23
m_layerDisk
{layerDisk},
24
m_phiModule
{
phiModule
},
25
m_etaModule
{etaModule},
26
m_side
{
side
}
27
{};
28
29
30
void
setBarrelEC
(
int
i
) {
m_barrelEC
=
i
;}
31
int
getBarrelEC
()
const
{
return
m_barrelEC
;}
32
33
void
setLayerDisk
(
int
i
) {
m_layerDisk
=
i
;}
34
int
getLayerDisk
()
const
{
return
m_layerDisk
;}
35
36
void
setEtaModule
(
int
i
) {
m_etaModule
=
i
;}
37
int
getEtaModule
()
const
{
return
m_etaModule
;}
38
39
void
setPhiModule
(
int
i
) {
m_phiModule
=
i
;}
40
int
getPhiModule
()
const
{
return
m_phiModule
;}
41
42
void
setSide
(
int
i
) {
m_side
=
i
;}
43
int
getSide
()
const
{
return
m_side
;}
44
45
Identifier
getWaferId
();
46
47
// For debugging purposes.
48
void
print
()
const
;
49
50
private
:
51
const
SCT_ID
*
m_idHelper
;
52
int
m_barrelEC
;
53
int
m_layerDisk
;
54
int
m_phiModule
;
55
int
m_etaModule
;
56
int
m_side
;
57
};
58
59
#endif // SCT_GEOMODEL_SCT_IDENTIFIER_H
SCT_Identifier::m_etaModule
int m_etaModule
Definition:
SCT_Identifier.h:55
SCT_Identifier
Definition:
SCT_Identifier.h:12
SCT_Identifier::m_idHelper
const SCT_ID * m_idHelper
Definition:
SCT_Identifier.h:51
SCT_Identifier::m_layerDisk
int m_layerDisk
Definition:
SCT_Identifier.h:53
SCT_Identifier::getLayerDisk
int getLayerDisk() const
Definition:
SCT_Identifier.h:34
SCT_Identifier::getBarrelEC
int getBarrelEC() const
Definition:
SCT_Identifier.h:31
SCT_Identifier::getPhiModule
int getPhiModule() const
Definition:
SCT_Identifier.h:40
SCT_Identifier::getWaferId
Identifier getWaferId()
Definition:
SCT_Identifier.cxx:13
SCT_Identifier::print
void print() const
Definition:
SCT_Identifier.cxx:19
SCT_Identifier::setBarrelEC
void setBarrelEC(int i)
Definition:
SCT_Identifier.h:30
SCT_Identifier::m_barrelEC
int m_barrelEC
Definition:
SCT_Identifier.h:52
TRT::Hit::side
@ side
Definition:
HitInfo.h:83
SCT_Identifier::setEtaModule
void setEtaModule(int i)
Definition:
SCT_Identifier.h:36
lumiFormat.i
int i
Definition:
lumiFormat.py:85
SCT_Identifier::setSide
void setSide(int i)
Definition:
SCT_Identifier.h:42
SCT_Identifier::getSide
int getSide() const
Definition:
SCT_Identifier.h:43
TRT::Hit::phiModule
@ phiModule
Definition:
HitInfo.h:80
SCT_ID
Definition:
SCT_ID.h:68
SCT_Identifier::m_phiModule
int m_phiModule
Definition:
SCT_Identifier.h:54
SCT_Identifier::setLayerDisk
void setLayerDisk(int i)
Definition:
SCT_Identifier.h:33
SCT_Identifier::SCT_Identifier
SCT_Identifier(const SCT_ID *idHelper, int barrelEC=0, int layerDisk=0, int phiModule=0, int etaModule=0, int side=0)
Definition:
SCT_Identifier.h:15
SCT_Identifier::setPhiModule
void setPhiModule(int i)
Definition:
SCT_Identifier.h:39
SCT_Identifier::getEtaModule
int getEtaModule() const
Definition:
SCT_Identifier.h:37
SCT_Identifier::m_side
int m_side
Definition:
SCT_Identifier.h:56
Identifier
Definition:
IdentifierFieldParser.cxx:14
Generated on Fri Jan 10 2025 21:17:17 for ATLAS Offline Software by
1.8.18