EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TrkrHitSetContainerv1.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file TrkrHitSetContainerv1.h
1 #ifndef TRACKBASE_TrkrHitSetContainerv1_H
2 #define TRACKBASE_TrkrHitSetContainerv1_H
3 
9 #include "TrkrDefs.h"
10 #include "TrkrHitSetContainer.h"
11 
12 #include <iostream> // for cout, ostream
13 #include <map>
14 #include <utility> // for pair
15 
16 class TrkrHitSet;
17 
22 {
23 
24  public:
25 
26  TrkrHitSetContainerv1() = default;
27 
30 
31  void Reset() override;
32 
33  void identify(std::ostream& = std::cout) const override;
34 
36 
38 
39  void removeHitSet(TrkrDefs::hitsetkey ) override;
40 
41  void removeHitSet(TrkrHitSet* ) override;
42 
44 
45  ConstRange getHitSets(const TrkrDefs::TrkrId trackerid) const override;
46 
47  ConstRange getHitSets(const TrkrDefs::TrkrId trackerid, const uint8_t layer) const override;
48 
49  ConstRange getHitSets() const override;
50 
52 
53  unsigned int size() const override
54  { return m_hitmap.size(); }
55 
56  private:
57 
59 
60  ClassDefOverride(TrkrHitSetContainerv1, 1)
61 };
62 
63 #endif //TRACKBASE_TrkrHitSetContainerv1_H