ATLAS Offline Software
TGCModuleMap.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_TGCMODULEMAP_HH
6 #define MUONTGC_CABLING_TGCMODULEMAP_HH
7 
8 #include <map>
9 
11 
12 namespace MuonTGC_Cabling
13 {
14 
16 {
17 public:
18  // Constructor & Destructor
20  {}
21 
22  virtual ~TGCModuleMap(void);
23 
24  int connector(int entry);
25 
27 
29 
31 
32  int find(int connector);
33 
34  int size(void);
35 
36  void clear(void);
37 
38 private:
39  std::map<int,TGCModuleId*> m_moduleMap;
40 };
41 
42 } // end of namespace
43 
44 #endif
MuonTGC_Cabling::TGCModuleMap::TGCModuleMap
TGCModuleMap(void)
Definition: TGCModuleMap.h:19
MuonTGC_Cabling::TGCModuleMap::moduleId
TGCModuleId * moduleId(int entry)
Definition: TGCModuleMap.cxx:20
MuonTGC_Cabling::TGCModuleMap::connector
int connector(int entry)
Definition: TGCModuleMap.cxx:14
TGCModuleId.h
MuonTGC_Cabling::TGCModuleMap
Definition: TGCModuleMap.h:16
MuonTGC_Cabling
Definition: TGCCable.h:13
MuonTGC_Cabling::TGCModuleMap::find
int find(int connector)
Definition: TGCModuleMap.cxx:44
MuonTGC_Cabling::TGCModuleMap::~TGCModuleMap
virtual ~TGCModuleMap(void)
Definition: TGCModuleMap.cxx:10
GetAllXsec.entry
list entry
Definition: GetAllXsec.py:132
MuonTGC_Cabling::TGCModuleMap::insert
void insert(int connector, TGCModuleId *moduleId)
Definition: TGCModuleMap.cxx:34
MuonTGC_Cabling::TGCModuleMap::popModuleId
TGCModuleId * popModuleId(int entry)
Definition: TGCModuleMap.cxx:26
MuonTGC_Cabling::TGCModuleMap::clear
void clear(void)
Definition: TGCModuleMap.cxx:52
MuonTGC_Cabling::TGCModuleMap::size
int size(void)
Definition: TGCModuleMap.cxx:48
MuonTGC_Cabling::TGCModuleMap::m_moduleMap
std::map< int, TGCModuleId * > m_moduleMap
Definition: TGCModuleMap.h:39
MuonTGC_Cabling::TGCModuleId
Definition: TGCModuleId.h:13