EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
QAG4SimulationVertex.h
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file QAG4SimulationVertex.h
1 // Tell emacs that this is a C++ source
2 // -*- C++ -*-.
3 #ifndef QAG4SIMULATIONVERTEX_H
4 #define QAG4SIMULATIONVERTEX_H
5 
6 #include <fun4all/SubsysReco.h>
7 
8 #include <g4eval/SvtxEvalStack.h>
9 
10 #include <memory>
11 #include <set>
12 #include <string>
13 
14 class PHCompositeNode;
16 class SvtxTrackMap;
17 class SvtxVertexMap;
18 
20 {
21  public:
22  QAG4SimulationVertex(const std::string &name = "QAG4SimulationVertex");
23 
24  virtual ~QAG4SimulationVertex() = default;
25 
26  int Init(PHCompositeNode *topNode);
27  int InitRun(PHCompositeNode *topNode);
28  int process_event(PHCompositeNode *topNode);
29 
30  std::string get_histo_prefix();
31 
32  void addEmbeddingID(int embeddingID);
33 
34  void setTrackgMapName(const std::string &name) { m_trackMapName = name; }
35  void setVertexMapName(const std::string &name) { m_vertexMapName = name; }
36 
37  private:
39 
41 
42  unsigned int _nlayers_maps = 3;
43 
44  std::unique_ptr<SvtxEvalStack> m_svtxEvalStack;
45 
49 
50  std::set<int> m_embeddingIDs;
51 
52  std::string m_trackMapName = "SvtxTrackMap";
53  std::string m_vertexMapName = "SvtxVertexMap";
54 };
55 
56 #endif // QAG4SIMULATIONVERTEX_H