ATLAS Offline Software
Loading...
Searching...
No Matches
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
12namespace MuonTGC_Cabling
13{
14
16{
17public:
18 // Constructor & Destructor
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
31
32 int find(int connector);
33
34 int size(void);
35
36 void clear(void);
37
38private:
39 std::map<int,TGCModuleId*> m_moduleMap;
40};
41
42} // end of namespace
43
44#endif
std::map< int, TGCModuleId * > m_moduleMap
void insert(int connector, TGCModuleId *moduleId)
TGCModuleId * moduleId(int entry)
TGCModuleId * popModuleId(int entry)