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
JetBkgdSub
JetMultSub
macro
src
JetMultSub.cc
JetMultSub.h
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
JetMultSub.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file JetMultSub.h
1
// Tell emacs that this is a C++ source
2
// -*- C++ -*-.
3
#ifndef JETMULTSUB_H
4
#define JETMULTSUB_H
5
6
#include <
fun4all/SubsysReco.h
>
7
8
#include <string>
9
10
class
PHCompositeNode
;
11
15
16
class
JetMultSub
:
public
SubsysReco
17
{
18
public
:
19
// Constructor
20
JetMultSub
(
const
std::string
&
name
=
"JetMultSub"
);
21
22
// Destructor
23
~JetMultSub
()
override
;
24
25
// setters
26
void
setEtaRange
(
double
low,
double
high){
27
m_etaRange
.first = low;
28
m_etaRange
.second = high;
29
}
30
31
void
setPtRange
(
double
low,
double
high){
32
m_ptRange
.first = low;
33
m_ptRange
.second = high;
34
}
35
36
37
// add input(s)
38
void
add_reco_input
(
const
std::string
&recoinput){
m_reco_input
= recoinput;}
39
void
add_kt_input
(
const
std::string
&ktinput){
m_kt_input
= ktinput;}
40
// add output
41
void
set_output_name
(
const
std::string
&outputname){
m_subtracted_output
= outputname;}
42
43
44
// Standard Fun4All functions
45
int
Init
(
PHCompositeNode
*topNode)
override
;
46
int
InitRun
(
PHCompositeNode
*topNode)
override
;
47
int
process_event
(
PHCompositeNode
*topNode)
override
;
48
int
ResetEvent
(
PHCompositeNode
*topNode)
override
;
49
int
EndRun
(
const
int
runnumber
)
override
;
50
int
End
(
PHCompositeNode
*topNode)
override
;
51
int
Reset
(
PHCompositeNode
*
/*topNode*/
)
override
;
52
void
Print
(
const
std::string
&what =
"ALL"
)
const override
;
53
54
55
private
:
56
57
// private variables
58
std::string
m_reco_input
;
59
std::string
m_kt_input
;
60
std::string
m_subtracted_output
;
61
std::pair<double, double>
m_etaRange
;
62
std::pair<double, double>
m_ptRange
;
63
65
int
CreateNode
(
PHCompositeNode
*topNode);
// create node if it doesn't exist
66
float
EstimateRho
(
PHCompositeNode
*topNode);
// estimate rho using kT jets-> returns rho
67
float
GetMultiplicityCorrection
(
float
pt
);
// get multiplicity correction for given pt from vector of corrections
68
69
70
};
71
72
#endif // JETMULTSUB_H
analysis
blob
master
JS-Jet
JetMultSub
src
JetMultSub.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:17:53
using
1.8.2 with
sPHENIX GitHub integration