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
src_JetMedianTree
macro
JetRhoMedian.cc
JetRhoMedian.h
PrintTowers.cc
PrintTowers.h
RhoFluct.cc
RhoFluct.h
FullJetFinder
HCalJetPhiShift
jet-kinematics-mc
JetAnalysis
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
JetRhoMedian.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file JetRhoMedian.h
1
#ifndef JETRHOMEDIAN__H
2
#define JETRHOMEDIAN__H
3
4
#include <
fun4all/SubsysReco.h
>
5
6
#include <memory>
7
#include <string>
8
#include <utility>
// std::pair, std::make_pair
9
10
#include <array>
11
#include <vector>
12
13
class
PHCompositeNode
;
14
class
JetEvalStack
;
15
class
TTree;
16
class
TH2D;
17
class
TH1;
18
class
JetInput
;
19
20
class
JetRhoMedian
:
public
SubsysReco
21
{
22
public
:
23
JetRhoMedian
24
(
const
std::string
& outputfilename =
"JetRhoMedian.root"
25
,
const
float
_jet_R = 0.4
26
,
const
std::string
& truthjetname =
"AntiKt_Truth_r04"
27
,
const
std::string
& sub1jetname =
"AntiKt_Truth_r04"
28
,
const
float
min_lead_truth_pt = 10.
29
);
30
31
virtual
~JetRhoMedian
();
32
33
/* void use_initial_vertex(const bool b = true) {initial_vertex = b;} */
34
int
Init
(
PHCompositeNode
*topNode);
35
int
InitRun
(
PHCompositeNode
*topNode);
36
int
process_event
(
PHCompositeNode
*topNode);
37
int
End
(
PHCompositeNode
*topNode);
38
void
clear_vectors
();
39
void
add_input
(
JetInput
*
input
) {
m_inputs
.push_back(input); }
40
41
private
:
42
long
long
int
nevent
{ 0 };
43
long
long
int
outevent
{ 0 };
44
const
std::string
m_outputfilename
;
45
const
float
jet_R
;
46
const
std::string
m_truthJetName
;
47
const
std::string
m_sub1JetName
;
48
const
float
m_min_lead_truth_pt
;
49
50
int
i_truthset
= 0;
51
52
std::string
m_recoJetName
;
54
TTree *
m_T
;
55
56
/* int m_id; */
57
float
m_rho
;
// all calorimeters
58
float
m_rho_sigma
;
59
float
m_cent_mdb
{ -1. };
60
float
m_cent
{ -1. };
61
float
m_cent_epd
{ -1. };
62
float
m_impactparam
{ -1. };
63
64
//Calo Jets -- all
65
std::vector<float>
m_CaloJetEta
{};
66
std::vector<float>
m_CaloJetPhi
{};
67
std::vector<float>
m_CaloJetPt
{};
68
std::vector<float>
m_CaloJetPtLessRhoA
{};
// pT - rho x A
69
std::vector<float>
m_CaloJetArea
{};
70
71
//Truth Jets
72
std::vector<float>
m_TruthJetEta
{};
73
std::vector<float>
m_TruthJetPhi
{};
74
std::vector<float>
m_TruthJetPt
{};
75
76
//SUB1 Jets
77
std::vector<float>
m_Sub1JetEta
{};
78
std::vector<float>
m_Sub1JetPhi
{};
79
std::vector<float>
m_Sub1JetPt
{};
80
81
// FIXME -- functions straight from background median estimator
82
float
mBGE_mean_area
{ 0 };
83
float
mBGE_empty_area
{ 0 };
84
float
mBGE_n_empty_jets
{ 0 };
85
unsigned
int
mBGE_n_jets_used
{ 0 };
86
87
std::vector<JetInput *>
m_inputs
;
// copied from /direct/sphenix+u/dstewart/vv/coresoftware/simulation/g4simulation/g4jets/JetReco.h .cc
88
};
89
90
#endif // JETRHOMEDIAN__H
analysis
blob
master
JS-Jet
FastJetMedianBkg
src_JetMedianTree
JetRhoMedian.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:17:53
using
1.8.2 with
sPHENIX GitHub integration