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
11 int vreadoutSector,
12 int vid)
14{
15 setSideType(vside);
16 setReadoutSector(vreadoutSector);
17 setId(vid);
18}
19
20bool TGCModuleSSW::isValid(void) const
21{
24 (getReadoutSector() >=0) &&
26 (getId() >=0) )
27 return true;
28 return false;
29}
30
31} // 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
int getId() const
Definition TGCId.h:131
void setReadoutSector(int sector)
Definition TGCModuleId.h:37
TGCModuleId(ModuleIdType type=NoModuleIdType)
Definition TGCModuleId.h:20
virtual bool isValid(void) const