ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <coresoftware/blob/master/simulation/g4simulation/g4jets/TruthJetInput.h>
Public Member Functions | |
TruthJetInput (Jet::SRC input) | |
~TruthJetInput () override | |
void | add_embedding_flag (const int embed_stream_id) |
void | identify (std::ostream &os=std::cout) override |
Jet::SRC | get_src () override |
std::vector< Jet * > | get_input (PHCompositeNode *topNode) override |
void | set_eta_range (float eta_min, float eta_max) |
Public Member Functions inherited from JetInput | |
virtual | ~JetInput () |
virtual int | Verbosity () const |
virtual void | Verbosity (int i) |
Private Member Functions | |
bool | use_embed_stream () |
Private Attributes | |
Jet::SRC | _input |
float | _eta_min |
float | _eta_max |
std::vector< int > | _embed_id |
Additional Inherited Members | |
Protected Member Functions inherited from JetInput | |
JetInput () | |
Definition at line 13 of file TruthJetInput.h.
View newest version in sPHENIX GitHub at line 13 of file TruthJetInput.h
TruthJetInput::TruthJetInput | ( | Jet::SRC | input | ) |
Definition at line 24 of file TruthJetInput.cc.
View newest version in sPHENIX GitHub at line 24 of file TruthJetInput.cc
|
inlineoverride |
Definition at line 17 of file TruthJetInput.h.
View newest version in sPHENIX GitHub at line 17 of file TruthJetInput.h
by default, TruthJetInput process all truth primary particle. However, it can be configured to read only one or more embedded stream via add_embedding_flag() It can be useful for reconstruct truth jet for embedded pythia jets only, etc. Call add_embedding_flag() multiple times to add multiple embed stream
Definition at line 23 of file TruthJetInput.h.
View newest version in sPHENIX GitHub at line 23 of file TruthJetInput.h
References _embed_id.
|
overridevirtual |
Reimplemented from JetInput.
Definition at line 45 of file TruthJetInput.cc.
View newest version in sPHENIX GitHub at line 45 of file TruthJetInput.cc
References _embed_id, _eta_max, _eta_min, kdfinder::abs(), Acts::VectorHelpers::eta(), PHG4Particle::get_e(), PHG4Particle::get_pid(), PHG4Particle::get_px(), PHG4Particle::get_py(), PHG4Particle::get_pz(), PHG4Particle::get_track_id(), PHG4TruthInfoContainer::GetPrimaryParticleRange(), Jet::insert_comp(), PHG4TruthInfoContainer::isEmbeded(), part, Jet::PARTICLE, PHWHERE, Jet::set_e(), Jet::set_px(), Jet::set_py(), Jet::set_pz(), use_embed_stream(), and JetInput::Verbosity().
|
inlineoverridevirtual |
Reimplemented from JetInput.
Definition at line 30 of file TruthJetInput.h.
View newest version in sPHENIX GitHub at line 30 of file TruthJetInput.h
References _input.
|
overridevirtual |
Reimplemented from JetInput.
Definition at line 31 of file TruthJetInput.cc.
View newest version in sPHENIX GitHub at line 31 of file TruthJetInput.cc
References _embed_id, it, and use_embed_stream().
|
inline |
Definition at line 34 of file TruthJetInput.h.
View newest version in sPHENIX GitHub at line 34 of file TruthJetInput.h
|
inlineprivate |
Definition at line 49 of file TruthJetInput.h.
View newest version in sPHENIX GitHub at line 49 of file TruthJetInput.h
References _embed_id.
Referenced by get_input(), and identify().
|
private |
if empty: process all primary particles if non-empty: only process primary particles in the selected embed stream.
Definition at line 47 of file TruthJetInput.h.
View newest version in sPHENIX GitHub at line 47 of file TruthJetInput.h
Referenced by add_embedding_flag(), get_input(), identify(), and use_embed_stream().
|
private |
Definition at line 43 of file TruthJetInput.h.
View newest version in sPHENIX GitHub at line 43 of file TruthJetInput.h
Referenced by get_input(), and set_eta_range().
|
private |
Definition at line 42 of file TruthJetInput.h.
View newest version in sPHENIX GitHub at line 42 of file TruthJetInput.h
Referenced by get_input(), and set_eta_range().
|
private |
Definition at line 41 of file TruthJetInput.h.
View newest version in sPHENIX GitHub at line 41 of file TruthJetInput.h
Referenced by get_src().