ATLAS Offline Software
Loading...
Searching...
No Matches
TGCCablePPToSLB.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2025 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
13
14namespace MuonTGC_Cabling {
15
16class TGCDatabase;
17
18class TGCCablePPToSLB : public TGCCable {
19 public:
20 TGCCablePPToSLB(const std::string& filename);
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::MaxModuleType>,
39};
40
41} // namespace MuonTGC_Cabling
42
43#endif
TGCCablePPToSLB(const std::string &filename)
TGCModuleMap getModuleIn(const TGCModuleId &slb) const
std::unique_ptr< TGCChannelId > getChannel(const TGCChannelId &channelId, bool orChannel=false) const
TGCModuleMap getModule(const TGCModuleId &moduleId) const
std::array< std::array< std::unique_ptr< TGCDatabase >, TGCId::MaxModuleType >, TGCId::MaxRegionType > m_database
std::unique_ptr< TGCChannelId > getChannelOut(const TGCChannelId &ppout, bool orChannel=false) const
TGCModuleMap getModuleOut(const TGCModuleId &pp) const
std::unique_ptr< TGCChannelId > getChannelIn(const TGCChannelId &slbin, bool orChannel=false) const
TGCCable(CableType type=NoCableType)
Definition TGCCable.h:31