ATLAS Offline Software
MuonSpectrometer
MuonCablings
MuonTGC_Cabling
MuonTGC_Cabling
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
10
#include "
MuonTGC_Cabling/TGCModuleId.h
"
11
12
namespace
MuonTGC_Cabling
13
{
14
15
class
TGCModuleMap
16
{
17
public
:
18
// Constructor & Destructor
19
TGCModuleMap
(
void
)
20
{}
21
22
virtual
~TGCModuleMap
(
void
);
23
24
int
connector
(
int
entry
);
25
26
TGCModuleId
*
moduleId
(
int
entry
);
27
28
TGCModuleId
*
popModuleId
(
int
entry
);
29
30
void
insert
(
int
connector
,
TGCModuleId
*
moduleId
);
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
Generated on Sun Dec 22 2024 21:19:25 for ATLAS Offline Software by
1.8.18