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