Analysis Software
Documentation for sPHENIX simulation 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 
20 class SvtxVertexMap;
21 class SvtxTrackMap;
22 
28 {
29  public:
30  PHTrackPropagating(const std::string &name = "PHTrackPropagating");
31  ~PHTrackPropagating() override = default;
32 
33  int InitRun(PHCompositeNode *topNode) override;
34  int process_event(PHCompositeNode *topNode) override;
35  int End(PHCompositeNode *topNode) override;
36  void set_track_map_name(const std::string &map_name) { _track_map_name = map_name; }
37  void SetUseTruthClusters(bool setit){_use_truth_clusters = setit;}
38 
39  protected:
42  virtual int Setup(PHCompositeNode *topNode);
43 
46  virtual int Process() = 0;
47 
49  virtual int End() = 0;
50 
51 
52  //SvtxClusterMap *_cluster_map;
56 
57  std::string _track_map_name = "SvtxTrackMap";
58 
59  bool _use_truth_clusters = false;
60 
61  private:
63  int GetNodes(PHCompositeNode *topNode);
64 };
65 
66 #endif