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
JetHepMCLoader.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file JetHepMCLoader.h
1
// $Id: $
2
11
#ifndef G4JET_JETHEPMCLOADER_H
12
#define G4JET_JETHEPMCLOADER_H
13
14
#include <
jetbase/Jet.h
>
15
16
#include <
fun4all/SubsysReco.h
>
17
#include <string>
18
#include <vector>
19
20
class
Fun4AllHistoManager
;
21
class
PHCompositeNode
;
22
42
class
JetHepMCLoader
:
public
SubsysReco
43
{
44
public
:
46
JetHepMCLoader
(
const
std::string
&jetInputCategory);
47
~JetHepMCLoader
()
override
{}
48
49
int
InitRun
(
PHCompositeNode
*topNode)
override
;
50
int
process_event
(
PHCompositeNode
*topNode)
override
;
51
int
End
(
PHCompositeNode
*topNode)
override
;
52
64
void
addJet
(
65
const
std::string
&
name
,
66
int
embeddingID,
67
Jet::ALGO
algorithm
,
68
double
parameter,
69
int
tagPID,
70
int
tagStatus);
71
72
void
saveQAPlots
(
bool
b
=
true
) {
m_saveQAPlots
=
b
; }
73
74
private
:
75
int
CreateNodes
(
PHCompositeNode
*topNode);
76
Fun4AllHistoManager
*
getHistoManager
();
77
78
std::string
m_jetInputCategory
;
79
80
bool
m_saveQAPlots
=
false
;
81
82
struct
hepmc_jet_src
83
{
85
std::string
m_name
;
86
88
int
m_embeddingID
;
89
91
std::string
m_algorithmName
;
92
93
Jet::ALGO
m_algorithmID
;
94
96
double
m_parameter
;
97
99
int
m_tagPID
;
100
102
int
m_tagStatus
;
103
};
104
105
std::vector<hepmc_jet_src>
m_jetSrc
;
106
};
107
108
#endif
/* JETHEPMCLOADER_H_ */
coresoftware
blob
master
simulation
g4simulation
g4jets
JetHepMCLoader.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:15
using
1.8.2 with
sPHENIX GitHub integration