![]() |
EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <fun4all_coresoftware/blob/master/simulation/g4simulation/g4main/PHG4TruthInfoContainer.h>
Inheritance diagram for PHG4TruthInfoContainer:
Collaboration diagram for PHG4TruthInfoContainer:Public Types | |
| typedef std::map< int, PHG4Particle * > | Map |
| typedef Map::iterator | Iterator |
| typedef Map::const_iterator | ConstIterator |
| typedef std::pair< Iterator, Iterator > | Range |
| typedef std::pair < ConstIterator, ConstIterator > | ConstRange |
| typedef std::map< int, PHG4VtxPoint * > | VtxMap |
| typedef VtxMap::iterator | VtxIterator |
| typedef VtxMap::const_iterator | ConstVtxIterator |
| typedef std::pair< VtxIterator, VtxIterator > | VtxRange |
| typedef std::pair < ConstVtxIterator, ConstVtxIterator > | ConstVtxRange |
| typedef std::map< int, PHG4Shower * > | ShowerMap |
| typedef ShowerMap::iterator | ShowerIterator |
| typedef ShowerMap::const_iterator | ConstShowerIterator |
| typedef std::pair < ShowerIterator, ShowerIterator > | ShowerRange |
| typedef std::pair < ConstShowerIterator, ConstShowerIterator > | ConstShowerRange |
Public Member Functions | |
| PHG4TruthInfoContainer () | |
| ~PHG4TruthInfoContainer () override | |
| void | Reset () override |
| Clear Event. | |
| void | identify (std::ostream &os=std::cout) const override |
| ConstIterator | AddParticle (const int particleid, PHG4Particle *newparticle) |
| Add a particle that the user has created. | |
| void | delete_particle (Iterator piter) |
| void | delete_particle (int trackid) |
| PHG4Particle * | GetParticle (const int trackid) |
| PHG4Particle * | GetPrimaryParticle (const int trackid) |
| bool | is_primary (const PHG4Particle *p) const |
| Range | GetParticleRange () |
| Get a range of iterators covering the entire container. | |
| ConstRange | GetParticleRange () const |
| Range | GetPrimaryParticleRange () |
| ConstRange | GetPrimaryParticleRange () const |
| Range | GetSecondaryParticleRange () |
| ConstRange | GetSecondaryParticleRange () const |
| unsigned int | size (void) const |
| track -> particle map size | |
| int | GetNumPrimaryVertexParticles () |
| const Map & | GetMap () const |
| Get the Particle Map storage. | |
| int | maxtrkindex () const |
| int | mintrkindex () const |
| std::pair< std::map< int, int > ::const_iterator, std::map < int, int >::const_iterator > | GetEmbeddedTrkIds () const |
| void | AddEmbededTrkId (const int id, const int flag) |
| int | isEmbeded (const int trackid) const |
| ConstVtxIterator | AddVertex (const int vtxid, PHG4VtxPoint *vertex) |
| Add a vertex and return an iterator to the user. | |
| void | delete_vtx (VtxIterator viter) |
| void | delete_vtx (int vtxid) |
| PHG4VtxPoint * | GetVtx (const int vtxid) |
| PHG4VtxPoint * | GetPrimaryVtx (const int vtxid) |
| bool | is_primary_vtx (const PHG4VtxPoint *v) const |
| VtxRange | GetVtxRange () |
| Get a range of iterators covering the entire vertex container. | |
| ConstVtxRange | GetVtxRange () const |
| VtxRange | GetPrimaryVtxRange () |
| ConstVtxRange | GetPrimaryVtxRange () const |
| VtxRange | GetSecondaryVtxRange () |
| ConstVtxRange | GetSecondaryVtxRange () const |
| unsigned int | GetNumVertices () const |
| Get the number of vertices stored. | |
| const VtxMap & | GetVtxMap () const |
| Get the Vertex Map storage. | |
| int | maxvtxindex () const |
| int | minvtxindex () const |
| int | GetPrimaryVertexIndex () const |
| std::pair< std::map< int, int > ::const_iterator, std::map < int, int >::const_iterator > | GetEmbeddedVtxIds () const |
| void | AddEmbededVtxId (const int id, const int flag) |
| int | isEmbededVtx (const int vtxid) const |
| ConstShowerIterator | AddShower (const int showerid, PHG4Shower *newshower) |
| Add a shower that the user has created. | |
| void | delete_shower (ShowerIterator piter) |
| PHG4Shower * | GetShower (const int showerid) |
| PHG4Shower * | GetPrimaryShower (const int showerid) |
| ShowerRange | GetShowerRange () |
| Get a range of iterators covering the entire container. | |
| ConstShowerRange | GetShowerRange () const |
| ShowerRange | GetPrimaryShowerRange () |
| ConstShowerRange | GetPrimaryShowerRange () const |
| ShowerRange | GetSecondaryShowerRange () |
| ConstShowerRange | GetSecondaryShowerRange () const |
| unsigned int | shower_size (void) const |
| shower size | |
| const ShowerMap & | GetShowerMap () const |
| Get the Shower Map storage. | |
| int | maxshowerindex () const |
| int | minshowerindex () const |
Public Member Functions inherited from PHObject | |
| PHObject () | |
| ctor | |
| ~PHObject () override | |
| dtor | |
| virtual PHObject * | CloneMe () const |
| Virtual copy constructor. | |
| virtual PHObject * | clone () const final |
| PHObject * | Clone (const char *newname="") const final |
| void | Copy (TObject &object) const final |
| virtual int | isValid () const |
| isValid returns non zero if object contains vailid data | |
| virtual int | isValid (const float) const |
| virtual int | isValid (const double) const |
| virtual int | isValid (const int) const |
| virtual int | isValid (const unsigned int) const |
| virtual int | isImplemented (const float f) const |
| virtual int | isImplemented (const double f) const |
| virtual int | isImplemented (const int i) const |
| virtual int | isImplemented (const unsigned int i) const |
| virtual int | Integrate () const |
| virtual int | Integrate (PHObject *) |
| virtual void | CopyFrom (const PHObject *obj) |
Private Attributes | |
| Map | particlemap |
| VtxMap | vtxmap |
| ShowerMap | showermap |
| std::map< int, int > | particle_embed_flags |
| std::map< int, int > | vertex_embed_flags |
Definition at line 17 of file PHG4TruthInfoContainer.h.
View newest version in sPHENIX GitHub at line 17 of file PHG4TruthInfoContainer.h
| typedef Map::const_iterator PHG4TruthInfoContainer::ConstIterator |
Definition at line 22 of file PHG4TruthInfoContainer.h.
View newest version in sPHENIX GitHub at line 22 of file PHG4TruthInfoContainer.h
| typedef std::pair<ConstIterator, ConstIterator> PHG4TruthInfoContainer::ConstRange |
Definition at line 24 of file PHG4TruthInfoContainer.h.
View newest version in sPHENIX GitHub at line 24 of file PHG4TruthInfoContainer.h
| typedef ShowerMap::const_iterator PHG4TruthInfoContainer::ConstShowerIterator |
Definition at line 34 of file PHG4TruthInfoContainer.h.
View newest version in sPHENIX GitHub at line 34 of file PHG4TruthInfoContainer.h
| typedef std::pair<ConstShowerIterator, ConstShowerIterator> PHG4TruthInfoContainer::ConstShowerRange |
Definition at line 36 of file PHG4TruthInfoContainer.h.
View newest version in sPHENIX GitHub at line 36 of file PHG4TruthInfoContainer.h
| typedef VtxMap::const_iterator PHG4TruthInfoContainer::ConstVtxIterator |
Definition at line 28 of file PHG4TruthInfoContainer.h.
View newest version in sPHENIX GitHub at line 28 of file PHG4TruthInfoContainer.h
| typedef std::pair<ConstVtxIterator, ConstVtxIterator> PHG4TruthInfoContainer::ConstVtxRange |
Definition at line 30 of file PHG4TruthInfoContainer.h.
View newest version in sPHENIX GitHub at line 30 of file PHG4TruthInfoContainer.h
| typedef Map::iterator PHG4TruthInfoContainer::Iterator |
Definition at line 21 of file PHG4TruthInfoContainer.h.
View newest version in sPHENIX GitHub at line 21 of file PHG4TruthInfoContainer.h
| typedef std::map<int, PHG4Particle*> PHG4TruthInfoContainer::Map |
Definition at line 20 of file PHG4TruthInfoContainer.h.
View newest version in sPHENIX GitHub at line 20 of file PHG4TruthInfoContainer.h
| typedef std::pair<Iterator, Iterator> PHG4TruthInfoContainer::Range |
Definition at line 23 of file PHG4TruthInfoContainer.h.
View newest version in sPHENIX GitHub at line 23 of file PHG4TruthInfoContainer.h
| typedef ShowerMap::iterator PHG4TruthInfoContainer::ShowerIterator |
Definition at line 33 of file PHG4TruthInfoContainer.h.
View newest version in sPHENIX GitHub at line 33 of file PHG4TruthInfoContainer.h
| typedef std::map<int, PHG4Shower*> PHG4TruthInfoContainer::ShowerMap |
Definition at line 32 of file PHG4TruthInfoContainer.h.
View newest version in sPHENIX GitHub at line 32 of file PHG4TruthInfoContainer.h
| typedef std::pair<ShowerIterator, ShowerIterator> PHG4TruthInfoContainer::ShowerRange |
Definition at line 35 of file PHG4TruthInfoContainer.h.
View newest version in sPHENIX GitHub at line 35 of file PHG4TruthInfoContainer.h
| typedef VtxMap::iterator PHG4TruthInfoContainer::VtxIterator |
Definition at line 27 of file PHG4TruthInfoContainer.h.
View newest version in sPHENIX GitHub at line 27 of file PHG4TruthInfoContainer.h
| typedef std::map<int, PHG4VtxPoint*> PHG4TruthInfoContainer::VtxMap |
Definition at line 26 of file PHG4TruthInfoContainer.h.
View newest version in sPHENIX GitHub at line 26 of file PHG4TruthInfoContainer.h
| typedef std::pair<VtxIterator, VtxIterator> PHG4TruthInfoContainer::VtxRange |
Definition at line 29 of file PHG4TruthInfoContainer.h.
View newest version in sPHENIX GitHub at line 29 of file PHG4TruthInfoContainer.h
| PHG4TruthInfoContainer::PHG4TruthInfoContainer | ( | ) |
Definition at line 14 of file PHG4TruthInfoContainer.cc.
View newest version in sPHENIX GitHub at line 14 of file PHG4TruthInfoContainer.cc
|
override |
Definition at line 22 of file PHG4TruthInfoContainer.cc.
View newest version in sPHENIX GitHub at line 22 of file PHG4TruthInfoContainer.cc
References Reset().
Here is the call graph for this function:
|
inline |
Set the embedding ID for the HepMC subevent or track to be analyzed. positive ID is the embedded event of interest, e.g. jetty event from pythia negative IDs are backgrounds, .e.g out of time pile up collisions Usually, ID = 0 means the primary Au+Au collision background
Definition at line 95 of file PHG4TruthInfoContainer.h.
View newest version in sPHENIX GitHub at line 95 of file PHG4TruthInfoContainer.h
References particle_embed_flags.
Referenced by Fun4AllDstPileupMerger::copy_background_event(), and PHG4TruthEventAction::EndOfEventAction().
Here is the caller graph for this function:
|
inline |
Set the embedding ID for the HepMC subevent or track to be analyzed. positive ID is the embedded event of interest, e.g. jetty event from pythia negative IDs are backgrounds, .e.g out of time pile up collisions Usually, ID = 0 means the primary Au+Au collision background
Definition at line 156 of file PHG4TruthInfoContainer.h.
View newest version in sPHENIX GitHub at line 156 of file PHG4TruthInfoContainer.h
References vertex_embed_flags.
Referenced by Fun4AllDstPileupMerger::copy_background_event(), and PHG4TruthEventAction::EndOfEventAction().
Here is the caller graph for this function:| PHG4TruthInfoContainer::ConstIterator PHG4TruthInfoContainer::AddParticle | ( | const int | particleid, |
| PHG4Particle * | newparticle | ||
| ) |
Add a particle that the user has created.
Definition at line 98 of file PHG4TruthInfoContainer.cc.
View newest version in sPHENIX GitHub at line 98 of file PHG4TruthInfoContainer.cc
References PHG4Particle::get_name(), PHG4Particle::get_parent_id(), PHG4Particle::get_px(), PHG4Particle::get_py(), PHG4Particle::get_pz(), PHG4Particle::get_track_id(), it, and particlemap.
Referenced by PHG4TruthTrackingAction::AddParticle(), PHG4TpcDirectLaser::AppendLaserTrack(), and Fun4AllDstPileupMerger::copy_background_event().
Here is the call graph for this function:
Here is the caller graph for this function:| PHG4TruthInfoContainer::ConstShowerIterator PHG4TruthInfoContainer::AddShower | ( | const int | showerid, |
| PHG4Shower * | newshower | ||
| ) |
Add a shower that the user has created.
Definition at line 194 of file PHG4TruthInfoContainer.cc.
View newest version in sPHENIX GitHub at line 194 of file PHG4TruthInfoContainer.cc
References identify(), it, PHG4Shower::set_id(), and showermap.
Referenced by PHG4TruthTrackingAction::PreUserTrackingAction().
Here is the call graph for this function:
Here is the caller graph for this function:| PHG4TruthInfoContainer::ConstVtxIterator PHG4TruthInfoContainer::AddVertex | ( | const int | vtxid, |
| PHG4VtxPoint * | vertex | ||
| ) |
Add a vertex and return an iterator to the user.
Definition at line 167 of file PHG4TruthInfoContainer.cc.
View newest version in sPHENIX GitHub at line 167 of file PHG4TruthInfoContainer.cc
References identify(), it, PHG4VtxPoint::set_id(), and vtxmap.
Referenced by PHG4TruthTrackingAction::AddVertex(), PHG4TpcDirectLaser::AppendLaserTrack(), and Fun4AllDstPileupMerger::copy_background_event().
Here is the call graph for this function:
Here is the caller graph for this function:| void PHG4TruthInfoContainer::delete_particle | ( | Iterator | piter | ) |
Definition at line 268 of file PHG4TruthInfoContainer.cc.
View newest version in sPHENIX GitHub at line 268 of file PHG4TruthInfoContainer.cc
References particlemap.
Referenced by delete_particle(), PHG4TruthEventAction::EndOfEventAction(), PHG4TruthSubsystem::process_after_geant(), PHG4DstCompressReco::process_event(), PHG4TruthTrackingAction::ResetEvent(), and PHG4TruthTrackingAction::UpdateG4ParticleStack().
Here is the caller graph for this function:| void PHG4TruthInfoContainer::delete_particle | ( | int | trackid | ) |
Definition at line 275 of file PHG4TruthInfoContainer.cc.
View newest version in sPHENIX GitHub at line 275 of file PHG4TruthInfoContainer.cc
References delete_particle(), it, and particlemap.
Here is the call graph for this function:| void PHG4TruthInfoContainer::delete_shower | ( | ShowerIterator | piter | ) |
Definition at line 296 of file PHG4TruthInfoContainer.cc.
View newest version in sPHENIX GitHub at line 296 of file PHG4TruthInfoContainer.cc
References showermap.
Referenced by PHG4TruthEventAction::PruneShowers().
Here is the caller graph for this function:| void PHG4TruthInfoContainer::delete_vtx | ( | VtxIterator | viter | ) |
Definition at line 282 of file PHG4TruthInfoContainer.cc.
View newest version in sPHENIX GitHub at line 282 of file PHG4TruthInfoContainer.cc
References vtxmap.
Referenced by delete_vtx(), PHG4TruthEventAction::EndOfEventAction(), PHG4TruthSubsystem::process_after_geant(), and PHG4DstCompressReco::process_event().
Here is the caller graph for this function:| void PHG4TruthInfoContainer::delete_vtx | ( | int | vtxid | ) |
Definition at line 289 of file PHG4TruthInfoContainer.cc.
View newest version in sPHENIX GitHub at line 289 of file PHG4TruthInfoContainer.cc
References delete_vtx(), it, and vtxmap.
Here is the call graph for this function:
|
inline |
Retrieve the embedding ID for the HepMC subevent or track to be analyzed. positive ID is the embedded event of interest, e.g. jetty event from pythia negative IDs are backgrounds, .e.g out of time pile up collisions Usually, ID = 0 means the primary Au+Au collision background
Definition at line 86 of file PHG4TruthInfoContainer.h.
View newest version in sPHENIX GitHub at line 86 of file PHG4TruthInfoContainer.h
References particle_embed_flags.
Referenced by PHG4ConsistencyCheck::process_event().
Here is the caller graph for this function:
|
inline |
Retrieve the embedding ID for the HepMC subevent or track to be analyzed. positive ID is the embedded event of interest, e.g. jetty event from pythia negative IDs are backgrounds, .e.g out of time pile up collisions Usually, ID = 0 means the primary Au+Au collision background
Definition at line 147 of file PHG4TruthInfoContainer.h.
View newest version in sPHENIX GitHub at line 147 of file PHG4TruthInfoContainer.h
References vertex_embed_flags.
|
inline |
Get the Particle Map storage.
Definition at line 75 of file PHG4TruthInfoContainer.h.
View newest version in sPHENIX GitHub at line 75 of file PHG4TruthInfoContainer.h
References particlemap.
Referenced by PHG4TruthEventAction::BeginOfEventAction(), QAG4SimulationCalorimeterSum::get_truth_particle(), QAG4SimulationEicCalorimeterSum::get_truth_particle(), operator==(), MomentumEvaluator::process_event(), PHG4DSTReader::process_event(), QAG4SimulationEicCalorimeter::process_event_Cluster(), QAG4SimulationCalorimeter::process_event_Cluster(), QAG4SimulationEicCalorimeter::process_event_G4Hit(), and QAG4SimulationCalorimeter::process_event_G4Hit().
Here is the caller graph for this function:
|
inline |
Definition at line 69 of file PHG4TruthInfoContainer.h.
View newest version in sPHENIX GitHub at line 69 of file PHG4TruthInfoContainer.h
References particlemap.
Referenced by SvtxEvaluator::fillOutputNtuples(), and QAG4SimulationVertex::process_event().
Here is the caller graph for this function:
|
inline |
Get the number of vertices stored.
Definition at line 129 of file PHG4TruthInfoContainer.h.
View newest version in sPHENIX GitHub at line 129 of file PHG4TruthInfoContainer.h
References vtxmap.
Referenced by DumpPHG4TruthInfoContainer::process_Node().
Here is the caller graph for this function:| PHG4Particle * PHG4TruthInfoContainer::GetParticle | ( | const int | trackid | ) |
Definition at line 118 of file PHG4TruthInfoContainer.cc.
View newest version in sPHENIX GitHub at line 118 of file PHG4TruthInfoContainer.cc
References it, and particlemap.
Referenced by SvtxHitEval::all_hits_from(), JetTruthEval::all_truth_particles(), PHG4TruthEventAction::EndOfEventAction(), DSTEmulator::evaluate_tracks(), TrackEvaluation::evaluate_tracks(), B0TrackFastSimEval::fill_vertex_tree(), PHG4TrackFastSimEval::fill_vertex_tree(), TrackFastSimEval::fill_vertex_tree(), EventEvaluator::fillOutputNtuples(), EventEvaluatorEIC::fillOutputNtuples(), BaseTruthEval::get_particle(), BaseTruthEval::get_primary_particle(), JetTruthEval::get_truth_jet(), PHTruthSiliconAssociation::getG4PrimaryParticle(), SvtxClusterEval::gtrackid_and_layer_by_nhit(), PHSiliconTruthTrackSeeding::Process(), PHG4ConsistencyCheck::process_event(), PHG4DSTReader::process_event(), TpcRS::process_event(), QAG4SimulationEicCalorimeter::process_event_G4Hit(), QAG4SimulationCalorimeter::process_event_G4Hit(), PHG4TruthEventAction::ProcessShowers(), and PHG4TruthEventAction::PruneShowers().
Here is the caller graph for this function:
|
inline |
Get a range of iterators covering the entire container.
Definition at line 58 of file PHG4TruthInfoContainer.h.
View newest version in sPHENIX GitHub at line 58 of file PHG4TruthInfoContainer.h
References particlemap.
Referenced by PHG4TruthEventAction::EndOfEventAction(), SvtxEvaluator::fillOutputNtuples(), EventEvaluator::fillOutputNtuples(), EventEvaluatorEIC::fillOutputNtuples(), SvtxClusterEval::FillRecoClusterFromG4HitCache(), CaloEvaluator::printInputInfo(), PHG4TruthSubsystem::process_after_geant(), PHG4ConsistencyCheck::process_event(), CreateCZHitContainer::process_event(), PHTruthClustering::process_event(), PHG4TrackFastSim::process_event(), B0TrackFastSim::process_event(), and DumpPHG4TruthInfoContainer::process_Node().
Here is the caller graph for this function:
|
inline |
Definition at line 59 of file PHG4TruthInfoContainer.h.
View newest version in sPHENIX GitHub at line 59 of file PHG4TruthInfoContainer.h
References particlemap.
| PHG4Particle * PHG4TruthInfoContainer::GetPrimaryParticle | ( | const int | trackid | ) |
Definition at line 126 of file PHG4TruthInfoContainer.cc.
View newest version in sPHENIX GitHub at line 126 of file PHG4TruthInfoContainer.cc
References it, and particlemap.
Referenced by BaseTruthEval::get_primary_particle(), and PHTruthClustering::process_event().
Here is the caller graph for this function:
|
inline |
Definition at line 61 of file PHG4TruthInfoContainer.h.
View newest version in sPHENIX GitHub at line 61 of file PHG4TruthInfoContainer.h
References particlemap.
Referenced by QAG4SimulationTpc::evaluate_clusters(), PHGenFitTrkFitter::fill_eval_tree(), B0TrackFastSimEval::fill_track_tree(), PHG4TrackFastSimEval::fill_track_tree(), TrackFastSimEval::fill_track_tree(), SvtxEvaluator::fillOutputNtuples(), TruthJetInput::get_input(), AnaTutorial::getPHG4Truth(), CaloEvaluator::printOutputInfo(), SvtxEvaluator::printOutputInfo(), PHTruthTrackSeeding::Process(), TrackFastSimEval::process_event(), QAG4SimulationUpsilon::process_event(), QAExample::process_event(), QAG4SimulationVertex::process_event(), G4SnglNtuple::process_event(), G4SnglTree::process_event(), ParticleFlowReco::process_event(), G4DIRCTree::process_event(), DetermineTowerBackground::process_event(), QAG4SimulationTracking::process_event(), EvalRootTTreeReco::process_event(), TPCDataStreamEmulator::process_event(), SamplingFractionReco::process_event(), PHG4DSTReader::process_event(), PHG4TrackFastSim::process_event(), B0TrackFastSim::process_event(), QAG4SimulationCalorimeter::process_event_G4Hit(), and QAG4SimulationEicCalorimeter::process_event_G4Hit().
Here is the caller graph for this function:
|
inline |
Definition at line 62 of file PHG4TruthInfoContainer.h.
View newest version in sPHENIX GitHub at line 62 of file PHG4TruthInfoContainer.h
References particlemap.
| PHG4Shower * PHG4TruthInfoContainer::GetPrimaryShower | ( | const int | showerid | ) |
Definition at line 158 of file PHG4TruthInfoContainer.cc.
View newest version in sPHENIX GitHub at line 158 of file PHG4TruthInfoContainer.cc
|
inline |
Definition at line 180 of file PHG4TruthInfoContainer.h.
View newest version in sPHENIX GitHub at line 180 of file PHG4TruthInfoContainer.h
References showermap.
Referenced by BaseTruthEval::get_primary_shower().
Here is the caller graph for this function:
|
inline |
Definition at line 181 of file PHG4TruthInfoContainer.h.
View newest version in sPHENIX GitHub at line 181 of file PHG4TruthInfoContainer.h
References showermap.
| int PHG4TruthInfoContainer::GetPrimaryVertexIndex | ( | ) | const |
Return ID of the truth primary vertex with highest embedding ID. For vertex with identical embedding ID, return first one simulated in Geant4.
Definition at line 335 of file PHG4TruthInfoContainer.cc.
View newest version in sPHENIX GitHub at line 335 of file PHG4TruthInfoContainer.cc
References GetPrimaryVtxRange(), isEmbededVtx(), and min.
Referenced by CaloEvaluator::fillOutputNtuples(), identify(), PHGenFitTrkFitter::MakeSvtxTrack(), CaloEvaluator::printOutputInfo(), SvtxEvaluator::printOutputInfo(), MomentumEvaluator::process_event(), G4VtxNtuple::process_event(), BbcVertexFastSimReco::process_event(), GlobalVertexFastSimReco::process_event(), EvalRootTTreeReco::process_event(), PHG4TrackFastSim::process_event(), and B0TrackFastSim::process_event().
Here is the call graph for this function:
Here is the caller graph for this function:| PHG4VtxPoint * PHG4TruthInfoContainer::GetPrimaryVtx | ( | const int | vtxid | ) |
Definition at line 142 of file PHG4TruthInfoContainer.cc.
View newest version in sPHENIX GitHub at line 142 of file PHG4TruthInfoContainer.cc
Referenced by CaloEvaluator::fillOutputNtuples(), PHGenFitTrkFitter::MakeSvtxTrack(), CaloEvaluator::printOutputInfo(), SvtxEvaluator::printOutputInfo(), MomentumEvaluator::process_event(), G4VtxNtuple::process_event(), BbcVertexFastSimReco::process_event(), GlobalVertexFastSimReco::process_event(), EvalRootTTreeReco::process_event(), PHG4TrackFastSim::process_event(), B0TrackFastSim::process_event(), QAG4SimulationCalorimeter::process_event_Cluster(), QAG4SimulationEicCalorimeter::process_event_Cluster(), QAG4SimulationEicCalorimeter::process_event_G4Hit(), QAG4SimulationCalorimeter::process_event_G4Hit(), and PHG4ParticleGeneratorBase::ReuseExistingVertex().
Here is the caller graph for this function:
|
inline |
Definition at line 122 of file PHG4TruthInfoContainer.h.
View newest version in sPHENIX GitHub at line 122 of file PHG4TruthInfoContainer.h
References vtxmap.
Referenced by PHGenFitTrkFitter::fill_eval_tree(), SvtxEvaluator::fillOutputNtuples(), GetPrimaryVertexIndex(), PHTruthVertexing::Process(), PHSiliconTruthTrackSeeding::Process(), and QAG4SimulationVertex::process_event().
Here is the caller graph for this function:
|
inline |
Definition at line 123 of file PHG4TruthInfoContainer.h.
View newest version in sPHENIX GitHub at line 123 of file PHG4TruthInfoContainer.h
References vtxmap.
|
inline |
Definition at line 64 of file PHG4TruthInfoContainer.h.
View newest version in sPHENIX GitHub at line 64 of file PHG4TruthInfoContainer.h
References particlemap.
Referenced by PHG4DstCompressReco::process_event().
Here is the caller graph for this function:
|
inline |
Definition at line 65 of file PHG4TruthInfoContainer.h.
View newest version in sPHENIX GitHub at line 65 of file PHG4TruthInfoContainer.h
References particlemap.
|
inline |
Definition at line 183 of file PHG4TruthInfoContainer.h.
View newest version in sPHENIX GitHub at line 183 of file PHG4TruthInfoContainer.h
References showermap.
Referenced by BaseTruthEval::all_secondary_showers().
Here is the caller graph for this function:
|
inline |
Definition at line 184 of file PHG4TruthInfoContainer.h.
View newest version in sPHENIX GitHub at line 184 of file PHG4TruthInfoContainer.h
References showermap.
|
inline |
Definition at line 125 of file PHG4TruthInfoContainer.h.
View newest version in sPHENIX GitHub at line 125 of file PHG4TruthInfoContainer.h
References vtxmap.
Referenced by PHG4DstCompressReco::process_event().
Here is the caller graph for this function:
|
inline |
Definition at line 126 of file PHG4TruthInfoContainer.h.
View newest version in sPHENIX GitHub at line 126 of file PHG4TruthInfoContainer.h
References vtxmap.
| PHG4Shower * PHG4TruthInfoContainer::GetShower | ( | const int | showerid | ) |
Definition at line 150 of file PHG4TruthInfoContainer.cc.
View newest version in sPHENIX GitHub at line 150 of file PHG4TruthInfoContainer.cc
Referenced by CaloRawTowerEval::all_truth_primary_showers(), and BaseTruthEval::get_primary_shower().
Here is the caller graph for this function:
|
inline |
Get the Shower Map storage.
Definition at line 190 of file PHG4TruthInfoContainer.h.
View newest version in sPHENIX GitHub at line 190 of file PHG4TruthInfoContainer.h
References showermap.
Referenced by operator==().
Here is the caller graph for this function:
|
inline |
Get a range of iterators covering the entire container.
Definition at line 177 of file PHG4TruthInfoContainer.h.
View newest version in sPHENIX GitHub at line 177 of file PHG4TruthInfoContainer.h
References showermap.
Referenced by PHG4DstCompressReco::process_event(), DumpPHG4TruthInfoContainer::process_Node(), PHG4TruthEventAction::ProcessShowers(), and PHG4TruthEventAction::PruneShowers().
Here is the caller graph for this function:
|
inline |
Definition at line 178 of file PHG4TruthInfoContainer.h.
View newest version in sPHENIX GitHub at line 178 of file PHG4TruthInfoContainer.h
References showermap.
| PHG4VtxPoint * PHG4TruthInfoContainer::GetVtx | ( | const int | vtxid | ) |
Definition at line 134 of file PHG4TruthInfoContainer.cc.
View newest version in sPHENIX GitHub at line 134 of file PHG4TruthInfoContainer.cc
Referenced by B0TrackFastSimEval::fill_track_tree(), TrackFastSimEval::fill_track_tree(), PHG4TrackFastSimEval::fill_track_tree(), B0TrackFastSimEval::fill_vertex_tree(), TrackFastSimEval::fill_vertex_tree(), PHG4TrackFastSimEval::fill_vertex_tree(), EventEvaluator::fillOutputNtuples(), EventEvaluatorEIC::fillOutputNtuples(), BaseTruthEval::get_vertex(), SvtxClusterEval::gtrackid_and_layer_by_nhit(), SvtxEvaluator::printOutputInfo(), PHTruthTrackSeeding::Process(), MomentumEvaluator::process_event(), PHTruthSiliconAssociation::process_event(), PHG4DSTReader::process_event(), and PHG4TruthEventAction::ProcessShowers().
Here is the caller graph for this function:
|
inline |
Get the Vertex Map storage.
Definition at line 132 of file PHG4TruthInfoContainer.h.
View newest version in sPHENIX GitHub at line 132 of file PHG4TruthInfoContainer.h
References vtxmap.
Referenced by PHG4TruthTrackingAction::AddVertex(), and operator==().
Here is the caller graph for this function:
|
inline |
Get a range of iterators covering the entire vertex container.
Definition at line 119 of file PHG4TruthInfoContainer.h.
View newest version in sPHENIX GitHub at line 119 of file PHG4TruthInfoContainer.h
References vtxmap.
Referenced by PHG4TruthEventAction::EndOfEventAction(), PHG4TruthSubsystem::process_after_geant(), and DumpPHG4TruthInfoContainer::process_Node().
Here is the caller graph for this function:
|
inline |
Definition at line 120 of file PHG4TruthInfoContainer.h.
View newest version in sPHENIX GitHub at line 120 of file PHG4TruthInfoContainer.h
References vtxmap.
|
overridevirtual |
identify Function from PHObject
| os | Output Stream |
Reimplemented from PHObject.
Definition at line 50 of file PHG4TruthInfoContainer.cc.
View newest version in sPHENIX GitHub at line 50 of file PHG4TruthInfoContainer.cc
References GetPrimaryVertexIndex(), particle_embed_flags, particlemap, showermap, vertex_embed_flags, and vtxmap.
Referenced by AddShower(), AddVertex(), and PHG4ParticleGeneratorBase::ReuseExistingVertex().
Here is the call graph for this function:
Here is the caller graph for this function:| bool PHG4TruthInfoContainer::is_primary | ( | const PHG4Particle * | p | ) | const |
Definition at line 330 of file PHG4TruthInfoContainer.cc.
View newest version in sPHENIX GitHub at line 330 of file PHG4TruthInfoContainer.cc
References PHG4Particle::get_track_id().
Referenced by AnaTutorial::getTracks().
Here is the call graph for this function:
Here is the caller graph for this function:| bool PHG4TruthInfoContainer::is_primary_vtx | ( | const PHG4VtxPoint * | v | ) | const |
Definition at line 325 of file PHG4TruthInfoContainer.cc.
View newest version in sPHENIX GitHub at line 325 of file PHG4TruthInfoContainer.cc
References PHG4VtxPoint::get_id().
Here is the call graph for this function:| int PHG4TruthInfoContainer::isEmbeded | ( | const int | trackid | ) | const |
Retrieve the embedding ID for the HepMC subevent or track to be analyzed. positive ID is the embedded event of interest, e.g. jetty event from pythia negative IDs are backgrounds, .e.g out of time pile up collisions Usually, ID = 0 means the primary Au+Au collision background
Definition at line 303 of file PHG4TruthInfoContainer.cc.
View newest version in sPHENIX GitHub at line 303 of file PHG4TruthInfoContainer.cc
References particle_embed_flags.
Referenced by BaseTruthEval::get_embed(), DSTEmulator::get_embed(), TrackEvaluation::get_embed(), TruthJetInput::get_input(), SvtxEvaluator::printOutputInfo(), PHSiliconTruthTrackSeeding::Process(), PHG4TruthSubsystem::process_after_geant(), PHG4ConsistencyCheck::process_event(), DetermineTowerBackground::process_event(), and PHTruthClustering::process_event().
Here is the caller graph for this function:| int PHG4TruthInfoContainer::isEmbededVtx | ( | const int | vtxid | ) | const |
Retrieve the embedding ID for the HepMC subevent or track to be analyzed. positive ID is the embedded event of interest, e.g. jetty event from pythia negative IDs are backgrounds, .e.g out of time pile up collisions Usually, ID = 0 means the primary Au+Au collision background
Definition at line 314 of file PHG4TruthInfoContainer.cc.
View newest version in sPHENIX GitHub at line 314 of file PHG4TruthInfoContainer.cc
References vertex_embed_flags.
Referenced by SvtxEvaluator::fillOutputNtuples(), GetPrimaryVertexIndex(), PHTruthVertexing::Process(), PHSiliconTruthTrackSeeding::Process(), and QAG4SimulationVertex::process_event().
Here is the caller graph for this function:| int PHG4TruthInfoContainer::maxshowerindex | ( | ) | const |
Definition at line 252 of file PHG4TruthInfoContainer.cc.
View newest version in sPHENIX GitHub at line 252 of file PHG4TruthInfoContainer.cc
References showermap.
Referenced by DumpPHG4TruthInfoContainer::process_Node().
Here is the caller graph for this function:| int PHG4TruthInfoContainer::maxtrkindex | ( | ) | const |
Definition at line 220 of file PHG4TruthInfoContainer.cc.
View newest version in sPHENIX GitHub at line 220 of file PHG4TruthInfoContainer.cc
References particlemap.
Referenced by PHG4TruthTrackingAction::AddParticle(), PHG4TpcDirectLaser::AppendLaserTrack(), Fun4AllDstPileupMerger::copy_background_event(), and DumpPHG4TruthInfoContainer::process_Node().
Here is the caller graph for this function:| int PHG4TruthInfoContainer::maxvtxindex | ( | ) | const |
Definition at line 236 of file PHG4TruthInfoContainer.cc.
View newest version in sPHENIX GitHub at line 236 of file PHG4TruthInfoContainer.cc
References vtxmap.
Referenced by PHG4TruthTrackingAction::AddVertex(), PHG4TpcDirectLaser::AppendLaserTrack(), Fun4AllDstPileupMerger::copy_background_event(), and DumpPHG4TruthInfoContainer::process_Node().
Here is the caller graph for this function:| int PHG4TruthInfoContainer::minshowerindex | ( | ) | const |
Definition at line 260 of file PHG4TruthInfoContainer.cc.
View newest version in sPHENIX GitHub at line 260 of file PHG4TruthInfoContainer.cc
References showermap.
Referenced by DumpPHG4TruthInfoContainer::process_Node().
Here is the caller graph for this function:| int PHG4TruthInfoContainer::mintrkindex | ( | ) | const |
Definition at line 228 of file PHG4TruthInfoContainer.cc.
View newest version in sPHENIX GitHub at line 228 of file PHG4TruthInfoContainer.cc
References particlemap.
Referenced by PHG4TruthTrackingAction::AddParticle(), Fun4AllDstPileupMerger::copy_background_event(), and DumpPHG4TruthInfoContainer::process_Node().
Here is the caller graph for this function:| int PHG4TruthInfoContainer::minvtxindex | ( | ) | const |
Definition at line 244 of file PHG4TruthInfoContainer.cc.
View newest version in sPHENIX GitHub at line 244 of file PHG4TruthInfoContainer.cc
References vtxmap.
Referenced by PHG4TruthTrackingAction::AddVertex(), Fun4AllDstPileupMerger::copy_background_event(), and DumpPHG4TruthInfoContainer::process_Node().
Here is the caller graph for this function:
|
overridevirtual |
Clear Event.
Reimplemented from PHObject.
Definition at line 24 of file PHG4TruthInfoContainer.cc.
View newest version in sPHENIX GitHub at line 24 of file PHG4TruthInfoContainer.cc
References particle_embed_flags, particlemap, showermap, vertex_embed_flags, and vtxmap.
Referenced by ~PHG4TruthInfoContainer().
Here is the caller graph for this function:
|
inline |
shower size
Definition at line 187 of file PHG4TruthInfoContainer.h.
View newest version in sPHENIX GitHub at line 187 of file PHG4TruthInfoContainer.h
References showermap.
Referenced by DumpPHG4TruthInfoContainer::process_Node().
Here is the caller graph for this function:
|
inline |
track -> particle map size
Definition at line 68 of file PHG4TruthInfoContainer.h.
View newest version in sPHENIX GitHub at line 68 of file PHG4TruthInfoContainer.h
References particlemap.
Referenced by DumpPHG4TruthInfoContainer::process_Node().
Here is the caller graph for this function:
|
private |
Definition at line 229 of file PHG4TruthInfoContainer.h.
View newest version in sPHENIX GitHub at line 229 of file PHG4TruthInfoContainer.h
Referenced by AddEmbededTrkId(), GetEmbeddedTrkIds(), identify(), isEmbeded(), and Reset().
|
private |
particle storage map format description: primary particles are appended in the positive direction secondary particles are appended in the negative direction +N primary particle id => particle* +N-1 ... +1 primary particle id => particle* 0 no entry -1 secondary particle id => particle* ... -M+1 -M secondary particle id => particle*
Definition at line 208 of file PHG4TruthInfoContainer.h.
View newest version in sPHENIX GitHub at line 208 of file PHG4TruthInfoContainer.h
Referenced by AddParticle(), delete_particle(), GetMap(), GetNumPrimaryVertexParticles(), GetParticle(), GetParticleRange(), GetPrimaryParticle(), GetPrimaryParticleRange(), GetSecondaryParticleRange(), identify(), maxtrkindex(), mintrkindex(), Reset(), and size().
|
private |
shower map showers encapsulate the secondaries and hits from a primary particle
Definition at line 226 of file PHG4TruthInfoContainer.h.
View newest version in sPHENIX GitHub at line 226 of file PHG4TruthInfoContainer.h
Referenced by AddShower(), delete_shower(), GetPrimaryShower(), GetPrimaryShowerRange(), GetSecondaryShowerRange(), GetShower(), GetShowerMap(), GetShowerRange(), identify(), maxshowerindex(), minshowerindex(), Reset(), and shower_size().
|
private |
Definition at line 230 of file PHG4TruthInfoContainer.h.
View newest version in sPHENIX GitHub at line 230 of file PHG4TruthInfoContainer.h
Referenced by AddEmbededVtxId(), GetEmbeddedVtxIds(), identify(), isEmbededVtx(), and Reset().
|
private |
vertex storage map format description: primary vertexes are appended in the positive direction secondary vertexes are appended in the negative direction +N primary vertex id => vertex* +N-1 ... +1 primary vertex id => vertex* 0 no entry -1 secondary vertex id => vertex* ... -M+1 -M secondary vertex id => vertex*
Definition at line 222 of file PHG4TruthInfoContainer.h.
View newest version in sPHENIX GitHub at line 222 of file PHG4TruthInfoContainer.h
Referenced by AddVertex(), delete_vtx(), GetNumVertices(), GetPrimaryVtx(), GetPrimaryVtxRange(), GetSecondaryVtxRange(), GetVtx(), GetVtxMap(), GetVtxRange(), identify(), maxvtxindex(), minvtxindex(), and Reset().