ATLAS Offline Software
Loading...
Searching...
No Matches
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
6
7namespace MuonTGC_Cabling
8{
9
10// Constructor
12 TGCId::RegionType vregion,
13 int vsector)
15{
16 setSideType(vside);
17 setRegionType(vregion);
18 setSector(vsector);
19}
20
21bool TGCModuleSL::isValid(void) const
22{
27 (getOctant() >=0) &&
28 (getOctant() <8) )
29 return true;
30 return false;
31}
32
33} // end of namespace
void setSideType(SideType side)
Definition TGCId.h:143
int getOctant() const
Definition TGCId.h:128
void setRegionType(RegionType region)
Definition TGCId.h:147
RegionType getRegionType(void) const
Definition TGCId.h:125
SideType getSideType(void) const
Definition TGCId.h:121
virtual void setSector(int v_sector)
TGCModuleId(ModuleIdType type=NoModuleIdType)
Definition TGCModuleId.h:20
virtual bool isValid(void) const