Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TrkrClusterIterationMapv1.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file TrkrClusterIterationMapv1.h
1 #ifndef TRACKBASE_TRKRCLUSTERITERATIONV1_H
2 #define TRACKBASE_TRKRCLUSTERITERATIONV1_H
3 
12 #include "TrkrDefs.h"
13 
14 #include <phool/PHObject.h>
15 
16 #include <iostream> // for cout, ostream
17 #include <map>
18 #include <utility> // for pair
19 
26 {
27  public:
28  TrkrClusterIterationMapv1() = default;
29 
30  void Reset() override;
31 
32  void identify(std::ostream &os = std::cout) const override;
33 
34  void addIteration(TrkrDefs::cluskey, short int) override;
35 
36  short int getIteration(TrkrDefs::cluskey ckey) override;
37 
38  unsigned int size(void) const override;
39 
40  ConstIter begin() const override { return m_map.begin(); }
41  ConstIter end() const override { return m_map.end(); }
42 
43  private:
45 
47 };
48 
49 #endif // TRACKBASE_TRKRCLUSTERITERATIONV1_H