Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
DSTTrackInfoWriter.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file DSTTrackInfoWriter.h
1 #ifndef G4EVAL_DSTTRACKINFOWRITER_H
2 #define G4EVAL_DSTTRACKINFOWRITER_H
3 
10 #include <fun4all/SubsysReco.h>
11 #include <trackbase/TrkrDefs.h>
16 
17 #include <map>
18 #include <set>
19 #include <string>
20 #include <vector>
21 
22 #include <TClonesArray.h>
23 #include <TFile.h>
24 #include <TTree.h>
25 
26 class PHG4Hit;
27 class PHG4HitContainer;
28 class PHG4Particle;
30 class SvtxTrack;
31 class SvtxTrackMap;
32 // class DSTContainerv3;
33 // class DSTContainer;
34 class TrkrCluster;
38 class TrkrHitTruthAssoc;
39 class TrackSeedContainer;
40 
42 {
43  public:
45  DSTTrackInfoWriter(const std::string& = "DSTTrackInfoWriter");
46 
48  int InitRun(PHCompositeNode* topNode) override;
49 
51  int process_event(PHCompositeNode* topNode) override;
52 
53  enum Flags
54  {
55  WriteEvent = 1 << 0,
56  WriteClusters = 1 << 1,
57  WriteTracks = 1 << 2
58  };
59 
61  void set_flags(int flags)
62  {
63  m_flags = flags;
64  }
65 
66  private:
69 
71  void evaluate_track_info();
72 
74 
77 
80 };
81 
82 #endif // G4EVAL_DSTTrackInfoWRITER_H