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
jetHistogrammer.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file jetHistogrammer.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef JETHISTOGRAMMER_H
4
#define JETHISTOGRAMMER_H
5
6
#include <
fun4all/SubsysReco.h
>
7
8
#include <string>
9
#include <TH1F.h>
10
11
class
PHCompositeNode
;
12
class
TH1F;
13
const
int
nEtaBins
= 4;
14
15
class
jetHistogrammer
:
public
SubsysReco
16
{
17
public
:
18
19
jetHistogrammer
(
const
std::string
&
name
=
"jetHistogrammer"
,
const
std::string
&fileout =
"jetHistogrammer.root"
);
20
21
~jetHistogrammer
()
override
;
22
28
int
Init
(
PHCompositeNode
*topNode)
override
;
29
35
int
InitRun
(
PHCompositeNode
*topNode)
override
;
36
40
int
process_event
(
PHCompositeNode
*topNode)
override
;
41
43
int
ResetEvent
(
PHCompositeNode
*topNode)
override
;
44
46
int
EndRun
(
const
int
runnumber
)
override
;
47
49
int
End
(
PHCompositeNode
*topNode)
override
;
50
52
int
Reset
(
PHCompositeNode
*
/*topNode*/
)
override
;
53
54
void
Print
(
const
std::string
&what =
"ALL"
)
const override
;
55
56
private
:
57
58
TH1F *
ptGJet
[
nEtaBins
];
59
TH1F *
ptPJet
;
60
std::string
m_outputFilename
;
61
62
float
etaBins
[
nEtaBins
] = {0,0.7,1.1,1.5};
63
64
int
getEtaBin
(
float
eta
);
65
};
66
67
#endif // JETHISTOGRAMMER_H
analysis
blob
master
pythiaInfo
src
jetHistogrammer.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:17:57
using
1.8.2 with
sPHENIX GitHub integration