ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHTrackPropagating.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file PHTrackPropagating.h
1 
7 #ifndef TRACKRECO_PHTRACKPROPAGATING_H
8 #define TRACKRECO_PHTRACKPROPAGATING_H
9 
10 // PHENIX includes
11 #include <fun4all/SubsysReco.h>
12 
13 // STL includes
14 #include <string>
15 
16 // forward declarations
17 class PHCompositeNode;
18 
21 class SvtxVertexMap;
22 class SvtxTrackMap;
23 class AssocInfoContainer;
24 
30 {
31  public:
32  PHTrackPropagating(const std::string &name = "PHTrackPropagating");
33  ~PHTrackPropagating() override {}
34 
35  int InitRun(PHCompositeNode *topNode) override;
36  int process_event(PHCompositeNode *topNode) override;
37  int End(PHCompositeNode *topNode) override;
38  void set_track_map_name(const std::string &map_name) { _track_map_name = map_name; }
39  void SetUseTruthClusters(bool setit){_use_truth_clusters = setit;}
40 
41  protected:
44  virtual int Setup(PHCompositeNode *topNode);
45 
48  virtual int Process() = 0;
49 
51  virtual int End() = 0;
52 
53 
54  //SvtxClusterMap *_cluster_map;
60 
61  std::string _track_map_name;
62 
63  bool _use_truth_clusters = false;
64 
65  private:
67  int GetNodes(PHCompositeNode *topNode);
68 };
69 
70 #endif