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
simulation
g4simulation
g4bbc
g4calo
g4centrality
g4decayer
g4detectors
g4epd
g4eval
g4gdml
g4histos
g4ihcal
g4intt
g4jets
JetHepMCLoader.cc
JetHepMCLoader.h
TruthJetInput.cc
TruthJetInput.h
g4main
g4micromegas
g4mvtx
g4ohcal
g4tpc
g4trackfastsim
g4tracking
g4vertex
g4waveformsim
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
TruthJetInput.h
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file TruthJetInput.h
1
#ifndef G4JET_TRUTHJETINPUT_H
2
#define G4JET_TRUTHJETINPUT_H
3
4
#include <
jetbase/JetInput.h
>
5
#include <
jetbase/Jet.h
>
6
7
#include <iostream>
// for cout, ostream
8
#include <vector>
9
10
class
PHCompositeNode
;
11
12
class
TruthJetInput
:
public
JetInput
13
{
14
public
:
15
TruthJetInput
(
Jet::SRC
input
);
16
~TruthJetInput
()
override
{}
17
22
void
add_embedding_flag
(
const
int
embed_stream_id)
23
{
24
m_EmbedID
.push_back(embed_stream_id);
25
}
26
27
void
identify
(std::ostream&
os
= std::cout)
override
;
28
29
Jet::SRC
get_src
()
override
{
return
m_Input
; }
30
31
std::vector<Jet*>
get_input
(
PHCompositeNode
* topNode)
override
;
32
33
void
set_eta_range
(
float
eta_min
,
float
eta_max
)
34
{
35
m_EtaMin
=
eta_min
;
36
m_EtaMax
=
eta_max
;
37
}
38
39
private
:
40
Jet::SRC
m_Input
=
Jet::VOID
;
41
float
m_EtaMin
= -4.;
42
float
m_EtaMax
= 4.;
43
46
std::vector<int>
m_EmbedID
;
47
48
bool
use_embed_stream
() {
return
m_EmbedID
.size() > 0; }
49
};
50
51
#endif
coresoftware
blob
master
simulation
g4simulation
g4jets
TruthJetInput.h
Built by
Jin Huang
. updated:
Sat Feb 17 2024 22:18:15
using
1.8.2 with
sPHENIX GitHub integration