EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TpcSeedTrackMap.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file TpcSeedTrackMap.h
1 #ifndef TRACKRECO_TPCSEEDTRACKMAP_H
2 #define TRACKRECO_TPCSEEDTRACKMAP_H
3 
4 #include <trackbase/TrkrDefs.h>
5 
6 #include <phool/PHObject.h>
7 
8 #include <map>
9 #include <vector>
10 #include <memory>
11 
12 class TpcSeedTrackMap : public PHObject
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 
20  void Reset() override;
21 
22  virtual void addAssoc(unsigned int tpc_key, unsigned int track_key) = 0;
23 
24  virtual ConstRange getAssocTracks(unsigned int) = 0;
25 
26  virtual ConstRange getAll() = 0;
27 
28  virtual unsigned int size() = 0;
29 
30  protected:
31 
32  TpcSeedTrackMap() = default;
33 
34 private:
35 
37 
38 };
39 
40 #endif