ECCE @ EIC 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 <trackbase/TrkrDefs.h>
5 
6 #include "TpcSeedTrackMap.h"
7 
8 #include <map>
9 #include <vector>
10 #include <memory>
11 
13 {
14 public:
15 
16  using Map = std::multimap<unsigned int, unsigned int>;
17  using ConstIterator = Map::const_iterator;
18  using ConstRange = std::pair<Map::const_iterator, Map::const_iterator>;
19 
21  TpcSeedTrackMapv1() = default;
22 
23  void Reset() override;
24 
25  void addAssoc(unsigned int tpc_key, unsigned int track_key) override;
26 
27  // get map entries for one TPC seed
28  ConstRange getAssocTracks(unsigned int) override;
29 
30  ConstRange getAll() override;
31 
32  unsigned int size() override;
33 
34 private:
35 
37 
38 
40 
41 };
42 
43 #endif