Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
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 
9 
10 #include <string>
11 #include <memory>
12 #include <array>
13 
14 namespace MuonTGC_Cabling {
15 
16 class TGCDatabase;
17 
18 class TGCCableSLBToHPB : public TGCCable
19 {
20  public:
21  TGCCableSLBToHPB(const std::string& filename);
22  virtual ~TGCCableSLBToHPB() = default;
23 
25  bool orChannel=false) const;
26  virtual TGCModuleMap* getModule(const TGCModuleId* moduleId) const;
27 
29  TGCId::ModuleType moduleType,
30  bool orChannel=false) const;
31 
32  private:
34  virtual TGCChannelId* getChannelIn(const TGCChannelId* hpbin,
35  bool orChannel=false) const;
36  virtual TGCChannelId* getChannelOut(const TGCChannelId* slbout,
37  bool orChannel=false) const;
38  virtual TGCModuleMap* getModuleIn(const TGCModuleId* hpb) const;
39  virtual TGCModuleMap* getModuleInforHPB(const TGCModuleId* hpb, TGCId::ModuleType moduleType) const;
40  virtual TGCModuleMap* getModuleOut(const TGCModuleId* slb) const;
41  std::array<std::array<std::unique_ptr<TGCDatabase>, TGCId::MaxModuleType>, TGCId::MaxRegionType> m_database{{{nullptr}}};
42 };
43 
44 } // end of namespace
45 
46 #endif
MuonTGC_Cabling::TGCId::MaxModuleType
@ MaxModuleType
Definition: TGCId.h:48
MuonTGC_Cabling::TGCCableSLBToHPB
Definition: TGCCableSLBToHPB.h:19
MuonTGC_Cabling::TGCCableSLBToHPB::getModuleInforHPB
virtual TGCModuleMap * getModuleInforHPB(const TGCModuleId *hpb, TGCId::ModuleType moduleType) const
Definition: TGCCableSLBToHPB.cxx:341
MuonTGC_Cabling::TGCId::ModuleType
ModuleType
Definition: TGCId.h:47
MuonTGC_Cabling::TGCModuleMap
Definition: TGCModuleMap.h:16
MuonTGC_Cabling::TGCCableSLBToHPB::~TGCCableSLBToHPB
virtual ~TGCCableSLBToHPB()=default
MuonTGC_Cabling::TGCCableSLBToHPB::getChannelInforHPB
TGCChannelId * getChannelInforHPB(const TGCChannelId *hpbin, TGCId::ModuleType moduleType, bool orChannel=false) const
Definition: TGCCableSLBToHPB.cxx:107
MuonTGC_Cabling::TGCCableSLBToHPB::getModule
virtual TGCModuleMap * getModule(const TGCModuleId *moduleId) const
Definition: TGCCableSLBToHPB.cxx:38
MuonTGC_Cabling
Definition: TGCCable.h:13
MuonTGC_Cabling::TGCCableSLBToHPB::getChannelIn
virtual TGCChannelId * getChannelIn(const TGCChannelId *hpbin, bool orChannel=false) const
Definition: TGCCableSLBToHPB.cxx:48
MuonTGC_Cabling::TGCCableSLBToHPB::m_database
std::array< std::array< std::unique_ptr< TGCDatabase >, TGCId::MaxModuleType >, TGCId::MaxRegionType > m_database
Definition: TGCCableSLBToHPB.h:41
MuonTGC_Cabling::TGCCable
Definition: TGCCable.h:16
CaloCondBlobAlgs_fillNoiseFromASCII.channelId
channelId
Definition: CaloCondBlobAlgs_fillNoiseFromASCII.py:122
MuonTGC_Cabling::TGCCableSLBToHPB::getChannel
virtual TGCChannelId * getChannel(const TGCChannelId *channelId, bool orChannel=false) const
Definition: TGCCableSLBToHPB.cxx:27
MuonTGC_Cabling::TGCId::MaxRegionType
@ MaxRegionType
Definition: TGCId.h:54
MuonTGC_Cabling::TGCCableSLBToHPB::TGCCableSLBToHPB
TGCCableSLBToHPB(void)
Definition: TGCCableSLBToHPB.h:33
MuonTGC_Cabling::TGCCableSLBToHPB::getChannelOut
virtual TGCChannelId * getChannelOut(const TGCChannelId *slbout, bool orChannel=false) const
Definition: TGCCableSLBToHPB.cxx:236
MuonTGC_Cabling::TGCChannelId
Definition: TGCChannelId.h:15
TGCCable.h
MuonTGC_Cabling::TGCCableSLBToHPB::getModuleOut
virtual TGCModuleMap * getModuleOut(const TGCModuleId *slb) const
Definition: TGCCableSLBToHPB.cxx:383
CaloCellTimeCorrFiller.filename
filename
Definition: CaloCellTimeCorrFiller.py:24
MuonTGC_Cabling::TGCCableSLBToHPB::getModuleIn
virtual TGCModuleMap * getModuleIn(const TGCModuleId *hpb) const
Definition: TGCCableSLBToHPB.cxx:284
MuonTGC_Cabling::TGCModuleId
Definition: TGCModuleId.h:13