ATLAS Offline Software
Loading...
Searching...
No Matches
SCT_Identifier.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 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
8class Identifier;
9class SCT_ID;
10
12{
13public:
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
46
47 // For debugging purposes.
48 void print() const;
49
50private:
56 int m_side;
57};
58
59#endif // SCT_GEOMODEL_SCT_IDENTIFIER_H
This is an Identifier helper class for the SCT subdetector.
Definition SCT_ID.h:68
void setLayerDisk(int i)
void setEtaModule(int i)
int getLayerDisk() const
int getSide() const
void setBarrelEC(int i)
void setSide(int i)
int getEtaModule() const
int getBarrelEC() const
void print() const
Identifier getWaferId()
SCT_Identifier(const SCT_ID *idHelper, int barrelEC=0, int layerDisk=0, int phiModule=0, int etaModule=0, int side=0)
const SCT_ID * m_idHelper
void setPhiModule(int i)
int getPhiModule() const