Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TpcSeedTrackMapv1.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file TpcSeedTrackMapv1.h
1 #ifndef TRACKRECO_TPCSEEDTRACKMAPV1_H
2 #define TRACKRECO_TPCSEEDTRACKMAPV1_H
3 
4 #include "TpcSeedTrackMap.h"
5 #include "TrkrDefs.h"
6 
7 #include <map>
8 #include <vector>
9 #include <memory>
10 
12 {
13 public:
14 
15  using Map = std::multimap<unsigned int, unsigned int>;
16  using ConstIterator = Map::const_iterator;
17  using ConstRange = std::pair<Map::const_iterator, Map::const_iterator>;
18 
20  TpcSeedTrackMapv1() = default;
21 
22  void Reset() override;
23 
24  void addAssoc(unsigned int tpc_key, unsigned int track_key) override;
25 
26  // get map entries for one TPC seed
27  ConstRange getAssocTracks(unsigned int) override;
28 
29  ConstRange getAll() override;
30 
31  unsigned int size() override;
32 
33 private:
34 
36 
37 
39 
40 };
41 
42 #endif