ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TrkrClusterIterationMap.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file TrkrClusterIterationMap.h
1 
7 #ifndef TRACKBASE_TRKRCLUSTERITERATIONMAP_H
8 #define TRACKBASE_TRKRCLUSTERITERATIONMAP_H
9 
10 #include "TrkrDefs.h"
11 
12 #include <phool/PHObject.h>
13 
14 #include <iostream> // for cout, ostream
15 #include <map>
16 #include <utility> // for pair
17 #include <climits>
18 
25 {
26 public:
27 
28  using Map = std::map<TrkrDefs::cluskey, short int>;
29  // using ConstIterator = Map::const_iterator;
30  // using ConstRange = std::pair<Map::const_iterator, Map::const_iterator>;
31 
32  void Reset() override;
33 
39  virtual void addIteration(TrkrDefs::cluskey ckey, short int iter) = 0;
40 
41  virtual short int getIteration(TrkrDefs::cluskey ckey) = 0;
42 
43  virtual unsigned int size() const {return 0;}
44 
45 protected:
46  TrkrClusterIterationMap() = default;
47 
48 private:
49 
51 };
52 
53 #endif // TRACKBASE_TRKRCLUSTERITERATIONMAP_H