ATLAS Offline Software
Loading...
Searching...
No Matches
TGCModuleSLB.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4
6
7namespace MuonTGC_Cabling {
8
10 TGCId::RegionType vregion, int vsector, int vid,
11 int vsbLoc, int vslbAddr)
13 setSideType(vside);
14 setModuleType(vmodule);
15 setRegionType(vregion);
16 identifyStationType(vmodule);
17 setSector(vsector);
18 setId(vid);
19 m_sbLoc = vsbLoc;
20 m_slbAddr = vslbAddr;
21}
22
25 (getModuleType() <= TGCId::ModuleType::SL_SLB) && // "=" needs to add SL SLB
27 (getOctant() >= 0) && (getOctant() < 8) && (getId() >= 0)) {
28 return true;
29 }
30 return false;
31}
32
44
45} // namespace MuonTGC_Cabling
void setSideType(SideType side)
Definition TGCId.h:182
int getOctant() const
Definition TGCId.h:141
void setRegionType(RegionType region)
Definition TGCId.h:186
ModuleType getModuleType() const
Definition TGCId.h:131
void setId(int id)
Definition TGCId.h:194
RegionType getRegionType() const
Definition TGCId.h:137
void setStation(StationType vstation)
Definition TGCId.cxx:78
SideType getSideType() const
Definition TGCId.h:125
int getId() const
Definition TGCId.h:150
virtual void setModuleType(ModuleType module)
Definition TGCId.cxx:39
virtual void setSector(int v_sector)
TGCModuleId(ModuleIdType type=NoModuleIdType)
Definition TGCModuleId.h:27
void identifyStationType(TGCId::ModuleType module)
TGCModuleSLB(TGCId::SideType side, TGCId::ModuleType module, TGCId::RegionType region, int sector, int id, int sbLoc=-1, int slbAddr=-1)
virtual bool isValid() const