ATLAS Offline Software
Loading...
Searching...
No Matches
TGCModuleSSW.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
9// Constructor
10TGCModuleSSW::TGCModuleSSW(TGCId::SideType vside, int vreadoutSector, int vid)
12 setSideType(vside);
13 setReadoutSector(vreadoutSector);
14 setId(vid);
15}
16
17bool TGCModuleSSW::isValid(void) const {
20 (getReadoutSector() < N_RODS) && (getId() >= 0)) {
21 return true;
22 }
23 return false;
24}
25
26} // namespace MuonTGC_Cabling
void setSideType(SideType side)
Definition TGCId.h:194
void setId(int id)
Definition TGCId.h:206
static constexpr int N_RODS
Definition TGCId.h:44
SideType getSideType(void) const
Definition TGCId.h:134
int getId() const
Definition TGCId.h:162
void setReadoutSector(int sector)
Definition TGCModuleId.h:41
TGCModuleId(ModuleIdType type=NoModuleIdType)
Definition TGCModuleId.h:27
virtual bool isValid(void) const