ATLAS Offline Software
Loading...
Searching...
No Matches
TGCModuleROD.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
11 int vreadoutSector)
13{
14 setSideType(vside);
15 setReadoutSector(vreadoutSector);
16 int rodId = vreadoutSector+1;
17 setId(rodId);
18}
19
20bool TGCModuleROD::isValid(void) const
21{
24 (getReadoutSector() >=0) &&
26 return true;
27 return false;
28}
29
30} // end of namespace
void setSideType(SideType side)
Definition TGCId.h:143
void setId(int id)
Definition TGCId.h:155
static constexpr int N_RODS
Definition TGCId.h:43
SideType getSideType(void) const
Definition TGCId.h:121
void setReadoutSector(int sector)
Definition TGCModuleId.h:37
TGCModuleId(ModuleIdType type=NoModuleIdType)
Definition TGCModuleId.h:20
virtual bool isValid(void) const