ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <coresoftware/blob/master/simulation/g4simulation/g4main/Fun4AllDstPileupMerger.h>
Public Member Functions | |
Fun4AllDstPileupMerger ()=default | |
constructor | |
~Fun4AllDstPileupMerger ()=default | |
destructor | |
void | load_nodes (PHCompositeNode *) |
load destination nodes from composite | |
void | copy_background_event (PHCompositeNode *, double delta_t) const |
time-shift and copy content of source nodes to destination | |
Private Attributes | |
PHHepMCGenEventMap * | m_geneventmap = nullptr |
hepmc | |
std::map< std::string, PHG4HitContainer * > | m_g4hitscontainers |
maps g4hit containers to node names | |
PHG4TruthInfoContainer * | m_g4truthinfo = nullptr |
truth information | |
utility class that can merge the relevant nodes together, once time shifted in order to generate full pileup events from raw events it is used internally by Fun4AllDstPileupInputManager and Fun4AllSingleDstPileupInputManager
Definition at line 24 of file Fun4AllDstPileupMerger.h.
View newest version in sPHENIX GitHub at line 24 of file Fun4AllDstPileupMerger.h
|
default |
constructor
|
default |
destructor
void Fun4AllDstPileupMerger::copy_background_event | ( | PHCompositeNode * | dstNode, |
double | delta_t | ||
) | const |
time-shift and copy content of source nodes to destination
Definition at line 108 of file Fun4AllDstPileupMerger.cc.
View newest version in sPHENIX GitHub at line 108 of file Fun4AllDstPileupMerger.cc
References PHG4TruthInfoContainer::AddEmbededTrkId(), PHG4TruthInfoContainer::AddEmbededVtxId(), PHG4TruthInfoContainer::AddParticle(), PHG4TruthInfoContainer::AddVertex(), genevent(), PHHepMCGenEvent::getEvent(), PHHepMCGenEventMap::insert_background_event(), INT_MIN, m_g4hitscontainers, m_g4truthinfo, m_geneventmap, PHG4TruthInfoContainer::maxtrkindex(), PHG4TruthInfoContainer::maxvtxindex(), PHG4TruthInfoContainer::mintrkindex(), and PHG4TruthInfoContainer::minvtxindex().
Referenced by Fun4AllDstPileupInputManager::run(), and Fun4AllSingleDstPileupInputManager::run().
void Fun4AllDstPileupMerger::load_nodes | ( | PHCompositeNode * | dstNode | ) |
load destination nodes from composite
Definition at line 81 of file Fun4AllDstPileupMerger.cc.
View newest version in sPHENIX GitHub at line 81 of file Fun4AllDstPileupMerger.cc
References PHNodeIterator::forEach(), m_g4hitscontainers, m_g4truthinfo, and m_geneventmap.
Referenced by Fun4AllDstPileupInputManager::run(), and Fun4AllSingleDstPileupInputManager::run().
|
private |
maps g4hit containers to node names
Definition at line 47 of file Fun4AllDstPileupMerger.h.
View newest version in sPHENIX GitHub at line 47 of file Fun4AllDstPileupMerger.h
Referenced by copy_background_event(), and load_nodes().
|
private |
truth information
Definition at line 50 of file Fun4AllDstPileupMerger.h.
View newest version in sPHENIX GitHub at line 50 of file Fun4AllDstPileupMerger.h
Referenced by copy_background_event(), and load_nodes().
|
private |
hepmc
Definition at line 44 of file Fun4AllDstPileupMerger.h.
View newest version in sPHENIX GitHub at line 44 of file Fun4AllDstPileupMerger.h
Referenced by copy_background_event(), and load_nodes().