ATLAS Offline Software
PairIndexMap.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 InDetGeoModelUtils_PairIndexMap_H
6 #define InDetGeoModelUtils_PairIndexMap_H
7 
8 
9 #include <map>
10 #include <utility>
11 
12 namespace InDetDD {
13 
16  class PairIndexMap {
17 
18  public :
19  void add(int first, int second, int value);
20  int find(int first, int second) const;
21 
22  private:
23  typedef std::map<std::pair<int,int>, int> MapType;
25 
26  };
27 }
28 
29 #endif // PixelPairIndexMap_H
python.SystemOfUnits.second
int second
Definition: SystemOfUnits.py:120
athena.value
value
Definition: athena.py:122
InDetDD::PairIndexMap::MapType
std::map< std::pair< int, int >, int > MapType
Definition: PairIndexMap.h:23
InDetDD::PairIndexMap::find
int find(int first, int second) const
Definition: PairIndexMap.cxx:14
InDetDD
Message Stream Member.
Definition: FakeTrackBuilder.h:8
DeMoScan.first
bool first
Definition: DeMoScan.py:534
InDetDD::PairIndexMap
Class to store map between pair of two ints and an int.
Definition: PairIndexMap.h:16
InDetDD::PairIndexMap::m_map
MapType m_map
Definition: PairIndexMap.h:24
InDetDD::PairIndexMap::add
void add(int first, int second, int value)
Definition: PairIndexMap.cxx:9