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
ColdQcdCorrelatorAnalysis
SCorrelatorJetTree
SCorrelatorQAMaker
SCorrelatorUtilities
SEnergyCorrelator
SLambdaJetHunter
src
SLambdaJetHunter.ana.h
SLambdaJetHunter.cc
SLambdaJetHunter.h
SLambdaJetHunter.sys.h
SLambdaJetHunterConfig.h
SLambdaJetHunterLinkDef.h
Fun4All_RunLambdaJetHunter.C
LambdaJetHunterOptions.h
TrackStudies
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
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
SLambdaJetHunter.cc
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file SLambdaJetHunter.cc
1
// ----------------------------------------------------------------------------
2
// 'SLambdaJetHunter.cc'
3
// Derek Anderson
4
// 01.25.2024
5
//
6
// A minimal analysis module to find lambda-tagged
7
// jets in pythia events.
8
// ----------------------------------------------------------------------------
9
10
#define SLAMBDAJETHUNTER_CC
11
12
// f4a utilities
13
#include <
fun4all/Fun4AllReturnCodes.h
>
14
// phool utilities
15
#include <
phool/PHCompositeNode.h
>
16
// analysis utilities
17
#include "
SLambdaJetHunter.h
"
18
#include "
SLambdaJetHunter.ana.h
"
19
#include "
SLambdaJetHunter.sys.h
"
20
#include "
SLambdaJetHunterConfig.h
"
21
22
// make common namespaces implicit
23
using namespace
std;
24
using namespace
fastjet;
25
using namespace
SColdQcdCorrelatorAnalysis::SCorrelatorUtilities;
26
27
28
29
namespace
SColdQcdCorrelatorAnalysis {
30
31
// ctor/dtor ----------------------------------------------------------------
32
33
SLambdaJetHunter::SLambdaJetHunter(
const
string
&
name
,
const
bool
debug
) :
SubsysReco
(name) {
34
35
if
(debug) {
36
cout <<
"SLambdaJetHunter::SLambdaJetHunter(string&, bool) Calling ctor"
<< endl;
37
}
38
39
}
// end ctor(string&, bool)
40
41
42
43
SLambdaJetHunter::SLambdaJetHunter
(
SLambdaJetHunterConfig
&
config
) :
SubsysReco
(config.moduleName) {
44
45
m_config
=
config
;
46
if
(
m_config
.
isDebugOn
) {
47
cout <<
"SLambdaJetHunter::SLambdaJetHunter(SLambdaJetHunterConfig&) Calling ctor"
<< endl;
48
}
49
50
}
// end ctor(SLambdaJetHunter&)
51
52
53
54
SLambdaJetHunter::~SLambdaJetHunter
() {
55
56
if
(
m_config
.
isDebugOn
) {
57
cout <<
"SLambdaJetHunter::~SLambdaJetHunter() Calling dtor"
<< endl;
58
}
59
60
}
// end dtor
61
62
63
64
// f4a methods --------------------------------------------------------------
65
66
int
SLambdaJetHunter::Init
(
PHCompositeNode
*topNode) {
67
68
// print debug statement
69
if
(
m_config
.
isDebugOn
) {
70
cout <<
"SLambdaJetHunter::Init(PHCompositeNode *topNode) Initializing"
<< endl;
71
}
72
73
InitOutput
();
74
InitTree
();
75
return
Fun4AllReturnCodes::EVENT_OK
;
76
77
}
// end 'Init(PHCompositeNode*)'
78
79
80
81
int
SLambdaJetHunter::process_event
(
PHCompositeNode
*topNode) {
82
83
// print debug statement
84
if
(
m_config
.
isDebugOn
) {
85
cout <<
"SLambdaJetHunter::process_event(PHCompositeNode *topNode) Processing Event"
<< endl;
86
}
87
88
/* TODO processing goes here */
89
return
Fun4AllReturnCodes::EVENT_OK
;
90
91
}
// end 'process_event(PHCompositeNode*)'
92
93
94
95
int
SLambdaJetHunter::End
(
PHCompositeNode
*topNode) {
96
97
if
(
m_config
.
isDebugOn
) {
98
cout <<
"SLambdaJetHunter::End(PHCompositeNode *topNode) This is the End..."
<< endl;
99
}
100
101
SaveAndCloseOutput
();
102
return
Fun4AllReturnCodes::EVENT_OK
;
103
104
}
105
106
}
// end SColdQcdCorrelatorAnalysis namespace
107
108
// end ------------------------------------------------------------------------
analysis
blob
master
AndersonAnalysisModules
ColdQcdCorrelatorAnalysis
SLambdaJetHunter
src
SLambdaJetHunter.cc
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:17:46
using
1.8.2 with
sPHENIX GitHub integration