ATLAS Offline Software
Loading...
Searching...
No Matches
TGCChannelASDOut.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4
6
7namespace MuonTGC_Cabling {
8
9// Constructor
11 TGCId::SignalType vsignal,
12 TGCId::RegionType vregion, int vsector,
13 int vlayer, int vchamber, int vchannel)
15 setSideType(vside);
16 setRegionType(vregion);
17 setSector(vsector);
18 setSignalAndLayer(vsignal, vlayer);
19 setChamber(vchamber);
20 setChannel(vchannel);
21}
22
24 TGCId::SignalType vsignal, int voctant,
25 int vsectorModule, int vlayer, int vchamber,
26 int vchannel)
28 setSideType(vside);
29 setSignalAndLayer(vsignal, vlayer); // SignalType as well as Layer (to define station,Module)
30 setOctant(voctant);
31 setSectorModule(vsectorModule); // after setOctant() method
32 setChamber(vchamber);
33 setChannel(vchannel);
34}
35
40 (getOctant() >= 0) && (getOctant() < 8) &&
41 (getLayer() >= 0) && (getChamber() >= 0) &&
42 (getChannel() >= 0)) {
43 return true;
44 }
45 return false;
46}
47
48} // namespace MuonTGC_Cabling
virtual bool isValid() const override
void setSignalAndLayer(TGCId::SignalType signal, int layer)
virtual void setChannel(int channel)
TGCChannelId(ChannelIdType type=ChannelIdType::NoChannelIdType)
void setSideType(SideType side)
Definition TGCId.h:182
int getOctant() const
Definition TGCId.h:141
void setRegionType(RegionType region)
Definition TGCId.h:186
void setSectorModule(int sectorModule)
Definition TGCId.cxx:125
virtual void setOctant(int voctant)
Definition TGCId.cxx:95
int getChamber() const
Definition TGCId.h:147
RegionType getRegionType() const
Definition TGCId.h:137
virtual void setSector(int vsector)
Definition TGCId.cxx:82
SideType getSideType() const
Definition TGCId.h:125
SignalType getSignalType() const
Definition TGCId.h:134
virtual void setChamber(int chamber)
Definition TGCId.h:190