Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
FillTruthRecoMatchMap.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file FillTruthRecoMatchMap.h
1 #ifndef FILLTRUTHRECOMATCHMAP_H
2 #define FILLTRUTHRECOMATCHMAP_H
3 
42 #include <fun4all/SubsysReco.h>
43 
45 class PHCompositeNode;
48 
50 {
51  public:
52  FillTruthRecoMatchMap(const std::string &name = "FillTruthRecoMatchMap");
53 
54  virtual ~FillTruthRecoMatchMap();
55 
56  int Init(PHCompositeNode *) override;
57  int InitRun(PHCompositeNode *topNode) override;
58  int process_event(PHCompositeNode * /*topNode*/) override;
59  int End(PHCompositeNode *topNode) override;
60 
61  private:
62  int createNodes(PHCompositeNode *topNode);
63 
64  EmbRecoMatchContainer *m_EmbRecoMatchContainer{nullptr}; // contianer used to fill the other track matches
65  SvtxPHG4ParticleMap *m_SvtxPHG4ParticleMap{nullptr}; // reco to truth map, filled for output
66  PHG4ParticleSvtxMap *m_PHG4ParticleSvtxMap{nullptr}; // truth to reco map, filled for output
67 };
68 
69 #endif // FILLTRUTHRECOMATCHMAP_H