ATLAS Offline Software
Loading...
Searching...
No Matches
TGCModulePP.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// 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
27 (getOctant() < 8) && (getId() >= 0)) {
28 return true;
29 }
30 return false;
31}
32
33} // namespace MuonTGC_Cabling
void setSideType(SideType side)
Definition TGCId.h:194
int getOctant() const
Definition TGCId.h:153
void setRegionType(RegionType region)
Definition TGCId.h:198
ModuleType getModuleType() const
Definition TGCId.h:137
void setId(int id)
Definition TGCId.h:206
RegionType getRegionType() const
Definition TGCId.h:146
SideType getSideType() const
Definition TGCId.h:134
int getId() const
Definition TGCId.h:162
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)