Analysis Software
Documentation for
sPHENIX
simulation software
Home page
Related Pages
Modules
Namespaces
Classes
Files
Examples
External Links
File List
File Members
Analysis Software
Deprecated List
Modules
Namespaces
Classes
Files
File List
acts
acts-fatras
analysis
blob
master
A_N
Ana
AndersonAnalysisModules
AntiSigma
BBCStudy
Calo_Validation_Package
Calo_waveform_sim
Calorimeter
CalorimeterEmbedding
CalorimeterJets
cdbEMCalExample
cemcRecoAna
Centrality_Validation_Package
dNdEta_Run2023
EIC-IR
EIC-SynRad
EICAnalysis
EICMCAnalysis
EICTrigger
ElectronID
EMCal-analysis
EMCal-calibration
EMCal-commissioning
EMCal-LEDs
EMCal-position-dependent-calibration
EMCal-QA
EMCal_pi0_Calib_2023
EMCTemplateFitting
EpFinder
Event-Display
EventMix
FilterEvents
FilterEventsUpsilon
Fluence
ForwardCalo
ForwardTracking
FrawleyTrackEvalMacros
hbcup
HCal-analysis
HCalCosmicCalib
HCalHotTowerFinder
HCalib
HcalSingleHadronCalib
HF-Jet
HF-Particle
isoCluster
IsolatedTrackAnalysis
JS-Jet
Calibrations
FastJetMedianBkg
FullJetFinder
HCalJetPhiShift
jet-kinematics-mc
JetAnalysis
macro
src
JetKinematicCheck.cc
JetKinematicCheck.h
JetBkgdSub
JetMultSub
JetNconstituents
JetRTrack
JetSeedCount
JetUESize-v2Psi2Centrality
JetUnderlyingEvent
JetValidation
RandomConeAna
TracksInJets
TruthJetTagging
mbdAnalysis
MBDStudy
MultiDetectorMultiplicity
MvtxTelescope
mybuild
ParticleID
PHFlowJetMaker
PhotonConversion
PhotonJet
pi0ClusterAna
pi0Efficiency
Pi0MassAnalysis
Prototype2
Prototype3
Prototype4
psTOF
pythiaEMCalAna
pythiaInfo
QuarkoniaBG
quickHIJING
ResonanceJetTaggingOutputs
runTrackingDiagnostics
Shift_emcal_g4hits
SimpleTrackingAnalysis
singlePhotonClusterAna
sPhenixAj
SvtxSimPerformanceCheckReco
TemplateCreation
Test
TowerInfoExample
TPC
TPC-ClusterAnimation
TPC-GemGain
Tracking
TrackPid
TreeMaker
ZDC-CALIB
analysis_tpc_prototype
coresoftware
Doxygen_Assist
g4exampledetector
GenFit
JETSCAPE
KFParticle
macros
online_distribution
OnlMon
prototype
pythia6
rcdaq
RDBC
tutorials
doxygen_mainpage.h
File Members
Examples
External Links
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
JetKinematicCheck.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file JetKinematicCheck.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef JETKINEMATICCHECK_H
4
#define JETKINEMATICCHECK_H
5
6
#include <
fun4all/SubsysReco.h
>
7
#include <g4jets/Jetv1.h>
8
#include <
g4eval/PHG4DstCompressReco.h
>
9
10
#include <string>
11
#include <vector>
12
13
class
PHCompositeNode
;
14
class
TH1;
15
class
TH2;
16
class
TH3;
17
18
class
JetKinematicCheck
:
public
SubsysReco
19
{
20
21
public
:
22
23
JetKinematicCheck
(
const
std::string
&recojetnameR02 =
"AntiKt_Tower_r02"
,
24
const
std::string
&recojetnameR04 =
"AntiKt_Tower_r04"
,
25
const
std::string
&outputfilename =
"JetKinematicCheck"
);
26
27
~JetKinematicCheck
()
override
;
28
29
// set eta range
30
void
setEtaRange
(
double
low,
double
high)
31
{
32
m_etaRange
.first = low;
33
m_etaRange
.second = high;
34
}
35
36
// set pt range
37
void
setPtRange
(
double
low,
double
high)
38
{
39
m_ptRange
.first = low;
40
m_ptRange
.second = high;
41
}
42
43
44
std::vector<std::string>
GetCentLabels
();
45
std::vector<int>
GetMarkerColors
();
46
52
int
Init
(
PHCompositeNode
*topNode)
override
;
53
59
int
InitRun
(
PHCompositeNode
*topNode)
override
;
60
64
int
process_event
(
PHCompositeNode
*topNode)
override
;
65
67
int
ResetEvent
(
PHCompositeNode
*topNode)
override
;
68
70
int
EndRun
(
const
int
runnumber
)
override
;
71
73
int
End
(
PHCompositeNode
*topNode)
override
;
74
76
int
Reset
(
PHCompositeNode
*
/*topNode*/
)
override
;
77
78
void
Print
(
const
std::string
&what =
"ALL"
)
const override
;
79
80
81
private
:
82
83
std::string
m_recoJetNameR02
;
84
std::string
m_recoJetNameR04
;
85
std::string
m_outputFileName
;
86
std::pair<double, double>
m_etaRange
;
87
std::pair<double, double>
m_ptRange
;
88
int
cent_N
;
89
90
91
// eventwise quantities
92
int
m_nJet
;
93
int
m_centrality
;
94
float
m_impactparam
;
95
int
ncent
;
96
97
// reconstructed jets
98
std::vector<int>
m_id
;
99
std::vector<int>
m_nComponent
;
100
std::vector<float>
m_eta
;
101
std::vector<float>
m_phi
;
102
std::vector<float>
m_pt
;
103
std::vector<float>
m_radii
;
104
105
// output histograms
106
TH2 *
jet_spectra_r02
=
nullptr
;
107
TH1 *
jet_spectra_r02_proj
[11] = {
nullptr
};
108
TH2 *
jet_spectra_r04
=
nullptr
;
109
TH1 *
jet_spectra_r04_proj
[11] = {
nullptr
};
110
TH3 *
jet_eta_phi_r02
=
nullptr
;
111
TH2 *
jet_eta_phi_r02_proj
[11] = {
nullptr
};
112
TH3 *
jet_eta_phi_r04
=
nullptr
;
113
TH2 *
jet_eta_phi_r04_proj
[11] = {
nullptr
};
114
115
116
};
117
118
#endif // JETKINEMATICCHECK_H
analysis
blob
master
JS-Jet
JetAnalysis
src
JetKinematicCheck.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:17:53
using
1.8.2 with
sPHENIX GitHub integration