Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DSTTrackInfoReader.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file DSTTrackInfoReader.h
1 #ifndef G4EVAL_DSTTRACKINFOREADER_H
2 #define G4EVAL_DSTTRACKINFOREADER_H
3 
9 // #include "DSTContainerv3.h"
10 
11 #include <fun4all/SubsysReco.h>
14 #include <trackbase/TrkrDefs.h>
18 
19 #include <map>
20 #include <set>
21 #include <string>
22 #include <vector>
23 
24 class PHG4Hit;
25 class PHG4HitContainer;
26 class PHG4Particle;
28 class SvtxTrack;
29 class SvtxTrackMap;
30 // class DSTContainer;
31 class TrkrCluster;
35 class TrkrHitTruthAssoc;
36 
38 {
39  public:
41  DSTTrackInfoReader(const std::string& = "DSTTrackInfoReader");
42 
44  int InitRun(PHCompositeNode*) override;
45 
47  int process_event(PHCompositeNode*) override;
48 
49  enum Flags
50  {
51  WriteEvent = 1 << 0,
52  WriteClusters = 1 << 1,
53  WriteTracks = 1 << 2
54  };
55 
57  void set_flags(int flags)
58  {
59  m_flags = flags;
60  }
61 
62  private:
65 
66  void evaluate_track_info();
67 
68  // SvtxTrack recover_track(DSTContainerv3::TrackStruct);
69 
70  // TrkrCluster recover_cluster(DSTContainerv3::ClusterStruct);
71 
73  // DSTContainer* m_container = nullptr;
74 
77 
79 
80  // debugging helpers
81  // bool dryrun = false;
82  // bool generateKey = false;
83 };
84 
85 #endif // G4EVAL_DSTTRACKINFOREADER_H