ATLAS Offline Software
MuonSpectrometer
MuonCablings
MuonTGC_Cabling
src
TGCModuleSL.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
MuonTGC_Cabling/TGCModuleSL.h
"
6
7
namespace
MuonTGC_Cabling
8
{
9
10
// Constructor
11
TGCModuleSL::TGCModuleSL
(
TGCId::SideType
vside,
12
TGCId::RegionType
vregion,
13
int
vsector)
14
:
TGCModuleId
(
TGCModuleId
::SL)
15
{
16
setSideType
(vside);
17
setRegionType
(vregion);
18
setSector
(vsector);
19
}
20
21
bool
TGCModuleSL::isValid
(
void
)
const
22
{
23
if
((
getSideType
() >
TGCId::NoSideType
) &&
24
(
getSideType
() <
TGCId::MaxSideType
) &&
25
(
getRegionType
()>
TGCId::NoRegionType
) &&
26
(
getRegionType
()<
TGCId::MaxRegionType
)&&
27
(
getOctant
() >=0) &&
28
(
getOctant
() <8) )
29
return
true
;
30
return
false
;
31
}
32
33
}
// end of namespace
MuonTGC_Cabling::TGCModuleSL::isValid
virtual bool isValid(void) const
Definition:
TGCModuleSL.cxx:21
TGCModuleSL.h
MuonTGC_Cabling::TGCId::setRegionType
void setRegionType(RegionType region)
Definition:
TGCId.h:148
MuonTGC_Cabling::TGCId::getSideType
SideType getSideType(void) const
Definition:
TGCId.h:122
MuonTGC_Cabling::TGCId::getRegionType
RegionType getRegionType(void) const
Definition:
TGCId.h:126
MuonTGC_Cabling::TGCId::MaxSideType
@ MaxSideType
Definition:
TGCId.h:46
MuonTGC_Cabling::TGCId::setSideType
void setSideType(SideType side)
Definition:
TGCId.h:144
MuonTGC_Cabling::TGCId::getOctant
int getOctant() const
Definition:
TGCId.h:129
MuonTGC_Cabling
Definition:
TGCCable.h:13
MuonTGC_Cabling::TGCId::MaxRegionType
@ MaxRegionType
Definition:
TGCId.h:54
MuonTGC_Cabling::TGCId::NoRegionType
@ NoRegionType
Definition:
TGCId.h:53
MuonTGC_Cabling::TGCModuleId::setSector
virtual void setSector(int v_sector)
Definition:
TGCModuleId.cxx:23
MuonTGC_Cabling::TGCId::NoSideType
@ NoSideType
Definition:
TGCId.h:45
MuonTGC_Cabling::TGCId::RegionType
RegionType
Definition:
TGCId.h:53
MuonTGC_Cabling::TGCModuleId
Definition:
TGCModuleId.h:13
MuonTGC_Cabling::TGCId::SideType
SideType
Definition:
TGCId.h:45
MuonTGC_Cabling::TGCModuleSL::TGCModuleSL
TGCModuleSL(void)
Definition:
TGCModuleSL.h:26
Generated on Thu Nov 7 2024 21:27:42 for ATLAS Offline Software by
1.8.18