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
analysis_tpc_prototype
coresoftware
blob
master
calibrations
generators
offline
database
framework
packages
CaloBase
CaloEmbedding
CaloReco
centrality
ClusterIso
compressor
decayfinder
epd
eventplaneinfo
globalvertex
Half
HFTrackEfficiency
intt
jetbackground
jetbase
ClusterJetInput.cc
ClusterJetInput.h
FastJetAlgo.cc
FastJetAlgo.h
FastJetOptions.cc
FastJetOptions.h
Jet.cc
Jet.h
JetAlgo.cc
JetAlgo.h
JetContainer.cc
JetContainer.h
JetContainerLinkDef.h
JetContainerv1.cc
JetContainerv1.h
JetContainerv1LinkDef.h
JetInput.h
JetLinkDef.h
JetMap.cc
JetMap.h
JetMapLinkDef.h
JetMapv1.cc
JetMapv1.h
JetMapv1LinkDef.h
JetProbeInput.cc
JetProbeInput.h
JetProbeMaker.cc
JetProbeMaker.h
JetReco.cc
JetReco.h
JetStructs.h
Jetv1.cc
Jetv1.h
Jetv1LinkDef.h
Jetv2.cc
Jetv2.h
Jetv2LinkDef.h
SubjetIndices.cc
SubjetIndices.h
SubjetIndicesLinkDef.h
SubjetIndicesv1.cc
SubjetIndicesv1.h
SubjetIndicesv1LinkDef.h
TowerJetInput.cc
TowerJetInput.h
TrackJetInput.cc
TrackJetInput.h
KFParticle_sPHENIX
mbd
micromegas
mvtx
NodeDump
particleflow
PHField
PHGenFitPkg
PHGeometry
QAUtils
rawtodst
ResonanceJetTagging
tpc
tpccalib
tpcdaq
TPCHitTrackDisplay
trackbase
trackbase_historic
TrackerMillepedeAlignment
TrackingDiagnostics
trackreco
trigger
vararray
QA
simulation
validation
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
JetReco.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file JetReco.h
1
#ifndef JETBASE_JETRECO_H
2
#define JETBASE_JETRECO_H
3
4
//===========================================================
8
//===========================================================
9
10
// PHENIX includes
11
#include <
fun4all/SubsysReco.h
>
12
13
// standard includes
14
#include <string>
// for string
15
#include <vector>
16
17
// forward declarations
18
class
Jet
;
19
class
JetAlgo
;
20
class
JetInput
;
21
class
PHCompositeNode
;
22
31
class
JetReco
:
public
SubsysReco
32
{
33
public
:
34
enum
TRANSITION
35
{
36
JET_CONTAINER
,
37
JET_MAP
,
38
BOTH
,
39
PRETEND_BOTH
// do just JET_CONTAINER, but still append _JC to the name
40
};
41
42
JetReco
(
const
std::string
&
name
=
"JetReco"
,
TRANSITION
_which_fill=
JET_CONTAINER
);
// , bool fill_JetContainer=false);
43
~JetReco
()
override
;
44
45
int
InitRun
(
PHCompositeNode
*topNode)
override
;
46
int
process_event
(
PHCompositeNode
*topNode)
override
;
47
48
void
add_input
(
JetInput
*
input
) {
_inputs
.push_back(input); }
49
void
add_algo
(
JetAlgo
*algo,
std::string
output
)
50
{
51
_algos
.push_back(algo);
52
_outputs
.push_back(output);
53
}
54
55
void
set_algo_node
(
const
std::string
&algonode) {
_algonode
= algonode; }
56
void
set_input_node
(
const
std::string
&inputnode) {
_inputnode
= inputnode; }
57
/* void set_fill_JetContainer(bool b) { _fill_JetContainer = b; } */
58
59
JetAlgo
*
get_algo
(
unsigned
int
which_algo=0);
60
61
private
:
62
int
CreateNodes
(
PHCompositeNode
*topNode);
63
void
FillJetNode
(
PHCompositeNode
*topNode,
int
ialgo, std::vector<Jet *> jets);
64
void
FillJetContainer
(
PHCompositeNode
*topNode,
int
ialgo, std::vector<Jet*>& jets);
65
66
std::vector<JetInput *>
_inputs
;
67
std::vector<JetAlgo *>
_algos
;
68
std::string
_algonode
;
69
std::string
_inputnode
;
70
std::vector<std::string>
_outputs
;
71
72
// transition functions, while moving from JetMap to JetContainer.
73
// May be removed after transition is made, depending on state of
74
// functions
75
std::string
JC_name
(
std::string
name
) {
76
if
(
which_fill
== TRANSITION::BOTH ||
which_fill
==TRANSITION::PRETEND_BOTH)
return
name+
"_JC"
;
77
else
return
name
;
78
}
79
TRANSITION
which_fill
;
// fill both container and map
80
bool
use_jetcon
;
81
bool
use_jetmap
;
82
};
83
84
#endif // JETBASE_JETRECO_H
coresoftware
blob
master
offline
packages
jetbase
JetReco.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:06
using
1.8.2 with
sPHENIX GitHub integration