ATLAS Offline Software
Loading...
Searching...
No Matches
TGCCableInASD.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_TGCCABLEINASD_HH
6#define MUONTGC_CABLING_TGCCABLEINASD_HH
7
8#include <array>
9#include <memory>
10#include <string>
11
13
14namespace MuonTGC_Cabling {
15
16class TGCDatabase;
17
18class TGCCableInASD : public TGCCable {
19 public:
20 TGCCableInASD(const std::string& filename);
21 virtual ~TGCCableInASD();
22
23 std::unique_ptr<TGCChannelId> getChannel(const TGCChannelId& channelId,
24 bool orChannel = false) const;
25
26 private:
27 std::unique_ptr<TGCChannelId> getChannelIn(const TGCChannelId& asdout,
28 bool orChannel = false) const;
29 std::unique_ptr<TGCChannelId> getChannelOut(const TGCChannelId& asdin,
30 bool orChannel = false) const;
31 std::array<std::array<std::unique_ptr<TGCDatabase>, TGCId::MaxModuleType>,
34};
35
36} // namespace MuonTGC_Cabling
37
38#endif
TGCCableInASD(const std::string &filename)
std::array< std::array< std::unique_ptr< TGCDatabase >, TGCId::MaxModuleType >, TGCId::MaxRegionType > m_database
std::unique_ptr< TGCChannelId > getChannelOut(const TGCChannelId &asdin, bool orChannel=false) const
std::unique_ptr< TGCChannelId > getChannel(const TGCChannelId &channelId, bool orChannel=false) const
std::unique_ptr< TGCChannelId > getChannelIn(const TGCChannelId &asdout, bool orChannel=false) const
TGCCable(CableType type=NoCableType)
Definition TGCCable.h:31