ATLAS Offline Software
TGCCableHPBToSL.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef MUONTGC_CABLING_TGCCABLEHPBTOSL_HH
6 #define MUONTGC_CABLING_TGCCABLEHPBTOSL_HH
7 
9 
10 #include <string>
11 #include <array>
12 #include <memory>
13 
14 #include "MuonTGC_Cabling/TGCId.h"
15 
16 namespace MuonTGC_Cabling {
17 
18 class TGCDatabase;
19 
20 class TGCCableHPBToSL : public TGCCable {
21  public:
22  TGCCableHPBToSL(const std::string& filename);
23  virtual ~TGCCableHPBToSL() = default;
24 
25  virtual TGCModuleMap* getModule(const TGCModuleId* moduleId) const;
26 
27  private:
28  TGCCableHPBToSL(void) {}
29  virtual TGCModuleMap* getModuleIn(const TGCModuleId* sl) const;
30  virtual TGCModuleMap* getModuleOut(const TGCModuleId* hpt) const;
31  std::array<std::array<std::unique_ptr<TGCDatabase>, TGCId::MaxSignalType>, TGCId::MaxRegionType> m_database{};
32 };
33 
34 } // end of namespace
35 
36 #endif
MuonTGC_Cabling::TGCCableHPBToSL::~TGCCableHPBToSL
virtual ~TGCCableHPBToSL()=default
MuonTGC_Cabling::TGCModuleMap
Definition: TGCModuleMap.h:16
TGCId.h
MuonTGC_Cabling::TGCCableHPBToSL::getModuleIn
virtual TGCModuleMap * getModuleIn(const TGCModuleId *sl) const
Definition: TGCCableHPBToSL.cxx:31
MuonTGC_Cabling::TGCCableHPBToSL::m_database
std::array< std::array< std::unique_ptr< TGCDatabase >, TGCId::MaxSignalType >, TGCId::MaxRegionType > m_database
Definition: TGCCableHPBToSL.h:31
MuonTGC_Cabling
Definition: TGCCable.h:13
MuonTGC_Cabling::TGCCable
Definition: TGCCable.h:16
MuonTGC_Cabling::TGCCableHPBToSL::getModuleOut
virtual TGCModuleMap * getModuleOut(const TGCModuleId *hpt) const
Definition: TGCCableHPBToSL.cxx:67
MuonTGC_Cabling::TGCCableHPBToSL::TGCCableHPBToSL
TGCCableHPBToSL(void)
Definition: TGCCableHPBToSL.h:28
MuonTGC_Cabling::TGCId::MaxRegionType
@ MaxRegionType
Definition: TGCId.h:54
MuonTGC_Cabling::TGCId::MaxSignalType
@ MaxSignalType
Definition: TGCId.h:50
TGCCable.h
CaloCellTimeCorrFiller.filename
filename
Definition: CaloCellTimeCorrFiller.py:24
MuonTGC_Cabling::TGCCableHPBToSL
Definition: TGCCableHPBToSL.h:20
MuonTGC_Cabling::TGCCableHPBToSL::getModule
virtual TGCModuleMap * getModule(const TGCModuleId *moduleId) const
Definition: TGCCableHPBToSL.cxx:21
MuonTGC_Cabling::TGCModuleId
Definition: TGCModuleId.h:13