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
SvtxTruthRecoTableEval.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file SvtxTruthRecoTableEval.h
1
#ifndef SVTXTRUTHRECOTABLEEVAL_H
2
#define SVTXTRUTHRECOTABLEEVAL_H
3
4
#include <
fun4all/SubsysReco.h
>
5
6
#include <
trackbase_historic/PHG4ParticleSvtxMap.h
>
7
#include <
trackbase_historic/SvtxPHG4ParticleMap.h
>
8
9
#include <memory>
10
#include <string>
11
12
class
PHCompositeNode
;
13
class
PHG4TruthInfoContainer
;
14
class
SvtxEvalStack
;
15
16
class
SvtxTruthRecoTableEval
:
public
SubsysReco
17
{
18
public
:
19
SvtxTruthRecoTableEval
(
const
std::string
&
name
=
"SvtxTruthRecoTableEval"
);
20
21
virtual
~SvtxTruthRecoTableEval
();
22
23
int
Init
(
PHCompositeNode
*)
override
;
24
int
InitRun
(
PHCompositeNode
*topNode)
override
;
25
int
process_event
(
PHCompositeNode
*topNode)
override
;
26
int
ResetEvent
(
PHCompositeNode
*topNode)
override
;
27
28
int
End
(
PHCompositeNode
*topNode)
override
;
29
32
void
setMinMomentumTruthMap
(
const
double
v
) {
m_minMomentumTruthMap
=
v
; }
33
34
private
:
35
int
createNodes
(
PHCompositeNode
*topNode);
36
37
void
fillTruthMap
(
PHCompositeNode
*topNode);
38
void
fillRecoMap
(
PHCompositeNode
*topNode);
39
40
bool
m_scanForPrimaries
=
false
;
41
44
double
m_minMomentumTruthMap
= 50
e
-3;
45
46
PHG4ParticleSvtxMap
*
m_truthMap
=
nullptr
;
47
SvtxPHG4ParticleMap
*
m_recoMap
=
nullptr
;
48
std::unique_ptr<SvtxEvalStack>
m_svtxevalstack
;
49
};
50
51
#endif // SVTXTRUTHRECOTABLEEVAL_H
coresoftware
blob
master
simulation
g4simulation
g4eval
SvtxTruthRecoTableEval.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:14
using
1.8.2 with
sPHENIX GitHub integration