ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonCablings
MuonTGC_Cabling
src
TGCModuleSL.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
MuonTGC_Cabling/TGCModuleSL.h
"
6
7
namespace
MuonTGC_Cabling
{
8
9
// Constructor
10
TGCModuleSL::TGCModuleSL
(
TGCId::SideType
vside,
TGCId::RegionType
vregion,
11
int
vsector)
12
:
TGCModuleId
(
TGCModuleId
::
SL
) {
13
setSideType
(vside);
14
setRegionType
(vregion);
15
setSector
(vsector);
16
}
17
18
bool
TGCModuleSL::isValid
()
const
{
19
if
((
getSideType
() <
TGCId::SideType::MaxSideType
) &&
20
(
getRegionType
() <
TGCId::RegionType::MaxRegionType
) &&
21
(
getOctant
() >= 0) && (
getOctant
() < 8)) {
22
return
true
;
23
}
24
return
false
;
25
}
26
27
}
// namespace MuonTGC_Cabling
TGCModuleSL.h
MuonTGC_Cabling::TGCId::setSideType
void setSideType(SideType side)
Definition
TGCId.h:182
MuonTGC_Cabling::TGCId::getOctant
int getOctant() const
Definition
TGCId.h:141
MuonTGC_Cabling::TGCId::setRegionType
void setRegionType(RegionType region)
Definition
TGCId.h:186
MuonTGC_Cabling::TGCId::getRegionType
RegionType getRegionType() const
Definition
TGCId.h:137
MuonTGC_Cabling::TGCId::RegionType
RegionType
Definition
TGCId.h:59
MuonTGC_Cabling::TGCId::RegionType::MaxRegionType
@ MaxRegionType
Definition
TGCId.h:59
MuonTGC_Cabling::TGCId::getSideType
SideType getSideType() const
Definition
TGCId.h:125
MuonTGC_Cabling::TGCId::SideType
SideType
Definition
TGCId.h:48
MuonTGC_Cabling::TGCId::SideType::MaxSideType
@ MaxSideType
Definition
TGCId.h:48
MuonTGC_Cabling::TGCModuleId::SL
@ SL
Definition
TGCModuleId.h:19
MuonTGC_Cabling::TGCModuleId::setSector
virtual void setSector(int v_sector)
Definition
TGCModuleId.cxx:23
MuonTGC_Cabling::TGCModuleId::TGCModuleId
TGCModuleId(ModuleIdType type=NoModuleIdType)
Definition
TGCModuleId.h:27
MuonTGC_Cabling::TGCModuleSL::isValid
virtual bool isValid() const
Definition
TGCModuleSL.cxx:18
MuonTGC_Cabling::TGCModuleSL::TGCModuleSL
TGCModuleSL(TGCId::SideType side, TGCId::RegionType region, int sector)
Definition
TGCModuleSL.cxx:10
MuonTGC_Cabling
Definition
TGCCable.h:12
Generated on
for ATLAS Offline Software by
1.17.0