Analysis Software
Documentation for sPHENIX simulation software
|
#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 | |
void | copyDetectorActiveCrossings (const std::map< std::string, std::pair< double, double >> &dmap) |
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 | |
std::map< std::string, std::pair< double,double > > | m_DetectorTiming |
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 111 of file Fun4AllDstPileupMerger.cc.
View newest version in sPHENIX GitHub at line 111 of file Fun4AllDstPileupMerger.cc
References PHG4TruthInfoContainer::AddEmbededTrkId(), PHG4TruthInfoContainer::AddEmbededVtxId(), PHG4TruthInfoContainer::AddParticle(), PHG4TruthInfoContainer::AddVertex(), upload::dest, genevent(), PHHepMCGenEvent::getEvent(), PHHepMCGenEventMap::insert_background_event(), m_DetectorTiming, m_g4hitscontainers, m_g4truthinfo, m_geneventmap, PHG4TruthInfoContainer::maxtrkindex(), PHG4TruthInfoContainer::maxvtxindex(), PHG4TruthInfoContainer::mintrkindex(), PHG4TruthInfoContainer::minvtxindex(), and parse_cmake_options::source.
Referenced by Fun4AllDstPileupInputManager::run(), and Fun4AllSingleDstPileupInputManager::run().
|
inline |
Definition at line 41 of file Fun4AllDstPileupMerger.h.
View newest version in sPHENIX GitHub at line 41 of file Fun4AllDstPileupMerger.h
References m_DetectorTiming.
Referenced by Fun4AllDstPileupInputManager::run().
void Fun4AllDstPileupMerger::load_nodes | ( | PHCompositeNode * | dstNode | ) |
load destination nodes from composite
Definition at line 84 of file Fun4AllDstPileupMerger.cc.
View newest version in sPHENIX GitHub at line 84 of file Fun4AllDstPileupMerger.cc
References PHNodeIterator::forEach(), m_g4hitscontainers, m_g4truthinfo, and m_geneventmap.
Referenced by Fun4AllDstPileupInputManager::run(), and Fun4AllSingleDstPileupInputManager::run().
Definition at line 54 of file Fun4AllDstPileupMerger.h.
View newest version in sPHENIX GitHub at line 54 of file Fun4AllDstPileupMerger.h
Referenced by copy_background_event(), and copyDetectorActiveCrossings().
|
private |
maps g4hit containers to node names
Definition at line 49 of file Fun4AllDstPileupMerger.h.
View newest version in sPHENIX GitHub at line 49 of file Fun4AllDstPileupMerger.h
Referenced by copy_background_event(), and load_nodes().
|
private |
truth information
Definition at line 52 of file Fun4AllDstPileupMerger.h.
View newest version in sPHENIX GitHub at line 52 of file Fun4AllDstPileupMerger.h
Referenced by copy_background_event(), and load_nodes().
|
private |
hepmc
Definition at line 46 of file Fun4AllDstPileupMerger.h.
View newest version in sPHENIX GitHub at line 46 of file Fun4AllDstPileupMerger.h
Referenced by copy_background_event(), and load_nodes().