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
(
TGCIdBase::SideType
vside,
12
TGCIdBase::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
() >
TGCIdBase::NoSideType
) &&
24
(
getSideType
() <
TGCIdBase::MaxSideType
) &&
25
(
getRegionType
()>
TGCIdBase::NoRegionType
) &&
26
(
getRegionType
()<
TGCIdBase::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.cxx:99
TGCIdBase::getRegionType
RegionType getRegionType(void) const
Definition:
TGCIdBase.cxx:41
TGCIdBase::NoRegionType
@ NoRegionType
Definition:
TGCIdBase.h:39
TGCIdBase::MaxRegionType
@ MaxRegionType
Definition:
TGCIdBase.h:40
MuonTGC_Cabling::TGCId::setSideType
void setSideType(SideType side)
Definition:
TGCId.cxx:47
MuonTGC_Cabling::TGCId::setSector
virtual void setSector(int sector)
Definition:
TGCId.cxx:115
MuonTGC_Cabling
Definition:
TGCCable.h:13
TGCIdBase::getSideType
SideType getSideType(void) const
Definition:
TGCIdBase.cxx:37
TGCIdBase::RegionType
RegionType
Definition:
TGCIdBase.h:39
TGCIdBase::NoSideType
@ NoSideType
Definition:
TGCIdBase.h:31
TGCIdBase::getOctant
int getOctant(void) const
Definition:
TGCIdBase.cxx:44
TGCIdBase::SideType
SideType
Definition:
TGCIdBase.h:31
MuonTGC_Cabling::TGCModuleId
Definition:
TGCModuleId.h:14
TGCIdBase::MaxSideType
@ MaxSideType
Definition:
TGCIdBase.h:32
MuonTGC_Cabling::TGCModuleSL::TGCModuleSL
TGCModuleSL(void)
Definition:
TGCModuleSL.h:26
Generated on Thu Jul 4 2024 21:28:32 for ATLAS Offline Software by
1.8.18