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
JetProbeMaker.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file JetProbeMaker.h
1
// make a jet probe and put it onto the node tree
2
// It will always be a single Jet that the JetReco can get
3
#ifndef G4_JETS_JETPROBEMAKER__H
4
#define G4_JETS_JETPROBEMAKER__H
5
6
#include <
fun4all/SubsysReco.h
>
7
#include <gsl/gsl_rng.h>
8
#include <memory>
// for unique_ptr
9
#include <math.h>
10
11
class
Jet
;
12
class
JetContainer
;
13
class
TRandom3;
14
class
PHCompositeNode
;
15
16
class
JetProbeMaker
:
public
SubsysReco
{
17
public
:
18
JetProbeMaker
(
const
std::string
&
name
=
"JetProbeMaker"
);
19
~JetProbeMaker
()
override
{ };
20
21
int
process_event
(
PHCompositeNode
*
/*topNode*/
)
override
;
22
int
InitRun
(
PHCompositeNode
*topNode)
override
;
23
24
void
set_abs_eta
(
float
val) {
_eta_min
= -val;
_eta_max
=val;
_eta_range
= (
_eta_max
-
_eta_min
); }
25
void
set_eta_min
(
float
val) {
_eta_min
= val;
_eta_range
= (
_eta_max
-
_eta_min
); }
26
void
set_eta_max
(
float
val) {
_eta_max
= val;
_eta_range
= (
_eta_max
-
_eta_min
); }
27
28
void
set_phi_min
(
float
val) {
_phi_min
=val; }
29
void
set_phi_max
(
float
val) {
_phi_max
=val; }
30
31
void
set_pt
(
float
val) {
_pt_max
= val;
_pt_min
= val;
_pt_range
=
_pt_max
-
_pt_min
; }
32
void
set_pt_min
(
float
val) {
_pt_min
= val;
_pt_range
=
_pt_max
-
_pt_min
; }
33
void
set_pt_max
(
float
val) {
_pt_max
= val;
_pt_range
=
_pt_max
-
_pt_min
; }
34
35
private
:
36
37
class
Deleter
38
{
39
public
:
41
void
operator()
(gsl_rng *
rng
)
const
{ gsl_rng_free(rng); }
42
};
43
std::unique_ptr<gsl_rng, Deleter>
m_rng
;
44
45
float
_eta_min
= -0.7;
46
float
_eta_max
= 0.7;
47
float
_eta_range
= 1.4;
48
float
_phi_min
= -M_PI;
49
float
_phi_max
= M_PI;
50
float
_pt_min
= 30.;
51
float
_pt_max
= 30.;
52
float
_pt_range
= 0.;
53
JetContainer
*
_jets
=
nullptr
;
54
};
55
56
#endif
coresoftware
blob
master
offline
packages
jetbase
JetProbeMaker.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:06
using
1.8.2 with
sPHENIX GitHub integration