ATLAS Offline Software
Loading...
Searching...
No Matches
TGCChannelSLBOut.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 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{
12
14{
15 public:
16 // Constructor & Destructor
18 TGCId::ModuleType module,
19 TGCId::RegionType region,
20 int sector,
21 int id,
22 int block,
23 int channel);
24
25 virtual ~TGCChannelSLBOut(void) {}
26
27 virtual TGCModuleId* getModule(void) const;
28
29 virtual bool isValid(void) const;
30
31private:
32 static const int s_numberOfBlockInWD;
33 static const int s_numberOfBlockInSD;
34 static const int s_numberOfBlockInWT;
35 static const int s_numberOfBlockInST;
36 static const int s_numberOfLayerInWD;
37 static const int s_numberOfLayerInSD;
38 static const int s_numberOfLayerInWT;
39 static const int s_numberOfLayerInST;
40 static const int s_channelInBlockForWD;
41 static const int s_channelInBlockForSD;
42 static const int s_channelInBlockForWT;
43 static const int s_channelInBlockForST;
44
45public:
46 static int getNumberOfBlock(TGCId::ModuleType moduleType);
47 static int getNumberOfLayer(TGCId::ModuleType moduleType);
48 static int getChannelInBlock(TGCId::ModuleType moduleType);
49
50private:
52
53};
54
55} // end of namespace
56
57#endif
TGCChannelId(ChannelIdType type=ChannelIdType::NoChannelIdType)
static int getNumberOfBlock(TGCId::ModuleType moduleType)
TGCChannelSLBOut(TGCId::SideType side, TGCId::ModuleType module, TGCId::RegionType region, int sector, int id, int block, int channel)
static int getNumberOfLayer(TGCId::ModuleType moduleType)
static int getChannelInBlock(TGCId::ModuleType moduleType)
virtual TGCModuleId * getModule(void) const