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