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
HFMLTriggerInterface.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file HFMLTriggerInterface.h
1
#ifndef __HFMLTriggerInterface_H__
2
#define __HFMLTriggerInterface_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
#include <map>
12
13
class
TTree;
14
class
TFile;
15
class
TH2F;
16
class
TH3F;
17
18
class
PdbParameterMap
;
19
class
PHCompositeNode
;
20
class
PHG4CylinderGeomContainer
;
21
class
PHG4HitContainer
;
22
class
PHHepMCGenEventMap
;
23
class
PHG4TruthInfoContainer
;
24
class
PHG4Hit
;
25
//class SvtxEvalStack;
26
//class TrkrClusterHitAssoc;
27
class
TrkrHitSetContainer
;
28
//class TrkrHitTruthAssoc;
29
30
namespace
HepMC
31
{
32
class
GenEvent;
33
}
34
35
class
HFMLTriggerInterface
:
public
SubsysReco
36
{
37
public
:
38
HFMLTriggerInterface
(
std::string
filename
);
39
40
int
Init
(
PHCompositeNode
*);
41
int
InitRun
(
PHCompositeNode
*);
42
int
process_event
(
PHCompositeNode
*);
43
int
End
(
PHCompositeNode
*);
44
45
double
46
get_eta_max
()
const
47
{
48
return
_eta_max
;
49
}
50
51
void
52
set_eta_max
(
double
etaMax)
53
{
54
_eta_max
= etaMax;
55
}
56
57
double
58
get_eta_min
()
const
59
{
60
return
_eta_min
;
61
}
62
63
void
64
set_eta_min
(
double
etaMin)
65
{
66
_eta_min
= etaMin;
67
}
68
74
int
get_embedding_id
()
const
{
return
_embedding_id
; }
75
//
81
void
set_embedding_id
(
int
id
) {
_embedding_id
=
id
; }
82
83
int
load_nodes
(
PHCompositeNode
* topNode);
84
85
private
:
86
int
_ievent
;
87
88
TFile *
_f
;
89
std::fstream
m_jsonOut
;
90
91
std::string
_foutname
;
92
93
double
_eta_min
;
94
double
_eta_max
;
95
100
int
_embedding_id
;
101
102
unsigned
int
_nlayers_maps
;
103
104
// eval stack
105
//SvtxEvalStack *_svtxevalstack;
106
107
TrkrHitSetContainer
*
m_hitsets
;
108
109
PHHepMCGenEventMap
*
m_GenEventMap
;
110
PHG4TruthInfoContainer
*
m_truthInfo
;
111
PHG4HitContainer
*
m_g4hits_mvtx
;
112
113
//TrkrHitTruthAssoc *m_hit_truth_map;
114
//TrkrClusterHitAssoc *m_cluster_hit_map;
115
116
PdbParameterMap
*
m_Flags
;
117
118
PHG4CylinderGeomContainer
*
m_Geoms
;
119
120
TH2F *
m_hitStaveLayer
;
121
TH2F *
m_hitModuleHalfStave
;
122
TH2F *
m_hitChipModule
;
123
124
TH3F *
m_hitLayerMap
;
125
TH3F *
m_hitPixelPhiMap
;
126
TH3F *
m_hitPixelPhiMapHL
;
127
TH3F *
m_hitPixelZMap
;
128
129
};
130
131
#endif // __HFMLTriggerInterface_H__
analysis
blob
master
HF-Jet
HFMLTrigger_LANL
HFMLTriggerInterface.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:17:52
using
1.8.2 with
sPHENIX GitHub integration