ATLAS Offline Software
MuonSpectrometer
MuonCablings
MuonTGC_Cabling
MuonTGC_Cabling
TGCCable.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef MUONTGC_CABLING_TGCCABLE_HH
6
#define MUONTGC_CABLING_TGCCABLE_HH
7
8
#include "
MuonTGC_Cabling/TGCChannelId.h
"
9
#include "
MuonTGC_Cabling/TGCModuleId.h
"
10
#include "
MuonTGC_Cabling/TGCModuleMap.h
"
11
12
namespace
MuonTGC_Cabling
13
{
14
15
class
TGCCable
16
{
17
public
:
18
enum
CableType
{
NoCableType
=-1,
19
InASD
,
ASDToPP
,
InPP
,
PPToSLB
,
InSLB
,
20
SLBToHPB
,
HPBToSL
,
SLBToSSW
,
SSWToROD
,
21
MaxCableType
};
22
23
// Constructor & Destructor
24
TGCCable
(
CableType
type
=
NoCableType
)
25
{
26
this->
m_type
=
type
;
27
}
28
virtual
~TGCCable
(
void
) {}
29
30
CableType
getCableType
(
void
)
const
{
return
m_type
; }
31
32
protected
:
33
// channel connection
34
virtual
TGCChannelId
*
getChannelIn
(
const
TGCChannelId
* ,
35
bool
/*orChannel=false*/
)
const
{
return
0; }
36
virtual
TGCChannelId
*
getChannelOut
(
const
TGCChannelId
* ,
37
bool
/*orChannel=false*/
)
const
{
return
0; }
38
// module connection
39
virtual
TGCModuleMap
*
getModuleIn
(
const
TGCModuleId
* )
const
{
return
0; }
40
virtual
TGCModuleMap
*
getModuleOut
(
const
TGCModuleId
* )
const
{
return
0; }
41
42
private
:
43
CableType
m_type
;
44
45
};
46
47
}
// end of namespace
48
49
#endif
MuonTGC_Cabling::TGCCable::NoCableType
@ NoCableType
Definition:
TGCCable.h:18
MuonTGC_Cabling::TGCCable::InASD
@ InASD
Definition:
TGCCable.h:19
MuonTGC_Cabling::TGCCable::~TGCCable
virtual ~TGCCable(void)
Definition:
TGCCable.h:28
MuonTGC_Cabling::TGCCable::PPToSLB
@ PPToSLB
Definition:
TGCCable.h:19
MuonTGC_Cabling::TGCCable::getChannelIn
virtual TGCChannelId * getChannelIn(const TGCChannelId *, bool) const
Definition:
TGCCable.h:34
MuonTGC_Cabling::TGCCable::getModuleOut
virtual TGCModuleMap * getModuleOut(const TGCModuleId *) const
Definition:
TGCCable.h:40
TGCModuleMap.h
TGCModuleId.h
MuonTGC_Cabling::TGCModuleMap
Definition:
TGCModuleMap.h:16
MuonTGC_Cabling::TGCCable::TGCCable
TGCCable(CableType type=NoCableType)
Definition:
TGCCable.h:24
TGCChannelId.h
MuonTGC_Cabling::TGCCable::ASDToPP
@ ASDToPP
Definition:
TGCCable.h:19
MuonTGC_Cabling::TGCCable::CableType
CableType
Definition:
TGCCable.h:18
MuonTGC_Cabling::TGCCable::InSLB
@ InSLB
Definition:
TGCCable.h:19
MuonTGC_Cabling::TGCCable::getChannelOut
virtual TGCChannelId * getChannelOut(const TGCChannelId *, bool) const
Definition:
TGCCable.h:36
MuonTGC_Cabling::TGCCable::MaxCableType
@ MaxCableType
Definition:
TGCCable.h:21
MuonTGC_Cabling
Definition:
TGCCable.h:13
MuonTGC_Cabling::TGCCable::m_type
CableType m_type
Definition:
TGCCable.h:43
MuonTGC_Cabling::TGCCable
Definition:
TGCCable.h:16
MuonTGC_Cabling::TGCCable::SLBToSSW
@ SLBToSSW
Definition:
TGCCable.h:20
MuonTGC_Cabling::TGCCable::HPBToSL
@ HPBToSL
Definition:
TGCCable.h:20
MuonTGC_Cabling::TGCCable::getCableType
CableType getCableType(void) const
Definition:
TGCCable.h:30
MuonTGC_Cabling::TGCCable::SSWToROD
@ SSWToROD
Definition:
TGCCable.h:20
MuonTGC_Cabling::TGCCable::getModuleIn
virtual TGCModuleMap * getModuleIn(const TGCModuleId *) const
Definition:
TGCCable.h:39
MuonTGC_Cabling::TGCCable::SLBToHPB
@ SLBToHPB
Definition:
TGCCable.h:20
python.CaloScaleNoiseConfig.type
type
Definition:
CaloScaleNoiseConfig.py:78
MuonTGC_Cabling::TGCChannelId
Definition:
TGCChannelId.h:15
MuonTGC_Cabling::TGCCable::InPP
@ InPP
Definition:
TGCCable.h:19
MuonTGC_Cabling::TGCModuleId
Definition:
TGCModuleId.h:13
Generated on Sun Dec 22 2024 21:19:20 for ATLAS Offline Software by
1.8.18