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
QAG4Decayer.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file QAG4Decayer.h
1
#include <
fun4all/SubsysReco.h
>
2
#include <
g4main/PHG4Particle.h
>
3
#include <
g4main/PHG4TruthInfoContainer.h
>
4
#include <
g4main/PHG4VtxPoint.h
>
5
6
#include <
g4eval/SvtxEvalStack.h
>
7
8
#include <
globalvertex/SvtxVertex.h
>
9
#include <
globalvertex/SvtxVertexMap.h
>
10
11
#include <
trackbase_historic/ActsTransformations.h
>
12
#include <
trackbase_historic/SvtxTrack.h
>
13
#include <
trackbase_historic/SvtxTrackMap.h
>
14
#include <
trackbase_historic/TrackSeed.h
>
15
16
#include <TBranch.h>
17
#include <TFile.h>
18
#include <TH1.h>
19
#include <TH2.h>
20
#include <TTree.h>
21
22
#include <string>
23
24
class
PHCompositeNode
;
25
class
PHG4TruthInfoContainer
;
26
class
PHG4Particle
;
27
class
PHG4VtxPoint
;
28
29
class
QAG4Decayer
:
public
SubsysReco
30
{
31
public
:
32
// QAG4Decayer();
33
QAG4Decayer
(
const
std::string
&
name
=
"QAG4Decayer"
);
34
35
virtual
~QAG4Decayer
();
36
37
int
Init
(
PHCompositeNode
*topNode)
override
;
38
// int Init() override;
39
int
process_event
(
PHCompositeNode
*topNode)
override
;
40
int
End
(
PHCompositeNode
*topNode)
override
;
41
std::vector<int>
Channel
(
int
pdgid, std::vector<int> Daughter);
42
43
private
:
44
PHG4TruthInfoContainer
*
m_truth_info
=
nullptr
;
45
// SvtxEvalStack *_svtxevalstack = NULL;
46
47
TFile *
fout
=
nullptr
;
48
TTree *
QATree
=
nullptr
;
49
int
EvtID
= -1;
50
float
LifeTime
= -1;
51
/*
52
TH1D * MassHis;
53
TH1D * NPartHis;
54
TH1D * BR1DHis;
55
*/
56
int
NParticles
= -1;
57
std::vector<int>
PVDaughtersPDGID
;
58
59
bool
m_write_nTuple
;
60
// bool m_write_QAHists;
61
bool
m_SaveFiles
;
62
};
coresoftware
blob
master
offline
QA
modules
QAG4Decayer.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:11
using
1.8.2 with
sPHENIX GitHub integration