Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHInitVertexing.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file PHInitVertexing.h
1 
7 #ifndef TRACKRECO_PHINITVERTEXING_H
8 #define TRACKRECO_PHINITVERTEXING_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 
27 {
28  public:
29  PHInitVertexing(const std::string &name = "PHInitVertexing");
30  ~PHInitVertexing() override = default;
31 
32  int InitRun(PHCompositeNode *topNode) override;
33  int process_event(PHCompositeNode *topNode) override;
34 
35  protected:
36 
39  virtual int Setup(PHCompositeNode *topNode);
40 
43  virtual int Process(PHCompositeNode *topNode) = 0;
44 
45 
48 
49  private:
51  int CreateNodes(PHCompositeNode *topNode);
52 
54  int GetNodes(PHCompositeNode *topNode);
55 };
56 
57 #endif