EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <fun4all_coresoftware/blob/master/simulation/g4simulation/g4eval/SvtxHitEval.h>
Public Member Functions | |
SvtxHitEval (PHCompositeNode *topNode) | |
virtual | ~SvtxHitEval () |
void | next_event (PHCompositeNode *topNode) |
void | do_caching (bool do_cache) |
void | set_strict (bool strict) |
void | set_verbosity (int verbosity) |
SvtxTruthEval * | get_truth_eval () |
std::set< PHG4Hit * > | all_truth_hits (TrkrDefs::hitkey hit_key) |
PHG4Hit * | max_truth_hit_by_energy (TrkrDefs::hitkey hit_key) |
std::set< PHG4Particle * > | all_truth_particles (TrkrDefs::hitkey hit_key) |
PHG4Particle * | max_truth_particle_by_energy (TrkrDefs::hitkey hit_key) |
std::set< TrkrDefs::hitkey > | all_hits_from (PHG4Particle *truthparticle) |
std::set< TrkrDefs::hitkey > | all_hits_from (PHG4Hit *truthhit) |
TrkrDefs::hitkey | best_hit_from (PHG4Hit *truthhit) |
float | get_energy_contribution (TrkrDefs::hitkey, PHG4Particle *truthparticle) |
float | get_energy_contribution (TrkrDefs::hitkey, PHG4Hit *truthhit) |
unsigned int | get_errors () |
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 29 of file SvtxHitEval.cc.
View newest version in sPHENIX GitHub at line 29 of file SvtxHitEval.cc
References get_node_pointers().
|
virtual |
Definition at line 57 of file SvtxHitEval.cc.
View newest version in sPHENIX GitHub at line 57 of file SvtxHitEval.cc
References _errors, and _verbosity.
std::set< TrkrDefs::hitkey > SvtxHitEval::all_hits_from | ( | PHG4Particle * | truthparticle | ) |
Definition at line 403 of file SvtxHitEval.cc.
View newest version in sPHENIX GitHub at line 403 of file SvtxHitEval.cc
References _cache_all_hits_from_particle, _do_cache, _errors, _hitmap, _strict, _truthinfo, _verbosity, all_truth_hits(), PHG4Particle::get_track_id(), PHG4Hit::get_trkid(), 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 467 of file SvtxHitEval.cc.
View newest version in sPHENIX GitHub at line 467 of file SvtxHitEval.cc
References _cache_all_hits_from_g4hit, _do_cache, _errors, _hitmap, _strict, _verbosity, all_truth_hits(), 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 127 of file SvtxHitEval.cc.
View newest version in sPHENIX GitHub at line 127 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, 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(), and max_truth_hit_by_energy().
std::set< PHG4Particle * > SvtxHitEval::all_truth_particles | ( | TrkrDefs::hitkey | hit_key | ) |
Definition at line 292 of file SvtxHitEval.cc.
View newest version in sPHENIX GitHub at line 292 of file SvtxHitEval.cc
References _cache_all_truth_particles, _do_cache, _errors, _strict, _verbosity, all_truth_hits(), SvtxTruthEval::get_particle(), get_truth_eval(), has_node_pointers(), particle, and PHWHERE.
Referenced by max_truth_particle_by_energy().
TrkrDefs::hitkey SvtxHitEval::best_hit_from | ( | PHG4Hit * | truthhit | ) |
Definition at line 534 of file SvtxHitEval.cc.
View newest version in sPHENIX GitHub at line 534 of file SvtxHitEval.cc
References _cache_best_hit_from_g4hit, _do_cache, _errors, _strict, _verbosity, all_hits_from(), 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 586 of file SvtxHitEval.cc.
View newest version in sPHENIX GitHub at line 586 of file SvtxHitEval.cc
References _cache_get_energy_contribution_g4particle, _do_cache, _errors, _strict, _verbosity, all_truth_hits(), PHG4Hit::get_edep(), get_truth_eval(), has_node_pointers(), SvtxTruthEval::is_g4hit_from_particle(), and PHWHERE.
Referenced by best_hit_from(), SvtxEvaluator::fillOutputNtuples(), and max_truth_particle_by_energy().
float SvtxHitEval::get_energy_contribution | ( | TrkrDefs::hitkey | hit_key, |
PHG4Hit * | truthhit | ||
) |
Definition at line 635 of file SvtxHitEval.cc.
View newest version in sPHENIX GitHub at line 635 of file SvtxHitEval.cc
References _cache_get_energy_contribution_g4hit, _do_cache, _errors, _strict, _verbosity, all_truth_hits(), PHG4Hit::get_edep(), PHG4Hit::get_hit_id(), has_node_pointers(), and PHWHERE.
|
inline |
Definition at line 68 of file SvtxHitEval.h.
View newest version in sPHENIX GitHub at line 68 of file SvtxHitEval.h
References _errors, _trutheval, and SvtxTruthEval::get_errors().
Referenced by SvtxClusterEval::get_errors().
|
private |
Definition at line 685 of file SvtxHitEval.cc.
View newest version in sPHENIX GitHub at line 685 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 707 of file SvtxHitEval.cc.
View newest version in sPHENIX GitHub at line 707 of file SvtxHitEval.cc
References _g4hits_intt, _g4hits_mms, _g4hits_mvtx, _g4hits_tpc, _hitmap, _strict, and _truthinfo.
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 242 of file SvtxHitEval.cc.
View newest version in sPHENIX GitHub at line 242 of file SvtxHitEval.cc
References _cache_max_truth_hit_by_energy, _do_cache, _errors, _strict, _verbosity, all_truth_hits(), PHG4Hit::get_edep(), has_node_pointers(), and PHWHERE.
Referenced by SvtxEvaluator::fillOutputNtuples().
PHG4Particle * SvtxHitEval::max_truth_particle_by_energy | ( | TrkrDefs::hitkey | hit_key | ) |
Definition at line 350 of file SvtxHitEval.cc.
View newest version in sPHENIX GitHub at line 350 of file SvtxHitEval.cc
References _cache_max_truth_particle_by_energy, _do_cache, _errors, _strict, _verbosity, all_truth_particles(), Acts::UnitConstants::e, get_energy_contribution(), has_node_pointers(), particle, and PHWHERE.
void SvtxHitEval::next_event | ( | PHCompositeNode * | topNode | ) |
Definition at line 68 of file SvtxHitEval.cc.
View newest version in sPHENIX GitHub at line 68 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, and SvtxTruthEval::set_verbosity().
Referenced by SvtxClusterEval::set_verbosity().
|
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(), and next_event().
|
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(), and next_event().
|
private |
Definition at line 91 of file SvtxHitEval.h.
View newest version in sPHENIX GitHub at line 91 of file SvtxHitEval.h
Referenced by all_truth_hits(), and next_event().
|
private |
Definition at line 93 of file SvtxHitEval.h.
View newest version in sPHENIX GitHub at line 93 of file SvtxHitEval.h
Referenced by all_truth_particles(), and next_event().
|
private |
Definition at line 97 of file SvtxHitEval.h.
View newest version in sPHENIX GitHub at line 97 of file SvtxHitEval.h
Referenced by best_hit_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 get_energy_contribution(), and next_event().
|
private |
Definition at line 98 of file SvtxHitEval.h.
View newest version in sPHENIX GitHub at line 98 of file SvtxHitEval.h
Referenced by get_energy_contribution(), and next_event().
|
private |
Definition at line 92 of file SvtxHitEval.h.
View newest version in sPHENIX GitHub at line 92 of file SvtxHitEval.h
Referenced by max_truth_hit_by_energy(), and next_event().
|
private |
Definition at line 94 of file SvtxHitEval.h.
View newest version in sPHENIX GitHub at line 94 of file SvtxHitEval.h
Referenced by max_truth_particle_by_energy(), and next_event().
|
private |
Definition at line 76 of file SvtxHitEval.h.
View newest version in sPHENIX GitHub at line 76 of file SvtxHitEval.h
Referenced by get_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_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 88 of file SvtxHitEval.h.
View newest version in sPHENIX GitHub at line 88 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 80 of file SvtxHitEval.h.
View newest version in sPHENIX GitHub at line 80 of file SvtxHitEval.h
Referenced by all_truth_hits(), get_node_pointers(), and has_node_pointers().
|
private |
Definition at line 82 of file SvtxHitEval.h.
View newest version in sPHENIX GitHub at line 82 of file SvtxHitEval.h
Referenced by all_truth_hits(), get_node_pointers(), and has_node_pointers().
|
private |
Definition at line 81 of file SvtxHitEval.h.
View newest version in sPHENIX GitHub at line 81 of file SvtxHitEval.h
Referenced by all_truth_hits(), get_node_pointers(), and has_node_pointers().
|
private |
Definition at line 79 of file SvtxHitEval.h.
View newest version in sPHENIX GitHub at line 79 of file SvtxHitEval.h
Referenced by all_truth_hits(), get_node_pointers(), and has_node_pointers().
|
private |
Definition at line 77 of file SvtxHitEval.h.
View newest version in sPHENIX GitHub at line 77 of file SvtxHitEval.h
Referenced by all_truth_hits(), and get_node_pointers().
|
private |
Definition at line 75 of file SvtxHitEval.h.
View newest version in sPHENIX GitHub at line 75 of file SvtxHitEval.h
Referenced by all_hits_from(), all_truth_hits(), get_node_pointers(), and has_node_pointers().
|
private |
Definition at line 86 of file SvtxHitEval.h.
View newest version in sPHENIX GitHub at line 86 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 74 of file SvtxHitEval.h.
View newest version in sPHENIX GitHub at line 74 of file SvtxHitEval.h
Referenced by do_caching(), get_errors(), get_truth_eval(), next_event(), set_strict(), and set_verbosity().
|
private |
Definition at line 84 of file SvtxHitEval.h.
View newest version in sPHENIX GitHub at line 84 of file SvtxHitEval.h
Referenced by all_hits_from(), 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_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().