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
quickHIJING.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file quickHIJING.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef QUICKHIJING_H
4
#define QUICKHIJING_H
5
6
#include <
fun4all/SubsysReco.h
>
7
8
#include <string>
9
#include <vector>
10
#include <TTree.h>
11
#include <TFile.h>
12
13
class
PHCompositeNode
;
14
class
PHG4Particle
;
15
class
TTree;
16
class
TFile;
17
18
class
quickHIJING
:
public
SubsysReco
19
{
20
public
:
21
22
quickHIJING
(
const
std::string
&
name
=
"quickHIJING"
);
23
24
~quickHIJING
()
override
;
25
31
int
Init
(
PHCompositeNode
*topNode)
override
;
32
38
int
InitRun
(
PHCompositeNode
*topNode)
override
;
39
43
int
process_event
(
PHCompositeNode
*topNode)
override
;
44
46
int
ResetEvent
(
PHCompositeNode
*topNode)
override
;
47
49
int
EndRun
(
const
int
runnumber
)
override
;
50
52
int
End
(
PHCompositeNode
*topNode)
override
;
53
55
int
Reset
(
PHCompositeNode
*
/*topNode*/
)
override
;
56
57
void
Print
(
const
std::string
&what =
"ALL"
)
const override
;
58
59
private
:
60
61
TTree *
T
;
62
std::vector<int>
m_pid
= {0};
63
std::vector<float>
m_pt
= {0};
64
std::vector<float>
m_eta
= {0};
65
std::vector<float>
m_phi
= {0};
66
std::vector<float>
m_e
= {0};
67
std::vector<float>
m_p
= {0};
68
float
m_psi2
= 0;
69
float
m_cent
= 0;
70
float
m_b
= 0;
71
std::string
Outfile
;
72
TFile *
out
;
73
74
float
getpT
(
PHG4Particle
*
particle
);
75
float
getPhi
(
PHG4Particle
*
particle
);
76
float
getEta
(
PHG4Particle
*
particle
);
77
float
getP
(
PHG4Particle
*
particle
);
78
79
};
80
81
#endif // QUICKHIJING_H
analysis
blob
master
quickHIJING
src
quickHIJING.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:17:57
using
1.8.2 with
sPHENIX GitHub integration