ATLAS Offline Software
MuonSpectrometer
MuonCablings
MuonTGC_Cabling
MuonTGC_Cabling
TGCModuleId.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef MUONTGC_CABLING_TGCMODULEID_H
6
#define MUONTGC_CABLING_TGCMODULEID_H
7
8
#include "
MuonTGC_Cabling/TGCId.h
"
9
10
namespace
MuonTGC_Cabling
{
11
12
class
TGCModuleId
:
public
TGCId
13
{
14
public
:
15
enum
ModuleIdType
{
NoModuleIdType
=-1,
16
PP
,
SLB
,
HPB
,
SL
,
SSW
,
ROD
,
SROD
,
17
MaxModuleIdType
};
18
19
// Constructor & Destructor
20
TGCModuleId
(
ModuleIdType
type
=
NoModuleIdType
)
21
:
TGCId
(
IdType
::Module) {
22
this->
m_type
=
type
;
23
}
24
virtual
~TGCModuleId
(
void
) {}
25
26
enum
{
27
NumberOfSReadoutSector
= 3
28
};
29
30
ModuleIdType
getModuleIdType
(
void
)
const
{
return
m_type
; }
31
32
virtual
bool
operator ==
(
const
TGCModuleId
& moduleId)
const
;
33
34
virtual
bool
isValid
(
void
)
const
{
return
true
; }
35
36
int
getReadoutSector
()
const
{
return
m_sectorRO
; }
37
void
setReadoutSector
(
int
sector) {
m_sectorRO
= sector; }
38
virtual
void
setSector
(
int
v_sector);
39
40
private
:
41
ModuleIdType
m_type
;
42
int
m_sectorRO
{-1};
43
};
44
45
}
// end of namespace
46
47
#endif
MuonTGC_Cabling::TGCModuleId::getModuleIdType
ModuleIdType getModuleIdType(void) const
Definition:
TGCModuleId.h:30
MuonTGC_Cabling::TGCModuleId::ROD
@ ROD
Definition:
TGCModuleId.h:16
MuonTGC_Cabling::TGCModuleId::m_type
ModuleIdType m_type
Definition:
TGCModuleId.h:41
MuonTGC_Cabling::TGCModuleId::getReadoutSector
int getReadoutSector() const
Definition:
TGCModuleId.h:36
MuonTGC_Cabling::TGCModuleId::SLB
@ SLB
Definition:
TGCModuleId.h:16
MuonTGC_Cabling::TGCModuleId::setReadoutSector
void setReadoutSector(int sector)
Definition:
TGCModuleId.h:37
MuonTGC_Cabling::TGCId
Definition:
TGCId.h:10
TGCId.h
MuonTGC_Cabling::TGCModuleId::PP
@ PP
Definition:
TGCModuleId.h:16
MuonTGC_Cabling::TGCModuleId::SSW
@ SSW
Definition:
TGCModuleId.h:16
MuonTGC_Cabling::TGCModuleId::operator==
virtual bool operator==(const TGCModuleId &moduleId) const
Definition:
TGCModuleId.cxx:9
MuonTGC_Cabling::TGCModuleId::NumberOfSReadoutSector
@ NumberOfSReadoutSector
Definition:
TGCModuleId.h:27
MuonTGC_Cabling
Definition:
TGCCable.h:13
MuonTGC_Cabling::TGCModuleId::SL
@ SL
Definition:
TGCModuleId.h:16
MuonTGC_Cabling::TGCModuleId::NoModuleIdType
@ NoModuleIdType
Definition:
TGCModuleId.h:15
MuonTGC_Cabling::TGCModuleId::TGCModuleId
TGCModuleId(ModuleIdType type=NoModuleIdType)
Definition:
TGCModuleId.h:20
MuonTGC_Cabling::TGCModuleId::ModuleIdType
ModuleIdType
Definition:
TGCModuleId.h:15
MuonTGC_Cabling::TGCModuleId::HPB
@ HPB
Definition:
TGCModuleId.h:16
MuonTGC_Cabling::TGCModuleId::SROD
@ SROD
Definition:
TGCModuleId.h:16
MuonTGC_Cabling::TGCModuleId::setSector
virtual void setSector(int v_sector)
Definition:
TGCModuleId.cxx:23
MuonTGC_Cabling::TGCModuleId::m_sectorRO
int m_sectorRO
Definition:
TGCModuleId.h:42
MuonTGC_Cabling::TGCModuleId::~TGCModuleId
virtual ~TGCModuleId(void)
Definition:
TGCModuleId.h:24
python.CaloScaleNoiseConfig.type
type
Definition:
CaloScaleNoiseConfig.py:78
MuonTGC_Cabling::TGCModuleId
Definition:
TGCModuleId.h:13
MuonTGC_Cabling::TGCModuleId::isValid
virtual bool isValid(void) const
Definition:
TGCModuleId.h:34
MuonTGC_Cabling::TGCId::IdType
IdType
Definition:
TGCId.h:12
MuonTGC_Cabling::TGCModuleId::MaxModuleIdType
@ MaxModuleIdType
Definition:
TGCModuleId.h:17
Generated on Sun Dec 22 2024 21:19:25 for ATLAS Offline Software by
1.8.18