ATLAS Offline Software
TGCCableSLBToHPB.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2018 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 
12 
13 namespace MuonTGC_Cabling
14 {
15 
16 class TGCDatabase;
17 
18 class TGCCableSLBToHPB : public TGCCable
19 {
20 public:
21 
22  // Constructor & Destructor
23  TGCCableSLBToHPB(const std::string& filename);
24 
25  virtual ~TGCCableSLBToHPB(void);
26 
28  bool orChannel=false) const;
29  virtual TGCModuleMap* getModule(const TGCModuleId* moduleId) const;
30 
32  TGCId::ModuleType moduleType,
33  bool orChannel=false) const;
34 
35 private:
37  virtual TGCChannelId* getChannelIn(const TGCChannelId* hpbin,
38  bool orChannel=false) const;
39  virtual TGCChannelId* getChannelOut(const TGCChannelId* slbout,
40  bool orChannel=false) const;
41  virtual TGCModuleMap* getModuleIn(const TGCModuleId* hpb) const;
42  virtual TGCModuleMap* getModuleInforHPB(const TGCModuleId* hpb, TGCId::ModuleType moduleType) const;
43  virtual TGCModuleMap* getModuleOut(const TGCModuleId* slb) const;
45 };
46 
47 } // end of namespace
48 
49 #endif
MuonTGC_Cabling::TGCId::MaxModuleType
@ MaxModuleType
Definition: TGCId.h:48
MuonTGC_Cabling::TGCCableSLBToHPB::m_database
TGCDatabase * m_database[TGCId::MaxRegionType][TGCId::MaxModuleType]
Definition: TGCCableSLBToHPB.h:44
MuonTGC_Cabling::TGCCableSLBToHPB
Definition: TGCCableSLBToHPB.h:19
MuonTGC_Cabling::TGCCableSLBToHPB::getModuleInforHPB
virtual TGCModuleMap * getModuleInforHPB(const TGCModuleId *hpb, TGCId::ModuleType moduleType) const
Definition: TGCCableSLBToHPB.cxx:363
MuonTGC_Cabling::TGCId::ModuleType
ModuleType
Definition: TGCId.h:47
MuonTGC_Cabling::TGCModuleMap
Definition: TGCModuleMap.h:16
MuonTGC_Cabling::TGCDatabase
Definition: TGCDatabase.h:15
MuonTGC_Cabling::TGCCableSLBToHPB::getChannelInforHPB
TGCChannelId * getChannelInforHPB(const TGCChannelId *hpbin, TGCId::ModuleType moduleType, bool orChannel=false) const
Definition: TGCCableSLBToHPB.cxx:129
MuonTGC_Cabling::TGCCableSLBToHPB::getModule
virtual TGCModuleMap * getModule(const TGCModuleId *moduleId) const
Definition: TGCCableSLBToHPB.cxx:60
MuonTGC_Cabling
Definition: TGCCable.h:13
MuonTGC_Cabling::TGCCableSLBToHPB::getChannelIn
virtual TGCChannelId * getChannelIn(const TGCChannelId *hpbin, bool orChannel=false) const
Definition: TGCCableSLBToHPB.cxx:70
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:49
MuonTGC_Cabling::TGCId::MaxRegionType
@ MaxRegionType
Definition: TGCId.h:54
MuonTGC_Cabling::TGCCableSLBToHPB::TGCCableSLBToHPB
TGCCableSLBToHPB(void)
Definition: TGCCableSLBToHPB.h:36
MuonTGC_Cabling::TGCCableSLBToHPB::getChannelOut
virtual TGCChannelId * getChannelOut(const TGCChannelId *slbout, bool orChannel=false) const
Definition: TGCCableSLBToHPB.cxx:258
MuonTGC_Cabling::TGCChannelId
Definition: TGCChannelId.h:15
TGCCable.h
MuonTGC_Cabling::TGCCableSLBToHPB::~TGCCableSLBToHPB
virtual ~TGCCableSLBToHPB(void)
Definition: TGCCableSLBToHPB.cxx:37
MuonTGC_Cabling::TGCCableSLBToHPB::getModuleOut
virtual TGCModuleMap * getModuleOut(const TGCModuleId *slb) const
Definition: TGCCableSLBToHPB.cxx:405
CaloCellTimeCorrFiller.filename
filename
Definition: CaloCellTimeCorrFiller.py:24
MuonTGC_Cabling::TGCCableSLBToHPB::getModuleIn
virtual TGCModuleMap * getModuleIn(const TGCModuleId *hpb) const
Definition: TGCCableSLBToHPB.cxx:306
MuonTGC_Cabling::TGCModuleId
Definition: TGCModuleId.h:13