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
HCalJetPhiShift.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file HCalJetPhiShift.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef HCALJETPHISHIFT_H
4
#define HCALJETPHISHIFT_H
5
6
#include <
fun4all/SubsysReco.h
>
7
8
#include <string>
9
#include <vector>
10
11
class
PHCompositeNode
;
12
class
TTree;
13
class
TFile;
14
15
class
HCalJetPhiShift
:
public
SubsysReco
16
{
17
public
:
18
19
HCalJetPhiShift
(
const
std::string
&
name
=
"HCalJetPhiShift"
,
const
std::string
&outputFile =
"HCalJetPhiShift_test.root"
);
20
21
~HCalJetPhiShift
()
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
void
SetEventNumber
(
int
event_number)
57
{
58
m_event
= event_number;
59
};
60
61
private
:
62
std::string
m_outputFileName
;
63
65
TTree *
m_T
;
66
68
int
m_event
;
69
int
m_nTow_in
;
70
int
m_nTow_out
;
71
int
m_nTow_emc
;
72
float
m_eta
;
73
float
m_phi
;
74
float
m_e
;
75
float
m_pt
;
76
float
m_vx
;
77
float
m_vy
;
78
float
m_vz
;
79
81
std::vector<int>
m_id
;
82
std::vector<float>
m_eta_in
;
83
std::vector<float>
m_phi_in
;
84
std::vector<float>
m_e_in
;
85
std::vector<int>
m_ieta_in
;
86
std::vector<int>
m_iphi_in
;
87
88
std::vector<float>
m_eta_out
;
89
std::vector<float>
m_phi_out
;
90
std::vector<float>
m_e_out
;
91
std::vector<int>
m_ieta_out
;
92
std::vector<int>
m_iphi_out
;
93
94
std::vector<float>
m_eta_emc
;
95
std::vector<float>
m_phi_emc
;
96
std::vector<float>
m_e_emc
;
97
std::vector<int>
m_ieta_emc
;
98
std::vector<int>
m_iphi_emc
;
99
100
int
FillTTree
(
PHCompositeNode
*topNode);
101
};
102
103
#endif // HCALJETPHISHIFT_H
analysis
blob
master
JS-Jet
HCalJetPhiShift
src
HCalJetPhiShift.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:17:53
using
1.8.2 with
sPHENIX GitHub integration