EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <fun4all_coresoftware/blob/master/simulation/g4simulation/g4eval/SvtxVertexEval.h>
Public Member Functions | |
SvtxVertexEval (PHCompositeNode *topNode) | |
virtual | ~SvtxVertexEval () |
void | next_event (PHCompositeNode *topNode) |
void | do_caching (bool do_cache) |
void | set_strict (bool strict) |
void | set_verbosity (int verbosity) |
SvtxTrackEval * | get_track_eval () |
SvtxClusterEval * | get_cluster_eval () |
SvtxHitEval * | get_hit_eval () |
SvtxTruthEval * | get_truth_eval () |
std::set< PHG4Particle * > | all_truth_particles (SvtxVertex *vertex) |
std::set< PHG4VtxPoint * > | all_truth_points (SvtxVertex *vertex) |
PHG4VtxPoint * | max_truth_point_by_ntracks (SvtxVertex *vertex) |
std::set< SvtxVertex * > | all_vertexes_from (PHG4VtxPoint *truthpoint) |
SvtxVertex * | best_vertex_from (PHG4VtxPoint *truthpoint) |
unsigned int | get_ntracks_contribution (SvtxVertex *svtxvertex, PHG4VtxPoint *truthpoint) |
unsigned int | get_errors () |
void | set_use_initial_vertex (bool use_init_vertex) |
void | set_use_genfit_vertex (bool use_genfit_vertex) |
void | set_track_nodename (const std::string &name) |
Private Member Functions | |
void | get_node_pointers (PHCompositeNode *topNode) |
bool | has_node_pointers () |
Private Attributes | |
SvtxTrackEval | _trackeval |
SvtxVertexMap * | _vertexmap |
SvtxTrackMap * | _trackmap |
PHG4TruthInfoContainer * | _truthinfo |
bool | _strict |
bool | _use_initial_vertex = true |
bool | _use_genfit_vertex = false |
int | _verbosity |
unsigned int | _errors |
bool | _do_cache |
std::map< SvtxVertex *, std::set< PHG4Particle * > > | _cache_all_truth_particles |
std::map< SvtxVertex *, std::set< PHG4VtxPoint * > > | _cache_all_truth_points |
std::map< SvtxVertex *, PHG4VtxPoint * > | _cache_max_truth_point_by_ntracks |
std::map< PHG4VtxPoint *, std::set< SvtxVertex * > > | _cache_all_vertexes_from_point |
std::map< PHG4VtxPoint *, SvtxVertex * > | _cache_best_vertex_from_point |
std::map< std::pair < SvtxVertex *, PHG4VtxPoint * > , unsigned int > | _cache_get_ntracks_contribution |
std::string | m_TrackNodeName |
Definition at line 24 of file SvtxVertexEval.h.
View newest version in sPHENIX GitHub at line 24 of file SvtxVertexEval.h
SvtxVertexEval::SvtxVertexEval | ( | PHCompositeNode * | topNode | ) |
Definition at line 24 of file SvtxVertexEval.cc.
View newest version in sPHENIX GitHub at line 24 of file SvtxVertexEval.cc
References set_track_nodename().
|
virtual |
Definition at line 37 of file SvtxVertexEval.cc.
View newest version in sPHENIX GitHub at line 37 of file SvtxVertexEval.cc
References _errors, and _verbosity.
std::set< PHG4Particle * > SvtxVertexEval::all_truth_particles | ( | SvtxVertex * | vertex | ) |
Definition at line 62 of file SvtxVertexEval.cc.
View newest version in sPHENIX GitHub at line 62 of file SvtxVertexEval.cc
References _cache_all_truth_particles, _do_cache, _errors, _strict, _trackeval, _trackmap, SvtxVertex::begin_tracks(), SvtxVertex::end_tracks(), SvtxTrackMap::get(), has_node_pointers(), and SvtxTrackEval::max_truth_particle_by_nclusters().
Referenced by all_truth_points().
std::set< PHG4VtxPoint * > SvtxVertexEval::all_truth_points | ( | SvtxVertex * | vertex | ) |
Definition at line 129 of file SvtxVertexEval.cc.
View newest version in sPHENIX GitHub at line 129 of file SvtxVertexEval.cc
References _cache_all_truth_points, _do_cache, _errors, _strict, all_truth_particles(), get_truth_eval(), SvtxTruthEval::get_vertex(), has_node_pointers(), and particle.
Referenced by all_vertexes_from(), and max_truth_point_by_ntracks().
std::set< SvtxVertex * > SvtxVertexEval::all_vertexes_from | ( | PHG4VtxPoint * | truthpoint | ) |
Definition at line 236 of file SvtxVertexEval.cc.
View newest version in sPHENIX GitHub at line 236 of file SvtxVertexEval.cc
References _cache_all_vertexes_from_point, _do_cache, _errors, _strict, _vertexmap, all_truth_points(), SvtxTruthEval::are_same_vertex(), SvtxVertexMap::begin(), SvtxVertexMap::end(), get_truth_eval(), and has_node_pointers().
Referenced by best_vertex_from().
SvtxVertex * SvtxVertexEval::best_vertex_from | ( | PHG4VtxPoint * | truthpoint | ) |
Definition at line 291 of file SvtxVertexEval.cc.
View newest version in sPHENIX GitHub at line 291 of file SvtxVertexEval.cc
References _cache_best_vertex_from_point, _do_cache, _errors, _strict, all_vertexes_from(), get_ntracks_contribution(), and has_node_pointers().
Referenced by SvtxEvaluator::fillOutputNtuples().
|
inline |
Definition at line 31 of file SvtxVertexEval.h.
View newest version in sPHENIX GitHub at line 31 of file SvtxVertexEval.h
References _do_cache, _trackeval, and SvtxTrackEval::do_caching().
Referenced by SvtxEvalStack::do_caching().
|
inline |
Definition at line 49 of file SvtxVertexEval.h.
View newest version in sPHENIX GitHub at line 49 of file SvtxVertexEval.h
References _trackeval, and SvtxTrackEval::get_cluster_eval().
Referenced by SvtxEvalStack::get_cluster_eval().
|
inline |
Definition at line 67 of file SvtxVertexEval.h.
View newest version in sPHENIX GitHub at line 67 of file SvtxVertexEval.h
References _errors, _trackeval, and SvtxTrackEval::get_errors().
Referenced by SvtxEvalStack::get_errors().
|
inline |
Definition at line 50 of file SvtxVertexEval.h.
View newest version in sPHENIX GitHub at line 50 of file SvtxVertexEval.h
References _trackeval, and SvtxTrackEval::get_hit_eval().
Referenced by SvtxEvalStack::get_hit_eval().
|
private |
Definition at line 402 of file SvtxVertexEval.cc.
View newest version in sPHENIX GitHub at line 402 of file SvtxVertexEval.cc
References _trackmap, _truthinfo, _use_genfit_vertex, _use_initial_vertex, _vertexmap, m_TrackNodeName, and PHWHERE.
Referenced by next_event().
unsigned int SvtxVertexEval::get_ntracks_contribution | ( | SvtxVertex * | svtxvertex, |
PHG4VtxPoint * | truthpoint | ||
) |
Definition at line 341 of file SvtxVertexEval.cc.
View newest version in sPHENIX GitHub at line 341 of file SvtxVertexEval.cc
References _cache_get_ntracks_contribution, _do_cache, _errors, _strict, _trackeval, _trackmap, SvtxVertex::begin_tracks(), SvtxVertex::end_tracks(), SvtxTrackMap::get(), get_truth_eval(), SvtxTruthEval::get_vertex(), has_node_pointers(), SvtxTrackEval::max_truth_particle_by_nclusters(), and particle.
Referenced by best_vertex_from(), SvtxEvaluator::fillOutputNtuples(), and max_truth_point_by_ntracks().
|
inline |
Definition at line 48 of file SvtxVertexEval.h.
View newest version in sPHENIX GitHub at line 48 of file SvtxVertexEval.h
References _trackeval.
Referenced by SvtxEvalStack::get_track_eval().
|
inline |
Definition at line 51 of file SvtxVertexEval.h.
View newest version in sPHENIX GitHub at line 51 of file SvtxVertexEval.h
References _trackeval, and SvtxTrackEval::get_truth_eval().
Referenced by all_truth_points(), all_vertexes_from(), get_ntracks_contribution(), and SvtxEvalStack::get_truth_eval().
|
private |
Definition at line 428 of file SvtxVertexEval.cc.
View newest version in sPHENIX GitHub at line 428 of file SvtxVertexEval.cc
References _strict, _trackmap, _truthinfo, _vertexmap, and PHWHERE.
Referenced by all_truth_particles(), all_truth_points(), all_vertexes_from(), best_vertex_from(), get_ntracks_contribution(), and max_truth_point_by_ntracks().
PHG4VtxPoint * SvtxVertexEval::max_truth_point_by_ntracks | ( | SvtxVertex * | vertex | ) |
Definition at line 185 of file SvtxVertexEval.cc.
View newest version in sPHENIX GitHub at line 185 of file SvtxVertexEval.cc
References _cache_max_truth_point_by_ntracks, _do_cache, _errors, _strict, all_truth_points(), get_ntracks_contribution(), and has_node_pointers().
Referenced by SvtxEvaluator::fillOutputNtuples(), KFParticle_truthAndDetTools::fillTruthBranch(), and QAG4SimulationVertex::process_event().
void SvtxVertexEval::next_event | ( | PHCompositeNode * | topNode | ) |
Definition at line 48 of file SvtxVertexEval.cc.
View newest version in sPHENIX GitHub at line 48 of file SvtxVertexEval.cc
References _cache_all_truth_particles, _cache_all_truth_points, _cache_all_vertexes_from_point, _cache_best_vertex_from_point, _cache_get_ntracks_contribution, _cache_max_truth_point_by_ntracks, _trackeval, get_node_pointers(), and SvtxTrackEval::next_event().
Referenced by SvtxEvalStack::next_event().
|
inline |
Definition at line 36 of file SvtxVertexEval.h.
View newest version in sPHENIX GitHub at line 36 of file SvtxVertexEval.h
References _strict, _trackeval, and SvtxTrackEval::set_strict().
Referenced by SvtxEvalStack::set_strict().
void SvtxVertexEval::set_track_nodename | ( | const std::string & | name | ) |
Definition at line 457 of file SvtxVertexEval.cc.
View newest version in sPHENIX GitHub at line 457 of file SvtxVertexEval.cc
References _trackeval, m_TrackNodeName, name, and SvtxTrackEval::set_track_nodename().
Referenced by SvtxEvalStack::set_track_nodename(), and SvtxVertexEval().
|
inline |
Definition at line 70 of file SvtxVertexEval.h.
View newest version in sPHENIX GitHub at line 70 of file SvtxVertexEval.h
References _use_genfit_vertex.
Referenced by SvtxEvalStack::set_use_genfit_vertex().
|
inline |
Definition at line 69 of file SvtxVertexEval.h.
View newest version in sPHENIX GitHub at line 69 of file SvtxVertexEval.h
References _use_initial_vertex.
Referenced by SvtxEvalStack::set_use_initial_vertex().
|
inline |
Definition at line 41 of file SvtxVertexEval.h.
View newest version in sPHENIX GitHub at line 41 of file SvtxVertexEval.h
References _trackeval, _verbosity, and SvtxTrackEval::set_verbosity().
Referenced by SvtxEvalStack::set_verbosity().
|
private |
Definition at line 90 of file SvtxVertexEval.h.
View newest version in sPHENIX GitHub at line 90 of file SvtxVertexEval.h
Referenced by all_truth_particles(), and next_event().
|
private |
Definition at line 91 of file SvtxVertexEval.h.
View newest version in sPHENIX GitHub at line 91 of file SvtxVertexEval.h
Referenced by all_truth_points(), and next_event().
|
private |
Definition at line 93 of file SvtxVertexEval.h.
View newest version in sPHENIX GitHub at line 93 of file SvtxVertexEval.h
Referenced by all_vertexes_from(), and next_event().
|
private |
Definition at line 94 of file SvtxVertexEval.h.
View newest version in sPHENIX GitHub at line 94 of file SvtxVertexEval.h
Referenced by best_vertex_from(), and next_event().
|
private |
Definition at line 95 of file SvtxVertexEval.h.
View newest version in sPHENIX GitHub at line 95 of file SvtxVertexEval.h
Referenced by get_ntracks_contribution(), and next_event().
|
private |
Definition at line 92 of file SvtxVertexEval.h.
View newest version in sPHENIX GitHub at line 92 of file SvtxVertexEval.h
Referenced by max_truth_point_by_ntracks(), and next_event().
|
private |
Definition at line 89 of file SvtxVertexEval.h.
View newest version in sPHENIX GitHub at line 89 of file SvtxVertexEval.h
Referenced by all_truth_particles(), all_truth_points(), all_vertexes_from(), best_vertex_from(), do_caching(), get_ntracks_contribution(), and max_truth_point_by_ntracks().
|
private |
Definition at line 87 of file SvtxVertexEval.h.
View newest version in sPHENIX GitHub at line 87 of file SvtxVertexEval.h
Referenced by all_truth_particles(), all_truth_points(), all_vertexes_from(), best_vertex_from(), get_errors(), get_ntracks_contribution(), max_truth_point_by_ntracks(), and ~SvtxVertexEval().
|
private |
Definition at line 83 of file SvtxVertexEval.h.
View newest version in sPHENIX GitHub at line 83 of file SvtxVertexEval.h
Referenced by all_truth_particles(), all_truth_points(), all_vertexes_from(), best_vertex_from(), get_ntracks_contribution(), has_node_pointers(), max_truth_point_by_ntracks(), and set_strict().
|
private |
Definition at line 78 of file SvtxVertexEval.h.
View newest version in sPHENIX GitHub at line 78 of file SvtxVertexEval.h
Referenced by all_truth_particles(), do_caching(), get_cluster_eval(), get_errors(), get_hit_eval(), get_ntracks_contribution(), get_track_eval(), get_truth_eval(), next_event(), set_strict(), set_track_nodename(), and set_verbosity().
|
private |
Definition at line 80 of file SvtxVertexEval.h.
View newest version in sPHENIX GitHub at line 80 of file SvtxVertexEval.h
Referenced by all_truth_particles(), get_node_pointers(), get_ntracks_contribution(), and has_node_pointers().
|
private |
Definition at line 81 of file SvtxVertexEval.h.
View newest version in sPHENIX GitHub at line 81 of file SvtxVertexEval.h
Referenced by get_node_pointers(), and has_node_pointers().
|
private |
Definition at line 85 of file SvtxVertexEval.h.
View newest version in sPHENIX GitHub at line 85 of file SvtxVertexEval.h
Referenced by get_node_pointers(), and set_use_genfit_vertex().
|
private |
Definition at line 84 of file SvtxVertexEval.h.
View newest version in sPHENIX GitHub at line 84 of file SvtxVertexEval.h
Referenced by get_node_pointers(), and set_use_initial_vertex().
|
private |
Definition at line 86 of file SvtxVertexEval.h.
View newest version in sPHENIX GitHub at line 86 of file SvtxVertexEval.h
Referenced by set_verbosity(), and ~SvtxVertexEval().
|
private |
Definition at line 79 of file SvtxVertexEval.h.
View newest version in sPHENIX GitHub at line 79 of file SvtxVertexEval.h
Referenced by all_vertexes_from(), get_node_pointers(), and has_node_pointers().
|
private |
Definition at line 96 of file SvtxVertexEval.h.
View newest version in sPHENIX GitHub at line 96 of file SvtxVertexEval.h
Referenced by get_node_pointers(), and set_track_nodename().