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
HFMLTriggerOccupancy.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file HFMLTriggerOccupancy.h
1
#ifndef __HFMLTriggerOccupancy_H__
2
#define __HFMLTriggerOccupancy_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
TH1F;
15
class
TH2F;
16
class
TH3F;
17
18
class
PHCompositeNode
;
19
class
PHG4CylinderGeomContainer
;
20
class
PHG4TruthInfoContainer
;
21
class
TrkrHitSetContainer
;
22
class
SvtxEvalStack
;
23
class
PdbParameterMap
;
24
25
namespace
HepMC
26
{
27
class
GenEvent;
28
}
29
30
class
HFMLTriggerOccupancy
:
public
SubsysReco
31
{
32
public
:
33
HFMLTriggerOccupancy
(
std::string
filename
);
34
35
int
Init
(
PHCompositeNode
*);
36
int
InitRun
(
PHCompositeNode
*);
37
int
process_event
(
PHCompositeNode
*);
38
int
End
(
PHCompositeNode
*);
39
40
double
41
get_eta_max
()
const
42
{
43
return
_eta_max
;
44
}
45
46
void
47
set_eta_max
(
double
etaMax)
48
{
49
_eta_max
= etaMax;
50
}
51
52
double
53
get_eta_min
()
const
54
{
55
return
_eta_min
;
56
}
57
58
void
59
set_eta_min
(
double
etaMin)
60
{
61
_eta_min
= etaMin;
62
}
63
69
int
get_embedding_id
()
const
{
return
_embedding_id
; }
70
//
76
void
set_embedding_id
(
int
id
) {
_embedding_id
=
id
; }
77
78
private
:
79
int
_ievent
;
80
81
TFile *
_f
;
82
std::fstream
m_jsonOut
;
83
84
std::string
_foutname
;
85
86
double
_eta_min
;
87
double
_eta_max
;
88
93
int
_embedding_id
;
94
95
unsigned
int
_nlayers_maps
;
96
enum
{
kNCHip
= 9};
97
98
// eval stack
99
SvtxEvalStack
*
_svtxevalstack
;
100
TrkrHitSetContainer
*
m_hitsetcont
;
101
PHG4CylinderGeomContainer
*
m_Geoms
;
102
PHG4TruthInfoContainer
*
m_truthInfo
;
103
PdbParameterMap
*
m_Flags
;
104
105
TH1F *
m_hNorm
;
106
TH1F *
m_hNChEta
;
107
TH1F *
m_hVertexZ
;
108
109
TH2F *
m_hitStaveLayer
;
110
TH2F *
m_hitModuleHalfStave
;
111
TH2F *
m_hitChipModule
;
112
113
TH3F *
m_hitLayerMap
;
114
TH3F *
m_hitPixelPhiMap
;
115
TH3F *
m_hitPixelPhiMapHL
;
116
TH3F *
m_hitPixelZMap
;
117
118
TH1F *
m_Multiplicity
;
119
TH2F *
m_LayerMultiplicity
;
120
TH3F *
m_LayerChipMultiplicity
;
121
122
};
123
124
#endif // __HFMLTriggerOccupancy_H__
analysis
blob
master
HF-Jet
HFMLTrigger_LANL
HFMLTriggerOccupancy.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:17:52
using
1.8.2 with
sPHENIX GitHub integration