ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonCablings
MuonTGC_Cabling
MuonTGC_Cabling
TGCCablePPToSLB.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_TGCCABLEPPTOSLB_HH
6
#define MUONTGC_CABLING_TGCCABLEPPTOSLB_HH
7
8
#include <array>
9
#include <memory>
10
#include <string>
11
12
#include "
MuonTGC_Cabling/TGCCable.h
"
13
14
namespace
MuonTGC_Cabling
{
15
16
class
TGCDatabase
;
17
18
class
TGCCablePPToSLB
:
public
TGCCable
{
19
public
:
20
TGCCablePPToSLB
(
const
std::string& filename);
21
virtual
~TGCCablePPToSLB
();
22
23
std::unique_ptr<TGCChannelId>
getChannel
(
const
TGCChannelId
& channelId,
24
bool
orChannel =
false
)
const
;
25
TGCModuleMap
getModule
(
const
TGCModuleId
& moduleId)
const
;
26
27
private
:
28
TGCCablePPToSLB
() =
delete
;
29
std::unique_ptr<TGCChannelId>
getChannelIn
(
const
TGCChannelId
& slbin,
30
bool
orChannel =
false
)
const
;
31
std::unique_ptr<TGCChannelId>
getChannelOut
(
const
TGCChannelId
& ppout,
32
bool
orChannel =
false
)
const
;
33
TGCModuleMap
getModuleIn
(
const
TGCModuleId
& slb)
const
;
34
TGCModuleMap
getModuleOut
(
const
TGCModuleId
& pp)
const
;
35
36
std::array<std::array<std::unique_ptr<TGCDatabase>, +
TGCId::ModuleType::MaxModuleType
>,
37
+
TGCId::RegionType::MaxRegionType
>
38
m_database
;
39
};
40
41
}
// namespace MuonTGC_Cabling
42
43
#endif
TGCCable.h
MuonTGC_Cabling::TGCCablePPToSLB::TGCCablePPToSLB
TGCCablePPToSLB(const std::string &filename)
Definition
TGCCablePPToSLB.cxx:16
MuonTGC_Cabling::TGCCablePPToSLB::getModuleIn
TGCModuleMap getModuleIn(const TGCModuleId &slb) const
Definition
TGCCablePPToSLB.cxx:195
MuonTGC_Cabling::TGCCablePPToSLB::getChannel
std::unique_ptr< TGCChannelId > getChannel(const TGCChannelId &channelId, bool orChannel=false) const
Definition
TGCCablePPToSLB.cxx:46
MuonTGC_Cabling::TGCCablePPToSLB::getModule
TGCModuleMap getModule(const TGCModuleId &moduleId) const
Definition
TGCCablePPToSLB.cxx:58
MuonTGC_Cabling::TGCCablePPToSLB::TGCCablePPToSLB
TGCCablePPToSLB()=delete
MuonTGC_Cabling::TGCCablePPToSLB::getChannelOut
std::unique_ptr< TGCChannelId > getChannelOut(const TGCChannelId &ppout, bool orChannel=false) const
Definition
TGCCablePPToSLB.cxx:136
MuonTGC_Cabling::TGCCablePPToSLB::~TGCCablePPToSLB
virtual ~TGCCablePPToSLB()
MuonTGC_Cabling::TGCCablePPToSLB::getModuleOut
TGCModuleMap getModuleOut(const TGCModuleId &pp) const
Definition
TGCCablePPToSLB.cxx:232
MuonTGC_Cabling::TGCCablePPToSLB::m_database
std::array< std::array< std::unique_ptr< TGCDatabase >,+TGCId::ModuleType::MaxModuleType >,+TGCId::RegionType::MaxRegionType > m_database
Definition
TGCCablePPToSLB.h:38
MuonTGC_Cabling::TGCCablePPToSLB::getChannelIn
std::unique_ptr< TGCChannelId > getChannelIn(const TGCChannelId &slbin, bool orChannel=false) const
Definition
TGCCablePPToSLB.cxx:68
MuonTGC_Cabling::TGCCable::TGCCable
TGCCable(CableType type=NoCableType)
Definition
TGCCable.h:31
MuonTGC_Cabling::TGCChannelId
Definition
TGCChannelId.h:17
MuonTGC_Cabling::TGCDatabase
Definition
TGCDatabase.h:13
MuonTGC_Cabling::TGCId::ModuleType::MaxModuleType
@ MaxModuleType
Definition
TGCId.h:54
MuonTGC_Cabling::TGCId::RegionType::MaxRegionType
@ MaxRegionType
Definition
TGCId.h:59
MuonTGC_Cabling::TGCModuleId
Definition
TGCModuleId.h:12
MuonTGC_Cabling::TGCModuleMap
Definition
TGCModuleMap.h:15
MuonTGC_Cabling
Definition
TGCCable.h:12
Generated on
for ATLAS Offline Software by
1.17.0