ATLAS Offline Software
TGCModuleId.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 
7 namespace MuonTGC_Cabling {
8 
9 bool 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 
23 } //end of namespace
MuonTGC_Cabling::TGCModuleId::getModuleIdType
ModuleIdType getModuleIdType(void) const
Definition: TGCModuleId.h:28
TGCIdBase::getRegionType
RegionType getRegionType(void) const
Definition: TGCIdBase.cxx:41
TGCModuleId.h
TGCIdBase::getModuleType
ModuleType getModuleType(void) const
Definition: TGCIdBase.cxx:38
TGCIdBase::getSector
virtual int getSector(void) const
Definition: TGCIdBase.cxx:45
MuonTGC_Cabling::TGCModuleId::operator==
virtual bool operator==(const TGCModuleId &moduleId) const
Definition: TGCModuleId.cxx:9
MuonTGC_Cabling
Definition: TGCCable.h:13
TGCIdBase::getSideType
SideType getSideType(void) const
Definition: TGCIdBase.cxx:37
TGCIdBase::getSignalType
SignalType getSignalType(void) const
Definition: TGCIdBase.cxx:39
TGCIdBase::getOctant
int getOctant(void) const
Definition: TGCIdBase.cxx:44
MuonTGC_Cabling::TGCModuleId
Definition: TGCModuleId.h:14
TGCIdBase::getId
int getId(void) const
Definition: TGCIdBase.cxx:48