Analysis Software
Documentation for sPHENIX simulation 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 class TrackSeed;
19 
21 {
22  public:
23  QAG4SimulationVertex(const std::string &name = "QAG4SimulationVertex");
24 
25  virtual ~QAG4SimulationVertex() = default;
26 
27  int Init(PHCompositeNode *topNode);
28  int InitRun(PHCompositeNode *topNode);
29  int process_event(PHCompositeNode *topNode);
30 
32 
33  void check_embed() { m_checkembed = true; }
34  void embed_id_cut(const int id) { m_embed_id_cut = id; }
35  void addEmbeddingID(int embeddingID);
36 
39 
40  private:
42 
44 
45  unsigned int _nlayers_maps = 3;
46 
47  std::unique_ptr<SvtxEvalStack> m_svtxEvalStack;
48 
49  int m_embed_id_cut = 0;
50  bool m_checkembed = false;
51 
55 
56  std::set<int> m_embeddingIDs;
57 
58  std::string m_trackMapName = "SvtxTrackMap";
59  std::string m_vertexMapName = "SvtxVertexMap";
60 };
61 
62 #endif // QAG4SIMULATIONVERTEX_H