ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonCablings
MuonTGC_Cabling
MuonTGC_Cabling
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
8
#include "
MuonTGC_Cabling/TGCChannelId.h
"
9
10
namespace
MuonTGC_Cabling
{
11
12
class
TGCChannelSLBOut
:
public
TGCChannelId
{
13
public
:
14
// Constructor & Destructor
15
TGCChannelSLBOut
(
TGCId::SideType
side,
TGCId::ModuleType
module,
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
:
45
TGCChannelSLBOut
() {}
46
};
47
48
}
// namespace MuonTGC_Cabling
49
50
#endif
TGCChannelId.h
MuonTGC_Cabling::TGCChannelId::TGCChannelId
TGCChannelId(ChannelIdType type=ChannelIdType::NoChannelIdType)
Definition
TGCChannelId.h:31
MuonTGC_Cabling::TGCChannelSLBOut::s_numberOfBlockInSD
static const int s_numberOfBlockInSD
Definition
TGCChannelSLBOut.h:27
MuonTGC_Cabling::TGCChannelSLBOut::s_numberOfLayerInWT
static const int s_numberOfLayerInWT
Definition
TGCChannelSLBOut.h:32
MuonTGC_Cabling::TGCChannelSLBOut::s_channelInBlockForWD
static const int s_channelInBlockForWD
Definition
TGCChannelSLBOut.h:34
MuonTGC_Cabling::TGCChannelSLBOut::TGCChannelSLBOut
TGCChannelSLBOut()
Definition
TGCChannelSLBOut.h:45
MuonTGC_Cabling::TGCChannelSLBOut::s_numberOfLayerInST
static const int s_numberOfLayerInST
Definition
TGCChannelSLBOut.h:33
MuonTGC_Cabling::TGCChannelSLBOut::getNumberOfBlock
static int getNumberOfBlock(TGCId::ModuleType moduleType)
Definition
TGCChannelSLBOut.cxx:56
MuonTGC_Cabling::TGCChannelSLBOut::s_channelInBlockForWT
static const int s_channelInBlockForWT
Definition
TGCChannelSLBOut.h:36
MuonTGC_Cabling::TGCChannelSLBOut::s_channelInBlockForSD
static const int s_channelInBlockForSD
Definition
TGCChannelSLBOut.h:35
MuonTGC_Cabling::TGCChannelSLBOut::s_numberOfLayerInWD
static const int s_numberOfLayerInWD
Definition
TGCChannelSLBOut.h:30
MuonTGC_Cabling::TGCChannelSLBOut::s_channelInBlockForST
static const int s_channelInBlockForST
Definition
TGCChannelSLBOut.h:37
MuonTGC_Cabling::TGCChannelSLBOut::s_numberOfBlockInST
static const int s_numberOfBlockInST
Definition
TGCChannelSLBOut.h:29
MuonTGC_Cabling::TGCChannelSLBOut::~TGCChannelSLBOut
virtual ~TGCChannelSLBOut()=default
MuonTGC_Cabling::TGCChannelSLBOut::isValid
virtual bool isValid() const override
Definition
TGCChannelSLBOut.cxx:31
MuonTGC_Cabling::TGCChannelSLBOut::s_numberOfBlockInWD
static const int s_numberOfBlockInWD
Definition
TGCChannelSLBOut.h:26
MuonTGC_Cabling::TGCChannelSLBOut::s_numberOfLayerInSD
static const int s_numberOfLayerInSD
Definition
TGCChannelSLBOut.h:31
MuonTGC_Cabling::TGCChannelSLBOut::TGCChannelSLBOut
TGCChannelSLBOut(TGCId::SideType side, TGCId::ModuleType module, TGCId::RegionType region, int sector, int id, int block, int channel)
Definition
TGCChannelSLBOut.cxx:12
MuonTGC_Cabling::TGCChannelSLBOut::s_numberOfBlockInWT
static const int s_numberOfBlockInWT
Definition
TGCChannelSLBOut.h:28
MuonTGC_Cabling::TGCChannelSLBOut::getModule
virtual std::unique_ptr< TGCModuleId > getModule() const override
Definition
TGCChannelSLBOut.cxx:26
MuonTGC_Cabling::TGCChannelSLBOut::getNumberOfLayer
static int getNumberOfLayer(TGCId::ModuleType moduleType)
Definition
TGCChannelSLBOut.cxx:72
MuonTGC_Cabling::TGCChannelSLBOut::getChannelInBlock
static int getChannelInBlock(TGCId::ModuleType moduleType)
Definition
TGCChannelSLBOut.cxx:88
MuonTGC_Cabling::TGCId::ModuleType
ModuleType
Definition
TGCId.h:51
MuonTGC_Cabling::TGCId::RegionType
RegionType
Definition
TGCId.h:59
MuonTGC_Cabling::TGCId::SideType
SideType
Definition
TGCId.h:48
MuonTGC_Cabling
Definition
TGCCable.h:12
Generated on
for ATLAS Offline Software by
1.17.0