Analysis Software
Documentation for sPHENIX simulation software
|
#include <coresoftware/blob/master/simulation/g4simulation/g4eval/SvtxHitEval.h>
Private Member Functions | |
void | get_node_pointers (PHCompositeNode *topNode) |
bool | has_node_pointers () |
Definition at line 23 of file SvtxHitEval.h.
View newest version in sPHENIX GitHub at line 23 of file SvtxHitEval.h
SvtxHitEval::SvtxHitEval | ( | PHCompositeNode * | topNode | ) |
Definition at line 27 of file SvtxHitEval.cc.
View newest version in sPHENIX GitHub at line 27 of file SvtxHitEval.cc
References get_node_pointers().
|
virtual |
Definition at line 33 of file SvtxHitEval.cc.
View newest version in sPHENIX GitHub at line 33 of file SvtxHitEval.cc
References _errors, and _verbosity.
std::set< TrkrDefs::hitkey > SvtxHitEval::all_hits_from | ( | PHG4Particle * | truthparticle | ) |
Definition at line 699 of file SvtxHitEval.cc.
View newest version in sPHENIX GitHub at line 699 of file SvtxHitEval.cc
References _cache_all_hits_from_particle, _do_cache, _errors, _hitmap, _strict, _truthinfo, _verbosity, all_truth_hits(), assert, PHG4Particle::get_track_id(), TrkrHitSetContainer::getHitSets(), PHG4TruthInfoContainer::GetParticle(), has_node_pointers(), particle, and PHWHERE.
Referenced by best_hit_from().
std::set< TrkrDefs::hitkey > SvtxHitEval::all_hits_from | ( | PHG4Hit * | truthhit | ) |
Definition at line 769 of file SvtxHitEval.cc.
View newest version in sPHENIX GitHub at line 769 of file SvtxHitEval.cc
References _cache_all_hits_from_g4hit, _do_cache, _errors, _hitmap, _strict, _verbosity, all_truth_hits(), assert, PHG4Hit::get_hit_id(), PHG4Hit::get_layer(), TrkrHitSetContainer::getHitSets(), TrkrDefs::getLayer(), has_node_pointers(), and PHWHERE.
std::set< PHG4Hit * > SvtxHitEval::all_truth_hits | ( | TrkrDefs::hitkey | hit_key | ) |
Definition at line 103 of file SvtxHitEval.cc.
View newest version in sPHENIX GitHub at line 103 of file SvtxHitEval.cc
References _cache_all_truth_hits, _do_cache, _errors, _g4hits_intt, _g4hits_mms, _g4hits_mvtx, _g4hits_tpc, _hit_truth_map, _hitmap, _strict, _verbosity, assert, PHG4HitContainer::findHit(), TrkrHitTruthAssoc::getG4Hits(), TrkrHitSet::getHit(), TrkrHitSetContainer::getHitSets(), TrkrDefs::getTrkrId(), has_node_pointers(), TrkrDefs::inttId, TrkrDefs::micromegasId, TrkrDefs::mvtxId, PHWHERE, and TrkrDefs::tpcId.
Referenced by all_hits_from(), all_truth_particles(), get_energy_contribution(), max_truth_hit_by_energy(), and TPCMLDataInterface::process_event().
std::set< PHG4Hit * > SvtxHitEval::all_truth_hits | ( | TrkrDefs::hitkey | hit_key, |
const TrkrDefs::TrkrId | trkrid | ||
) |
Definition at line 238 of file SvtxHitEval.cc.
View newest version in sPHENIX GitHub at line 238 of file SvtxHitEval.cc
References _cache_all_truth_hits, _do_cache, _errors, _g4hits_intt, _g4hits_mms, _g4hits_mvtx, _g4hits_tpc, _hit_truth_map, _hitmap, _strict, _verbosity, assert, PHG4HitContainer::findHit(), TrkrHitTruthAssoc::getG4Hits(), TrkrHitSet::getHit(), TrkrHitSetContainer::getHitSets(), has_node_pointers(), TrkrDefs::inttId, TrkrDefs::micromegasId, TrkrDefs::mvtxId, PHWHERE, and TrkrDefs::tpcId.
std::set< PHG4Particle * > SvtxHitEval::all_truth_particles | ( | TrkrDefs::hitkey | hit_key | ) |
Definition at line 443 of file SvtxHitEval.cc.
View newest version in sPHENIX GitHub at line 443 of file SvtxHitEval.cc
References _cache_all_truth_particles, _do_cache, _errors, _strict, _verbosity, all_truth_hits(), assert, SvtxTruthEval::get_particle(), get_truth_eval(), has_node_pointers(), particle, and PHWHERE.
Referenced by max_truth_particle_by_energy().
std::set< PHG4Particle * > SvtxHitEval::all_truth_particles | ( | TrkrDefs::hitkey | hit_key, |
const TrkrDefs::TrkrId | trkrid | ||
) |
Definition at line 512 of file SvtxHitEval.cc.
View newest version in sPHENIX GitHub at line 512 of file SvtxHitEval.cc
References _cache_all_truth_particles, _do_cache, _errors, _strict, _verbosity, all_truth_hits(), assert, SvtxTruthEval::get_particle(), get_truth_eval(), has_node_pointers(), particle, and PHWHERE.
TrkrDefs::hitkey SvtxHitEval::best_hit_from | ( | PHG4Hit * | truthhit | ) |
Definition at line 845 of file SvtxHitEval.cc.
View newest version in sPHENIX GitHub at line 845 of file SvtxHitEval.cc
References _cache_best_hit_from_g4hit, _do_cache, _errors, _strict, _verbosity, all_hits_from(), assert, energy, get_energy_contribution(), has_node_pointers(), and PHWHERE.
|
inline |
Definition at line 30 of file SvtxHitEval.h.
View newest version in sPHENIX GitHub at line 30 of file SvtxHitEval.h
References _do_cache, _trutheval, and SvtxTruthEval::do_caching().
Referenced by SvtxClusterEval::do_caching().
float SvtxHitEval::get_energy_contribution | ( | TrkrDefs::hitkey | hit_key, |
PHG4Particle * | truthparticle | ||
) |
Definition at line 903 of file SvtxHitEval.cc.
View newest version in sPHENIX GitHub at line 903 of file SvtxHitEval.cc
References _cache_get_energy_contribution_g4particle, _do_cache, _errors, _strict, _verbosity, all_truth_hits(), assert, energy, get_truth_eval(), has_node_pointers(), and PHWHERE.
Referenced by best_hit_from(), SvtxEvaluatorHaiwang::fillOutputNtuples(), psTOFTimezeroEval::fillOutputNtuples(), SvtxEvaluator::fillOutputNtuples(), and max_truth_particle_by_energy().
float SvtxHitEval::get_energy_contribution | ( | TrkrDefs::hitkey | hit_key, |
PHG4Hit * | truthhit | ||
) |
Definition at line 958 of file SvtxHitEval.cc.
View newest version in sPHENIX GitHub at line 958 of file SvtxHitEval.cc
References _cache_get_energy_contribution_g4hit, _do_cache, _errors, _strict, _verbosity, all_truth_hits(), assert, energy, PHG4Hit::get_hit_id(), has_node_pointers(), and PHWHERE.
|
inline |
Definition at line 76 of file SvtxHitEval.h.
View newest version in sPHENIX GitHub at line 76 of file SvtxHitEval.h
References _errors, _trutheval, and SvtxTruthEval::get_errors().
Referenced by SvtxClusterEval::get_errors().
|
private |
Definition at line 1017 of file SvtxHitEval.cc.
View newest version in sPHENIX GitHub at line 1017 of file SvtxHitEval.cc
References _clustermap, _g4hits_intt, _g4hits_mms, _g4hits_mvtx, _g4hits_tpc, _hit_truth_map, _hitmap, and _truthinfo.
Referenced by next_event(), and SvtxHitEval().
|
inline |
Definition at line 47 of file SvtxHitEval.h.
View newest version in sPHENIX GitHub at line 47 of file SvtxHitEval.h
References _trutheval.
Referenced by all_truth_particles(), get_energy_contribution(), and SvtxClusterEval::get_truth_eval().
|
private |
Definition at line 1041 of file SvtxHitEval.cc.
View newest version in sPHENIX GitHub at line 1041 of file SvtxHitEval.cc
References _g4hits_intt, _g4hits_mms, _g4hits_mvtx, _g4hits_tpc, _hitmap, _strict, _truthinfo, and assert.
Referenced by all_hits_from(), all_truth_hits(), all_truth_particles(), best_hit_from(), get_energy_contribution(), max_truth_hit_by_energy(), and max_truth_particle_by_energy().
PHG4Hit * SvtxHitEval::max_truth_hit_by_energy | ( | TrkrDefs::hitkey | hit_key | ) |
Definition at line 331 of file SvtxHitEval.cc.
View newest version in sPHENIX GitHub at line 331 of file SvtxHitEval.cc
References _cache_max_truth_hit_by_energy, _do_cache, _errors, _strict, _verbosity, all_truth_hits(), assert, PHG4Hit::get_edep(), has_node_pointers(), and PHWHERE.
Referenced by psTOFTimezeroEval::fillOutputNtuples(), SvtxEvaluatorHaiwang::fillOutputNtuples(), and SvtxEvaluator::fillOutputNtuples().
PHG4Hit * SvtxHitEval::max_truth_hit_by_energy | ( | TrkrDefs::hitkey | hit_key, |
const TrkrDefs::TrkrId | trkrid | ||
) |
Definition at line 387 of file SvtxHitEval.cc.
View newest version in sPHENIX GitHub at line 387 of file SvtxHitEval.cc
References _cache_max_truth_hit_by_energy, _do_cache, _errors, _strict, _verbosity, all_truth_hits(), assert, PHG4Hit::get_edep(), has_node_pointers(), and PHWHERE.
PHG4Particle * SvtxHitEval::max_truth_particle_by_energy | ( | TrkrDefs::hitkey | hit_key | ) |
Definition at line 581 of file SvtxHitEval.cc.
View newest version in sPHENIX GitHub at line 581 of file SvtxHitEval.cc
References _cache_max_truth_particle_by_energy, _do_cache, _errors, _strict, _verbosity, all_truth_particles(), assert, Acts::UnitConstants::e, get_energy_contribution(), has_node_pointers(), particle, particles, and PHWHERE.
PHG4Particle * SvtxHitEval::max_truth_particle_by_energy | ( | TrkrDefs::hitkey | hit_key, |
const TrkrDefs::TrkrId | trkrid | ||
) |
Definition at line 640 of file SvtxHitEval.cc.
View newest version in sPHENIX GitHub at line 640 of file SvtxHitEval.cc
References _cache_max_truth_particle_by_energy, _do_cache, _errors, _strict, _verbosity, all_truth_particles(), assert, Acts::UnitConstants::e, get_energy_contribution(), has_node_pointers(), particle, particles, and PHWHERE.
void SvtxHitEval::next_event | ( | PHCompositeNode * | topNode | ) |
Definition at line 44 of file SvtxHitEval.cc.
View newest version in sPHENIX GitHub at line 44 of file SvtxHitEval.cc
References _cache_all_hits_from_g4hit, _cache_all_hits_from_particle, _cache_all_truth_hits, _cache_all_truth_particles, _cache_best_hit_from_g4hit, _cache_get_energy_contribution_g4hit, _cache_get_energy_contribution_g4particle, _cache_max_truth_hit_by_energy, _cache_max_truth_particle_by_energy, _trutheval, get_node_pointers(), and SvtxTruthEval::next_event().
Referenced by SvtxClusterEval::next_event().
|
inline |
Definition at line 35 of file SvtxHitEval.h.
View newest version in sPHENIX GitHub at line 35 of file SvtxHitEval.h
References _strict, _trutheval, and SvtxTruthEval::set_strict().
Referenced by SvtxClusterEval::set_strict().
|
inline |
Definition at line 40 of file SvtxHitEval.h.
View newest version in sPHENIX GitHub at line 40 of file SvtxHitEval.h
References _trutheval, _verbosity, SvtxTruthEval::set_verbosity(), and verbosity.
Referenced by SvtxClusterEval::set_verbosity().
|
private |
Definition at line 104 of file SvtxHitEval.h.
View newest version in sPHENIX GitHub at line 104 of file SvtxHitEval.h
Referenced by all_hits_from(), and next_event().
|
private |
Definition at line 103 of file SvtxHitEval.h.
View newest version in sPHENIX GitHub at line 103 of file SvtxHitEval.h
Referenced by all_hits_from(), and next_event().
|
private |
Definition at line 99 of file SvtxHitEval.h.
View newest version in sPHENIX GitHub at line 99 of file SvtxHitEval.h
Referenced by all_truth_hits(), and next_event().
|
private |
Definition at line 101 of file SvtxHitEval.h.
View newest version in sPHENIX GitHub at line 101 of file SvtxHitEval.h
Referenced by all_truth_particles(), and next_event().
|
private |
Definition at line 105 of file SvtxHitEval.h.
View newest version in sPHENIX GitHub at line 105 of file SvtxHitEval.h
Referenced by best_hit_from(), and next_event().
|
private |
Definition at line 107 of file SvtxHitEval.h.
View newest version in sPHENIX GitHub at line 107 of file SvtxHitEval.h
Referenced by get_energy_contribution(), and next_event().
|
private |
Definition at line 106 of file SvtxHitEval.h.
View newest version in sPHENIX GitHub at line 106 of file SvtxHitEval.h
Referenced by get_energy_contribution(), and next_event().
|
private |
Definition at line 100 of file SvtxHitEval.h.
View newest version in sPHENIX GitHub at line 100 of file SvtxHitEval.h
Referenced by max_truth_hit_by_energy(), and next_event().
|
private |
Definition at line 102 of file SvtxHitEval.h.
View newest version in sPHENIX GitHub at line 102 of file SvtxHitEval.h
Referenced by max_truth_particle_by_energy(), and next_event().
|
private |
Definition at line 84 of file SvtxHitEval.h.
View newest version in sPHENIX GitHub at line 84 of file SvtxHitEval.h
Referenced by get_node_pointers().
|
private |
Definition at line 98 of file SvtxHitEval.h.
View newest version in sPHENIX GitHub at line 98 of file SvtxHitEval.h
Referenced by all_hits_from(), all_truth_hits(), all_truth_particles(), best_hit_from(), do_caching(), get_energy_contribution(), max_truth_hit_by_energy(), and max_truth_particle_by_energy().
|
private |
Definition at line 96 of file SvtxHitEval.h.
View newest version in sPHENIX GitHub at line 96 of file SvtxHitEval.h
Referenced by all_hits_from(), all_truth_hits(), all_truth_particles(), best_hit_from(), get_energy_contribution(), get_errors(), max_truth_hit_by_energy(), max_truth_particle_by_energy(), and ~SvtxHitEval().
|
private |
Definition at line 88 of file SvtxHitEval.h.
View newest version in sPHENIX GitHub at line 88 of file SvtxHitEval.h
Referenced by all_truth_hits(), get_node_pointers(), and has_node_pointers().
|
private |
Definition at line 90 of file SvtxHitEval.h.
View newest version in sPHENIX GitHub at line 90 of file SvtxHitEval.h
Referenced by all_truth_hits(), get_node_pointers(), and has_node_pointers().
|
private |
Definition at line 89 of file SvtxHitEval.h.
View newest version in sPHENIX GitHub at line 89 of file SvtxHitEval.h
Referenced by all_truth_hits(), get_node_pointers(), and has_node_pointers().
|
private |
Definition at line 87 of file SvtxHitEval.h.
View newest version in sPHENIX GitHub at line 87 of file SvtxHitEval.h
Referenced by all_truth_hits(), get_node_pointers(), and has_node_pointers().
|
private |
Definition at line 85 of file SvtxHitEval.h.
View newest version in sPHENIX GitHub at line 85 of file SvtxHitEval.h
Referenced by all_truth_hits(), and get_node_pointers().
|
private |
Definition at line 83 of file SvtxHitEval.h.
View newest version in sPHENIX GitHub at line 83 of file SvtxHitEval.h
Referenced by all_hits_from(), all_truth_hits(), get_node_pointers(), and has_node_pointers().
|
private |
Definition at line 94 of file SvtxHitEval.h.
View newest version in sPHENIX GitHub at line 94 of file SvtxHitEval.h
Referenced by all_hits_from(), all_truth_hits(), all_truth_particles(), best_hit_from(), get_energy_contribution(), has_node_pointers(), max_truth_hit_by_energy(), max_truth_particle_by_energy(), and set_strict().
|
private |
Definition at line 82 of file SvtxHitEval.h.
View newest version in sPHENIX GitHub at line 82 of file SvtxHitEval.h
Referenced by do_caching(), get_errors(), get_truth_eval(), next_event(), set_strict(), and set_verbosity().
|
private |
Definition at line 92 of file SvtxHitEval.h.
View newest version in sPHENIX GitHub at line 92 of file SvtxHitEval.h
Referenced by all_hits_from(), get_node_pointers(), and has_node_pointers().
|
private |
Definition at line 95 of file SvtxHitEval.h.
View newest version in sPHENIX GitHub at line 95 of file SvtxHitEval.h
Referenced by all_hits_from(), all_truth_hits(), all_truth_particles(), best_hit_from(), get_energy_contribution(), max_truth_hit_by_energy(), max_truth_particle_by_energy(), set_verbosity(), and ~SvtxHitEval().