ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
MuonSpectrometer
MuonCablings
MuonTGC_Cabling
MuonTGC_Cabling
TGCCableInPP.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_TGCCABLEINPP_HH
6
#define MUONTGC_CABLING_TGCCABLEINPP_HH
7
8
#include <array>
9
#include <memory>
10
#include <string>
11
12
#include "
MuonTGC_Cabling/TGCCable.h
"
13
#include "
MuonTGC_Cabling/TGCId.h
"
14
15
namespace
MuonTGC_Cabling
{
16
17
class
TGCDatabase
;
18
19
class
TGCCableInPP
:
public
TGCCable
{
20
public
:
21
TGCCableInPP
(
const
std::string& filename);
22
virtual
~TGCCableInPP
();
23
24
std::unique_ptr<TGCChannelId>
getChannel
(
25
const
TGCChannelId
& channelId,
const
bool
orChannel =
false
)
const
;
26
27
private
:
28
TGCCableInPP
() =
delete
;
29
std::unique_ptr<TGCChannelId>
getChannelIn
(
30
const
TGCChannelId
& ppout,
const
bool
orChannel =
false
)
const
;
31
std::unique_ptr<TGCChannelId>
getChannelOut
(
32
const
TGCChannelId
& ppin,
const
bool
orChannel =
false
)
const
;
33
34
std::array<std::array<std::unique_ptr<TGCDatabase>, +
TGCId::ModuleType::MaxModuleType
>,
35
+
TGCId::RegionType::MaxRegionType
>
36
m_database
;
37
};
38
39
}
// namespace MuonTGC_Cabling
40
41
#endif
TGCCable.h
TGCId.h
MuonTGC_Cabling::TGCCableInPP::getChannel
std::unique_ptr< TGCChannelId > getChannel(const TGCChannelId &channelId, const bool orChannel=false) const
Definition
TGCCableInPP.cxx:45
MuonTGC_Cabling::TGCCableInPP::TGCCableInPP
TGCCableInPP()=delete
MuonTGC_Cabling::TGCCableInPP::m_database
std::array< std::array< std::unique_ptr< TGCDatabase >,+TGCId::ModuleType::MaxModuleType >,+TGCId::RegionType::MaxRegionType > m_database
Definition
TGCCableInPP.h:36
MuonTGC_Cabling::TGCCableInPP::getChannelOut
std::unique_ptr< TGCChannelId > getChannelOut(const TGCChannelId &ppin, const bool orChannel=false) const
Definition
TGCCableInPP.cxx:125
MuonTGC_Cabling::TGCCableInPP::~TGCCableInPP
virtual ~TGCCableInPP()
MuonTGC_Cabling::TGCCableInPP::TGCCableInPP
TGCCableInPP(const std::string &filename)
Definition
TGCCableInPP.cxx:15
MuonTGC_Cabling::TGCCableInPP::getChannelIn
std::unique_ptr< TGCChannelId > getChannelIn(const TGCChannelId &ppout, const bool orChannel=false) const
Definition
TGCCableInPP.cxx:56
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
Definition
TGCCable.h:12
Generated on
for ATLAS Offline Software by
1.17.0