ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
TrkrHitTruthAssoc.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file TrkrHitTruthAssoc.h
1 #ifndef TRACKBASE_TRKRHITTRUTHASSOC_H
2 #define TRACKBASE_TRKRHITTRUTHASSOC_H
3 
11 #include "TrkrDefs.h"
12 
13 #include <g4main/PHG4HitDefs.h>
14 #include <phool/PHObject.h>
15 
16 #include <iostream> // for cout, ostream
17 #include <map>
18 #include <utility> // for pair
19 
26 {
27 
28  public:
29 
31  using MMap = std::multimap< TrkrDefs::hitsetkey, std::pair<TrkrDefs::hitkey, PHG4HitDefs::keytype> >;
32  using Iterator = MMap::iterator;
33  using ConstIterator = MMap::const_iterator;
34  using Range = std::pair<Iterator, Iterator>;
35  using ConstRange = std::pair<ConstIterator, ConstIterator>;
36 
37  void Reset() override
38  {}
39 
40  void identify(std::ostream &/*os*/ = std::cout) const override
41  {}
42 
49  virtual void addAssoc(const TrkrDefs::hitsetkey /*hitsetkey*/, const TrkrDefs::hitkey /*hitkey*/, const PHG4HitDefs::keytype /*g4hitkey*/)
50  {}
51 
58  virtual void findOrAddAssoc(const TrkrDefs::hitsetkey /*hitsetkey*/, const TrkrDefs::hitkey /*hitkey*/, const PHG4HitDefs::keytype /*g4hitkey*/)
59  {}
60 
61  virtual void removeAssoc(const TrkrDefs::hitsetkey /*hitsetkey*/, const TrkrDefs::hitkey /*hitkey*/)
62  {}
63 
69  virtual void getG4Hits(const TrkrDefs::hitsetkey /*hitsetkey*/, const unsigned int /*hidx*/, MMap &/*temp_map*/) const
70  {}
71 
72  protected:
74  TrkrHitTruthAssoc() = default;
75 
76  private:
77 
79 
80 };
81 
82 #endif //TRACKBASE_TRKRHITTRUTHASSOC_H