Analysis Software
Documentation for
sPHENIX
simulation software
Home page
Related Pages
Modules
Namespaces
Classes
Files
Examples
External Links
File List
File Members
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
Groups
Pages
PHFlowJetMaker.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file PHFlowJetMaker.h
1
#ifndef PHFLOWJETMAKER_H__
2
#define PHFLOWJETMAKER_H__
3
4
#include <TLorentzVector.h>
5
#include <
fun4all/SubsysReco.h
>
6
#include <map>
7
#include <set>
8
#include <string>
9
#include <vector>
10
11
class
Fun4AllHistoManager
;
12
class
PHCompositeNode
;
13
class
PHG4HitContainer
;
14
class
RawTowerContainer
;
15
class
RawTowerGeom
;
16
class
RawClusterContainer
;
17
class
RawCluster
;
18
class
GlobalVertex
;
19
class
PHMCTowerContainerV1;
20
class
RawClusterContainer
;
21
class
PHFastjetContainer;
22
class
PHPyJetContainerV2;
23
class
PHG4TruthInfoContainer
;
24
class
JetMap
;
25
class
SvtxTrack
;
26
class
SvtxTrackMap
;
27
class
TVector3;
28
class
TLorentzVector;
29
class
TH1F;
30
class
TF1;
31
class
TH2F;
32
class
TNtuple;
33
34
namespace
fastjet
35
{
36
class
PseudoJet
;
37
class
JetDefinition
;
38
class
SISConePlugin;
39
class
ClusterSequence
;
40
}
41
42
class
PHFlowJetMaker
:
public
SubsysReco
43
{
44
public
:
45
PHFlowJetMaker
(
const
std::string
&
name
=
"PHFlowJetMaker"
,
const
std::string
algorithm
=
"AntiKt"
,
double
r_param
= 0.3);
46
47
virtual
~PHFlowJetMaker
();
48
49
int
Init
(
PHCompositeNode
*);
50
51
int
process_event
(
PHCompositeNode
*);
52
53
int
End
(
PHCompositeNode
*);
54
55
// * Jin - disable. Please use the standard cluster jet on the node tree
56
// void create_calo_pseudojets(std::vector<fastjet::PseudoJet>& particles, RawClusterContainer* emc_clusters, RawClusterContainer* hci_clusters, RawClusterContainer* hco_clusters, GlobalVertex* vtx, GlobalVertex* vtx);
57
58
void
run_particle_flow
(std::vector<fastjet::PseudoJet>& flow_particles,
RawClusterContainer
* emc_clusters,
RawClusterContainer
* hci_clusters,
RawClusterContainer
* hco_clusters,
SvtxTrackMap
* reco_tracks,
GlobalVertex
* vtx);
59
60
int
get_matched
(
double
clus_energy,
double
track_energy);
61
62
int
create_node_tree
(
PHCompositeNode
*);
63
64
private
:
65
//Sampling Fractions
66
static
const
float
sfEMCAL
;
67
static
const
float
sfHCALIN
;
68
static
const
float
sfHCALOUT
;
69
70
char
*
outfile
;
71
std::string
algorithm
;
72
double
r_param
;
73
74
JetMap
*
flow_jet_map
;
75
76
//Tolerance for cluster-track matching
77
TF1*
match_tolerance_low
;
78
TF1*
match_tolerance_high
;
79
80
fastjet::JetDefinition*
fJetAlgorithm
;
81
double
min_jet_pT
;
82
83
// PHPyJetContainerV2 *flow_jet_container;
84
};
85
86
#endif
analysis
blob
master
PHFlowJetMaker
PHFlowJetMaker.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:17:54
using
1.8.2 with
sPHENIX GitHub integration