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{
11 if((this->getModuleIdType()==moduleId.getModuleIdType())&&
12 (this->getSideType() ==moduleId.getSideType()) &&
13 (this->getRegionType() ==moduleId.getRegionType()) &&
14 (this->getSignalType() ==moduleId.getSignalType()) &&
15 (this->getModuleType() ==moduleId.getModuleType()) &&
16 (this->getSector() ==moduleId.getSector()) &&
17 (this->getOctant() ==moduleId.getOctant()) &&
18 (this->getId() ==moduleId.getId()) )
19 return true;
20 return false;
21}
22
38
39} //end of namespace
int getOctant() const
Definition TGCId.h:128
RegionType m_region
Definition TGCId.h:108
static constexpr int NUM_INNER_SECTOR
Definition TGCId.h:42
ModuleType getModuleType(void) const
Definition TGCId.h:122
static constexpr int NUM_ENDCAP_SECTOR
Definition TGCId.h:40
RegionType getRegionType(void) const
Definition TGCId.h:125
SignalType getSignalType(void) const
Definition TGCId.h:123
MultipletType m_multiplet
Definition TGCId.h:107
static constexpr int N_RODS
Definition TGCId.h:43
virtual int getSector() const
Definition TGCId.h:129
static constexpr int NUM_OCTANT
Definition TGCId.h:39
SideType getSideType(void) const
Definition TGCId.h:121
int getId() const
Definition TGCId.h:131
static constexpr int NUM_FORWARD_SECTOR
Definition TGCId.h:41
virtual void setSector(int v_sector)
ModuleIdType getModuleIdType(void) const
Definition TGCModuleId.h:30
TGCModuleId(ModuleIdType type=NoModuleIdType)
Definition TGCModuleId.h:20
virtual bool operator==(const TGCModuleId &moduleId) const