File indexing completed on 2026-08-31 08:22:53
0001
0002
0003 #ifndef G4MAIN_PHG4INEVENTTOTRUTHINFO_H
0004 #define G4MAIN_PHG4INEVENTTOTRUTHINFO_H
0005
0006 #include <fun4all/SubsysReco.h>
0007
0008 #include <string>
0009
0010 class PHCompositeNode;
0011 class PHG4Particle;
0012 class PHG4TruthInfoContainer;
0013 class PHG4VtxPoint;
0014
0015 class PHG4InEventToTruthInfo : public SubsysReco
0016 {
0017 public:
0018 explicit PHG4InEventToTruthInfo(const std::string &name = "PHG4INEVENTTOTRUTHINFO");
0019 ~PHG4InEventToTruthInfo() override = default;
0020
0021 int InitRun(PHCompositeNode *topNode) override;
0022 int process_event(PHCompositeNode *topNode) override;
0023
0024 int CreateNodeTree(PHCompositeNode *topNode);
0025
0026 private:
0027 static PHG4Particle *makeParticleCopy(PHG4Particle *particle);
0028 };
0029
0030 #endif