ATLAS Offline Software
Loading...
Searching...
No Matches
TGCModuleId.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3*/
4
6
7namespace MuonTGC_Cabling {
8
9bool TGCModuleId::operator==(const TGCModuleId& moduleId) const {
10 if ((this->getModuleIdType() == moduleId.getModuleIdType()) &&
11 (this->getSideType() == moduleId.getSideType()) &&
12 (this->getRegionType() == moduleId.getRegionType()) &&
13 (this->getSignalType() == moduleId.getSignalType()) &&
14 (this->getModuleType() == moduleId.getModuleType()) &&
15 (this->getSector() == moduleId.getSector()) &&
16 (this->getOctant() == moduleId.getOctant()) &&
17 (this->getId() == moduleId.getId())) {
18 return true;
19 }
20 return false;
21}
22
38
39} // namespace MuonTGC_Cabling
int getOctant() const
Definition TGCId.h:153
RegionType m_region
Definition TGCId.h:119
static constexpr int NUM_INNER_SECTOR
Definition TGCId.h:43
ModuleType getModuleType() const
Definition TGCId.h:137
static constexpr int NUM_ENDCAP_SECTOR
Definition TGCId.h:41
RegionType getRegionType() const
Definition TGCId.h:146
MultipletType m_multiplet
Definition TGCId.h:118
static constexpr int N_RODS
Definition TGCId.h:44
virtual int getSector() const
Definition TGCId.h:156
SideType getSideType() const
Definition TGCId.h:134
static constexpr int NUM_OCTANT
Definition TGCId.h:40
SignalType getSignalType() const
Definition TGCId.h:140
int getId() const
Definition TGCId.h:162
static constexpr int NUM_FORWARD_SECTOR
Definition TGCId.h:42
ModuleIdType getModuleIdType() const
Definition TGCModuleId.h:32
virtual void setSector(int v_sector)
TGCModuleId(ModuleIdType type=NoModuleIdType)
Definition TGCModuleId.h:27
virtual bool operator==(const TGCModuleId &moduleId) const