Analysis Software
Documentation for sPHENIX simulation software
|
#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 | m_Input = Jet::VOID |
float | m_EtaMin = -4. |
float | m_EtaMax = 4. |
std::vector< int > | m_EmbedID |
Additional Inherited Members | |
Protected Member Functions inherited from JetInput | |
JetInput () | |
Definition at line 12 of file TruthJetInput.h.
View newest version in sPHENIX GitHub at line 12 of file TruthJetInput.h
TruthJetInput::TruthJetInput | ( | Jet::SRC | input | ) |
Definition at line 21 of file TruthJetInput.cc.
View newest version in sPHENIX GitHub at line 21 of file TruthJetInput.cc
|
inlineoverride |
Definition at line 16 of file TruthJetInput.h.
View newest version in sPHENIX GitHub at line 16 of file TruthJetInput.h
|
inline |
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 22 of file TruthJetInput.h.
View newest version in sPHENIX GitHub at line 22 of file TruthJetInput.h
References m_EmbedID.
Referenced by Fun4All_Condor(), HIJetReco(), and run_macro().
|
overridevirtual |
Reimplemented from JetInput.
Definition at line 40 of file TruthJetInput.cc.
View newest version in sPHENIX GitHub at line 40 of file TruthJetInput.cc
References 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(), m_EmbedID, m_EtaMax, m_EtaMin, 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 29 of file TruthJetInput.h.
View newest version in sPHENIX GitHub at line 29 of file TruthJetInput.h
References m_Input.
|
overridevirtual |
Reimplemented from JetInput.
Definition at line 26 of file TruthJetInput.cc.
View newest version in sPHENIX GitHub at line 26 of file TruthJetInput.cc
References it, m_EmbedID, and use_embed_stream().
|
inline |
Definition at line 33 of file TruthJetInput.h.
View newest version in sPHENIX GitHub at line 33 of file TruthJetInput.h
References myAnalysis::eta_max, myAnalysis::eta_min, m_EtaMax, and m_EtaMin.
|
inlineprivate |
Definition at line 48 of file TruthJetInput.h.
View newest version in sPHENIX GitHub at line 48 of file TruthJetInput.h
References m_EmbedID.
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 46 of file TruthJetInput.h.
View newest version in sPHENIX GitHub at line 46 of file TruthJetInput.h
Referenced by add_embedding_flag(), get_input(), identify(), and use_embed_stream().
|
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_input(), and set_eta_range().
Definition at line 40 of file TruthJetInput.h.
View newest version in sPHENIX GitHub at line 40 of file TruthJetInput.h
Referenced by get_src().