ATLAS Offline Software
Loading...
Searching...
No Matches
TGCChannelHPBIn.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
8
9namespace MuonTGC_Cabling {
10
11// Constructor
13 TGCId::SignalType vsignal,
14 TGCId::RegionType vregion, int vsector,
15 int vid, int vblock, int vchannel)
17 setSideType(vside);
18 setSignalType(vsignal);
19 setRegionType(vregion);
20 setSector(vsector);
21 setId(vid);
22 setBlock(vblock);
23 setChannel(vchannel);
24}
25
30
31bool TGCChannelHPBIn::isValid(void) const {
38 (getOctant() < 8) && (getId() >= 0) && (getBlock() >= 0) &&
39 (getChannel() >= 0)) {
40 return true;
41 }
42 return false;
43}
44
48
52
56
60
61} // namespace MuonTGC_Cabling
virtual TGCModuleId * getModule(void) const
virtual bool isValid(void) const
virtual void setChannel(int channel)
TGCChannelId(ChannelIdType type=ChannelIdType::NoChannelIdType)
virtual void setBlock(int block)
void setSideType(SideType side)
Definition TGCId.h:194
int getOctant() const
Definition TGCId.h:153
void setRegionType(RegionType region)
Definition TGCId.h:198
RegionType getRegionType(void) const
Definition TGCId.h:146
void setId(int id)
Definition TGCId.h:206
SignalType getSignalType(void) const
Definition TGCId.h:140
virtual int getSector() const
Definition TGCId.h:156
void setSignalType(SignalType signal)
Definition TGCId.cxx:67
virtual void setSector(int vsector)
Definition TGCId.cxx:127
SideType getSideType(void) const
Definition TGCId.h:134
int getId() const
Definition TGCId.h:162