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
HFMLTriggerHepMCTrigger.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file HFMLTriggerHepMCTrigger.h
1
#ifndef __HFMLTriggerHepMCTrigger_H__
2
#define __HFMLTriggerHepMCTrigger_H__
3
4
// --- need to check all these includes...
5
#include <
fun4all/SubsysReco.h
>
6
#include <limits.h>
7
#include <cmath>
8
#include <fstream>
// std::fstream
9
#include <string>
10
#include <vector>
11
12
class
TTree;
13
class
TFile;
14
class
TH1D;
15
class
TH2F;
16
class
TH3F;
17
18
class
PHCompositeNode
;
19
class
PHHepMCGenEventMap
;
20
class
PdbParameterMap
;
21
22
namespace
HepMC
23
{
24
class
GenEvent;
25
}
26
27
class
HFMLTriggerHepMCTrigger
:
public
SubsysReco
28
{
29
public
:
30
HFMLTriggerHepMCTrigger
(
const
std::string
&moduleName,
const
std::string
&
filename
);
31
32
int
Init
(
PHCompositeNode
*);
33
int
InitRun
(
PHCompositeNode
*);
34
int
process_event
(
PHCompositeNode
*);
35
int
End
(
PHCompositeNode
*);
36
37
double
38
get_eta_max
()
const
39
{
40
return
_eta_max
;
41
}
42
43
void
44
set_eta_max
(
double
etaMax)
45
{
46
_eta_max
= etaMax;
47
}
48
49
double
50
get_eta_min
()
const
51
{
52
return
_eta_min
;
53
}
54
55
void
56
set_eta_min
(
double
etaMin)
57
{
58
_eta_min
= etaMin;
59
}
60
61
void
set_RejectReturnCode
(
int
r
) {
m_RejectReturnCode
=
r
; }
62
68
int
get_embedding_id
()
const
{
return
_embedding_id
; }
69
//
75
void
set_embedding_id
(
int
id
) {
_embedding_id
=
id
; }
76
77
private
:
78
int
_ievent
;
79
80
int
m_RejectReturnCode
;
81
82
TFile *
_f
;
83
84
std::string
_foutname
;
85
86
double
_eta_min
;
87
double
_eta_max
;
88
93
int
_embedding_id
;
94
95
PHHepMCGenEventMap
*
m_Geneventmap
;
96
PdbParameterMap
*
m_Flags
;
97
98
TH1D *
m_hNorm
;
99
TH2F *
m_DRapidity
;
100
};
101
102
#endif // __HFMLTriggerHepMCTrigger_H__
analysis
blob
master
HF-Jet
HFMLTrigger_LANL
HFMLTriggerHepMCTrigger.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:17:52
using
1.8.2 with
sPHENIX GitHub integration