ATLAS Offline Software
Loading...
Searching...
No Matches
TGCCableSLBToHPB.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_TGCCABLESLBTOHPB_HH
6#define MUONTGC_CABLING_TGCCABLESLBTOHPB_HH
7
8#include <array>
9#include <memory>
10#include <string>
11
13
14namespace MuonTGC_Cabling {
15
16class TGCDatabase;
17
18class TGCCableSLBToHPB : public TGCCable {
19 public:
20 TGCCableSLBToHPB(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 std::unique_ptr<TGCChannelId> getChannelInforHPB(
28 const TGCChannelId& hpbin, TGCId::ModuleType moduleType,
29 bool orChannel = false) const;
30
31 private:
32 TGCCableSLBToHPB() = delete;
33 std::unique_ptr<TGCChannelId> getChannelIn(const TGCChannelId& hpbin,
34 bool orChannel = false) const;
35 std::unique_ptr<TGCChannelId> getChannelOut(const TGCChannelId& slbout,
36 bool orChannel = false) const;
37 TGCModuleMap getModuleIn(const TGCModuleId& hpb) const;
39 TGCId::ModuleType moduleType) const;
40 TGCModuleMap getModuleOut(const TGCModuleId& slb) const;
41 std::array<std::array<std::unique_ptr<TGCDatabase>, TGCId::MaxModuleType>,
44};
45
46} // namespace MuonTGC_Cabling
47
48#endif
std::unique_ptr< TGCChannelId > getChannel(const TGCChannelId &channelId, bool orChannel=false) const
TGCModuleMap getModuleIn(const TGCModuleId &hpb) const
std::unique_ptr< TGCChannelId > getChannelOut(const TGCChannelId &slbout, bool orChannel=false) const
std::unique_ptr< TGCChannelId > getChannelIn(const TGCChannelId &hpbin, bool orChannel=false) const
std::unique_ptr< TGCChannelId > getChannelInforHPB(const TGCChannelId &hpbin, TGCId::ModuleType moduleType, bool orChannel=false) const
std::array< std::array< std::unique_ptr< TGCDatabase >, TGCId::MaxModuleType >, TGCId::MaxRegionType > m_database
TGCModuleMap getModule(const TGCModuleId &moduleId) const
TGCModuleMap getModuleInforHPB(const TGCModuleId &hpb, TGCId::ModuleType moduleType) const
TGCModuleMap getModuleOut(const TGCModuleId &slb) const
TGCCableSLBToHPB(const std::string &filename)
TGCCable(CableType type=NoCableType)
Definition TGCCable.h:31