ATLAS Offline Software
Loading...
Searching...
No Matches
TGCModulePP.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
9// Constructor
11 TGCId::RegionType vregion, int vsector, int vid)
13 setSideType(vside);
14 setModuleType(vmodule);
15 setRegionType(vregion);
16 setSector(vsector);
17 setId(vid);
18}
19
21 TGCId::ModuleType vmodule, TGCId::RegionType vregion,
22 int vsector, int vid)
24 setSideType(vside);
25 setStation(vstation);
26 setModuleType(vmodule);
27 setRegionType(vregion);
28 setSector(vsector);
29 setId(vid);
30}
31
36 (getOctant() >= 0) && (getOctant() < 8) && (getId() >= 0)) {
37 return true;
38 }
39 return false;
40}
41
42} // 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
virtual bool isValid() const
TGCModulePP(TGCId::SideType side, TGCId::ModuleType module, TGCId::RegionType region, int sector, int id)