Analysis Software
Documentation for
sPHENIX
simulation software
Home page
Related Pages
Modules
Namespaces
Classes
Files
Examples
External Links
File List
File Members
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
;
15
class
PHG4TruthInfoContainer
;
16
class
SvtxTrackMap
;
17
class
SvtxVertexMap
;
18
class
TrackSeed
;
19
20
class
QAG4SimulationVertex
:
public
SubsysReco
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
31
std::string
get_histo_prefix
();
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
37
void
setTrackgMapName
(
const
std::string
&
name
) {
m_trackMapName
=
name
; }
38
void
setVertexMapName
(
const
std::string
&
name
) {
m_vertexMapName
=
name
; }
39
40
private
:
41
int
load_nodes
(
PHCompositeNode
*);
42
43
PHG4TruthInfoContainer
*
m_truthContainer
=
nullptr
;
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
52
SvtxTrackMap
*
m_trackMap
=
nullptr
;
53
SvtxVertexMap
*
m_vertexMap
=
nullptr
;
54
PHG4TruthInfoContainer
*
m_truthInfo
=
nullptr
;
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
coresoftware
blob
master
offline
QA
modules
QAG4SimulationVertex.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:11
using
1.8.2 with
sPHENIX GitHub integration