ATLAS Offline Software
Loading...
Searching...
No Matches
TGCChannelSLBOut.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3*/
4
5#ifndef MUONTGC_CABLING_TGCCHANNELSLBOUT_HH
6#define MUONTGC_CABLING_TGCCHANNELSLBOUT_HH
7
9
10namespace MuonTGC_Cabling {
11
13 public:
14 // Constructor & Destructor
16 TGCId::RegionType region, int sector, int id, int block,
17 int channel);
18
19 virtual ~TGCChannelSLBOut() = default;
20
21 virtual std::unique_ptr<TGCModuleId> getModule() const override;
22
23 virtual bool isValid() const override;
24
25 private:
26 static const int s_numberOfBlockInWD;
27 static const int s_numberOfBlockInSD;
28 static const int s_numberOfBlockInWT;
29 static const int s_numberOfBlockInST;
30 static const int s_numberOfLayerInWD;
31 static const int s_numberOfLayerInSD;
32 static const int s_numberOfLayerInWT;
33 static const int s_numberOfLayerInST;
34 static const int s_channelInBlockForWD;
35 static const int s_channelInBlockForSD;
36 static const int s_channelInBlockForWT;
37 static const int s_channelInBlockForST;
38
39 public:
40 static int getNumberOfBlock(TGCId::ModuleType moduleType);
41 static int getNumberOfLayer(TGCId::ModuleType moduleType);
42 static int getChannelInBlock(TGCId::ModuleType moduleType);
43
44 private:
46};
47
48} // namespace MuonTGC_Cabling
49
50#endif
TGCChannelId(ChannelIdType type=ChannelIdType::NoChannelIdType)
static int getNumberOfBlock(TGCId::ModuleType moduleType)
virtual ~TGCChannelSLBOut()=default
virtual bool isValid() const override
TGCChannelSLBOut(TGCId::SideType side, TGCId::ModuleType module, TGCId::RegionType region, int sector, int id, int block, int channel)
virtual std::unique_ptr< TGCModuleId > getModule() const override
static int getNumberOfLayer(TGCId::ModuleType moduleType)
static int getChannelInBlock(TGCId::ModuleType moduleType)