![]() |
ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <coresoftware/blob/master/simulation/g4simulation/g4eval/SvtxTruthEval.h>
Collaboration diagram for SvtxTruthEval:Private Member Functions | |
| void | get_node_pointers (PHCompositeNode *topNode) |
| bool | has_node_pointers () |
| void | LayerClusterG4Hits (std::set< PHG4Hit * > truth_hits, std::vector< PHG4Hit * > &contributing_hits, std::vector< double > &contributing_hits_energy, std::vector< std::vector< double >> &contributing_hits_entry, std::vector< std::vector< double >> &contributing_hits_exit, float layer, float &x, float &y, float &z, float &t, float &e) |
| float | line_circle_intersection (float x[], float y[], float z[], float radius) |
| void | G4ClusterSize (unsigned int layer, std::vector< std::vector< double >> contributing_hits_entry, std::vector< std::vector< double >> contributing_hits_exit, float &g4phisize, float &g4zsize) |
| unsigned int | getAdcValue (double gedep) |
Definition at line 25 of file SvtxTruthEval.h.
View newest version in sPHENIX GitHub at line 25 of file SvtxTruthEval.h
| SvtxTruthEval::SvtxTruthEval | ( | PHCompositeNode * | topNode | ) |
Definition at line 44 of file SvtxTruthEval.cc.
View newest version in sPHENIX GitHub at line 44 of file SvtxTruthEval.cc
References get_node_pointers(), and iclus.
Here is the call graph for this function:
|
virtual |
Definition at line 62 of file SvtxTruthEval.cc.
View newest version in sPHENIX GitHub at line 62 of file SvtxTruthEval.cc
References _errors, and _verbosity.
| std::map< unsigned int, std::shared_ptr< TrkrCluster > > SvtxTruthEval::all_truth_clusters | ( | PHG4Particle * | particle | ) |
Definition at line 267 of file SvtxTruthEval.cc.
View newest version in sPHENIX GitHub at line 267 of file SvtxTruthEval.cc
References _cache_all_truth_clusters_g4particle, _do_cache, _errors, _nlayers_intt, _nlayers_maps, _nlayers_mms, _nlayers_tpc, _strict, _truth_cluster_truth_hit_map, _verbosity, all_truth_hits(), G4ClusterSize(), InttDefs::genClusKey(), MvtxDefs::genClusKey(), TpcDefs::genClusKey(), MicromegasDefs::genClusterKey(), MicromegasDefs::genHitSetKey(), PHG4Particle::get_track_id(), getAdcValue(), has_node_pointers(), iclus, G4TTL::layer, LayerClusterG4Hits(), PHWHERE, and PHG4InttDefs::SEGMENTATION_PHI.
Referenced by SvtxClusterEval::all_truth_clusters(), QAG4SimulationTpc::evaluate_clusters(), SvtxEvaluator::fillOutputNtuples(), SvtxClusterEval::max_truth_cluster_by_energy(), and SvtxClusterEval::max_truth_particle_by_cluster_energy().
Here is the call graph for this function:
Here is the caller graph for this function:| std::set< PHG4Hit * > SvtxTruthEval::all_truth_hits | ( | ) |
Definition at line 88 of file SvtxTruthEval.cc.
View newest version in sPHENIX GitHub at line 88 of file SvtxTruthEval.cc
References _cache_all_truth_hits, _do_cache, _errors, _g4hits_maps, _g4hits_mms, _g4hits_svtx, _g4hits_tracker, PHG4HitContainer::getHits(), and has_node_pointers().
Referenced by all_truth_clusters(), JetTruthEval::all_truth_hits(), SvtxEvaluator::fillOutputNtuples(), get_innermost_truth_hit(), get_outermost_truth_hit(), SvtxEvaluator::printInputInfo(), and SvtxEvaluator::printOutputInfo().
Here is the call graph for this function:
Here is the caller graph for this function:| std::set< PHG4Hit * > SvtxTruthEval::all_truth_hits | ( | PHG4Particle * | particle | ) |
Definition at line 162 of file SvtxTruthEval.cc.
View newest version in sPHENIX GitHub at line 162 of file SvtxTruthEval.cc
References _cache_all_truth_hits_g4particle, _do_cache, _errors, _strict, FillTruthHitsFromParticleCache(), and has_node_pointers().
Here is the call graph for this function:| bool SvtxTruthEval::are_same_particle | ( | PHG4Particle * | p1, |
| PHG4Particle * | p2 | ||
| ) |
Definition at line 1088 of file SvtxTruthEval.cc.
View newest version in sPHENIX GitHub at line 1088 of file SvtxTruthEval.cc
References _basetrutheval, and BaseTruthEval::are_same_particle().
Referenced by SvtxTrackEval::all_tracks_from(), SvtxTrackEval::calc_cluster_contribution(), SvtxTrackEval::get_layer_range_contribution(), and SvtxTrackEval::get_nclusters_contribution_by_layer().
Here is the call graph for this function:
Here is the caller graph for this function:| bool SvtxTruthEval::are_same_vertex | ( | PHG4VtxPoint * | vtx1, |
| PHG4VtxPoint * | vtx2 | ||
| ) |
Definition at line 1093 of file SvtxTruthEval.cc.
View newest version in sPHENIX GitHub at line 1093 of file SvtxTruthEval.cc
References _basetrutheval, and BaseTruthEval::are_same_vertex().
Referenced by SvtxVertexEval::all_vertexes_from().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 32 of file SvtxTruthEval.h.
View newest version in sPHENIX GitHub at line 32 of file SvtxTruthEval.h
References _do_cache.
Referenced by SvtxHitEval::do_caching().
Here is the caller graph for this function:| void SvtxTruthEval::FillTruthHitsFromParticleCache | ( | ) |
Definition at line 199 of file SvtxTruthEval.cc.
View newest version in sPHENIX GitHub at line 199 of file SvtxTruthEval.cc
References _cache_all_truth_hits_g4particle, _g4hits_maps, _g4hits_mms, _g4hits_svtx, _g4hits_tracker, PHG4Particle::get_track_id(), PHG4Hit::get_trkid(), and PHG4HitContainer::getHits().
Referenced by all_truth_hits().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 694 of file SvtxTruthEval.cc.
View newest version in sPHENIX GitHub at line 694 of file SvtxTruthEval.cc
References _intt_geom_container, _mvtx_geom_container, _tpc_geom_container, kdfinder::abs(), e, CylinderGeomIntt::find_indices_from_world_location(), CylinderGeomIntt::find_strip_index_values(), CylinderGeom_Mvtx::get_local_from_world_coords(), CylinderGeomIntt::get_local_from_world_coords(), PHG4CylinderCellGeom::get_phibin(), PHG4CylinderCellGeom::get_phistep(), CylinderGeom_Mvtx::get_pixel_from_local_coords(), CylinderGeom_Mvtx::get_pixel_x(), CylinderGeom_Mvtx::get_pixel_z(), PHG4CylinderCellGeom::get_radius(), CylinderGeom_Mvtx::get_sensor_indices_from_world_coords(), CylinderGeomIntt::get_strip_y_spacing(), CylinderGeomIntt::get_strip_z_spacing(), PHG4CylinderCellGeom::get_zbin(), PHG4CylinderCellGeom::get_zstep(), PHG4CylinderCellGeomContainer::GetLayerCellGeom(), PHG4CylinderGeomContainer::GetLayerGeom(), G4CEMCALBEDO::inner_radius, G4DRCALO::outer_radius, radius, and boost::swap().
Referenced by all_truth_clusters().
Here is the call graph for this function:
Here is the caller graph for this function:| int SvtxTruthEval::get_embed | ( | PHG4Particle * | particle | ) |
Definition at line 1014 of file SvtxTruthEval.cc.
View newest version in sPHENIX GitHub at line 1014 of file SvtxTruthEval.cc
References _basetrutheval, and BaseTruthEval::get_embed().
Referenced by QAG4SimulationTpc::evaluate_clusters(), SvtxEvaluator::fillOutputNtuples(), QAG4SimulationUpsilon::process_event(), and QAG4SimulationTracking::process_event().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 63 of file SvtxTruthEval.h.
View newest version in sPHENIX GitHub at line 63 of file SvtxTruthEval.h
References _basetrutheval, _errors, and BaseTruthEval::get_errors().
Referenced by SvtxHitEval::get_errors().
Here is the call graph for this function:
Here is the caller graph for this function:| PHG4Hit * SvtxTruthEval::get_innermost_truth_hit | ( | PHG4Particle * | particle | ) |
Definition at line 918 of file SvtxTruthEval.cc.
View newest version in sPHENIX GitHub at line 918 of file SvtxTruthEval.cc
References _errors, _strict, all_truth_hits(), FLT_MAX, PHG4Hit::get_x(), PHG4Hit::get_y(), has_node_pointers(), r, x, and y.
Here is the call graph for this function:
|
private |
Definition at line 1098 of file SvtxTruthEval.cc.
View newest version in sPHENIX GitHub at line 1098 of file SvtxTruthEval.cc
References _g4hits_maps, _g4hits_mms, _g4hits_svtx, _g4hits_tracker, _intt_geom_container, _mms_geom_container, _mvtx_geom_container, and _tpc_geom_container.
Referenced by next_event(), and SvtxTruthEval().
Here is the caller graph for this function:| PHG4Hit * SvtxTruthEval::get_outermost_truth_hit | ( | PHG4Particle * | particle | ) |
Definition at line 958 of file SvtxTruthEval.cc.
View newest version in sPHENIX GitHub at line 958 of file SvtxTruthEval.cc
References _cache_get_outermost_truth_hit, _do_cache, _errors, _strict, all_truth_hits(), FLT_MAX, PHG4Hit::get_x(), PHG4Hit::get_y(), has_node_pointers(), r, x, and y.
Referenced by SvtxEvaluator::fillOutputNtuples().
Here is the call graph for this function:
Here is the caller graph for this function:| PHG4Particle * SvtxTruthEval::get_particle | ( | PHG4Hit * | g4hit | ) |
Definition at line 1009 of file SvtxTruthEval.cc.
View newest version in sPHENIX GitHub at line 1009 of file SvtxTruthEval.cc
References _basetrutheval, and BaseTruthEval::get_particle().
Referenced by SvtxHitEval::all_truth_particles(), SvtxClusterEval::all_truth_particles(), SvtxEvaluator::fillOutputNtuples(), and SvtxTrackEval::max_truth_particle_by_nclusters().
Here is the call graph for this function:
Here is the caller graph for this function:| PHG4Particle * SvtxTruthEval::get_particle | ( | const int | trackid | ) |
Definition at line 1078 of file SvtxTruthEval.cc.
View newest version in sPHENIX GitHub at line 1078 of file SvtxTruthEval.cc
References _basetrutheval, and BaseTruthEval::get_particle().
Here is the call graph for this function:| PHG4Particle * SvtxTruthEval::get_primary_particle | ( | PHG4Hit * | g4hit | ) |
Definition at line 1029 of file SvtxTruthEval.cc.
View newest version in sPHENIX GitHub at line 1029 of file SvtxTruthEval.cc
References _basetrutheval, _cache_get_primary_particle_g4hit, _do_cache, _errors, _strict, BaseTruthEval::get_primary_particle(), and has_node_pointers().
Here is the call graph for this function:| PHG4Particle * SvtxTruthEval::get_primary_particle | ( | PHG4Particle * | particle | ) |
Definition at line 1073 of file SvtxTruthEval.cc.
View newest version in sPHENIX GitHub at line 1073 of file SvtxTruthEval.cc
References _basetrutheval, and BaseTruthEval::get_primary_particle().
Here is the call graph for this function:| std::set< PHG4Hit * > SvtxTruthEval::get_truth_hits_from_truth_cluster | ( | TrkrDefs::cluskey | ckey | ) |
Definition at line 902 of file SvtxTruthEval.cc.
View newest version in sPHENIX GitHub at line 902 of file SvtxTruthEval.cc
References _truth_cluster_truth_hit_map.
Referenced by SvtxClusterEval::reco_cluster_from_truth_cluster().
Here is the caller graph for this function:| PHG4VtxPoint * SvtxTruthEval::get_vertex | ( | PHG4Particle * | particle | ) |
Definition at line 1019 of file SvtxTruthEval.cc.
View newest version in sPHENIX GitHub at line 1019 of file SvtxTruthEval.cc
References _basetrutheval, and BaseTruthEval::get_vertex().
Referenced by SvtxVertexEval::all_truth_points(), ActsEvaluator::fillG4Particle(), SvtxEvaluator::fillOutputNtuples(), KFParticle_truthAndDetTools::fillTruthBranch(), and SvtxVertexEval::get_ntracks_contribution().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 1167 of file SvtxTruthEval.cc.
View newest version in sPHENIX GitHub at line 1167 of file SvtxTruthEval.cc
Referenced by all_truth_clusters().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 1115 of file SvtxTruthEval.cc.
View newest version in sPHENIX GitHub at line 1115 of file SvtxTruthEval.cc
References _g4hits_maps, _g4hits_mms, _g4hits_svtx, _g4hits_tracker, and _strict.
Referenced by all_truth_clusters(), all_truth_hits(), get_innermost_truth_hit(), get_outermost_truth_hit(), and get_primary_particle().
Here is the caller graph for this function:| bool SvtxTruthEval::is_g4hit_from_particle | ( | PHG4Hit * | g4hit, |
| PHG4Particle * | particle | ||
| ) |
Definition at line 1083 of file SvtxTruthEval.cc.
View newest version in sPHENIX GitHub at line 1083 of file SvtxTruthEval.cc
References _basetrutheval, and BaseTruthEval::is_g4hit_from_particle().
Referenced by SvtxHitEval::get_energy_contribution(), and SvtxClusterEval::get_energy_contribution().
Here is the call graph for this function:
Here is the caller graph for this function:| bool SvtxTruthEval::is_primary | ( | PHG4Particle * | particle | ) |
Definition at line 1024 of file SvtxTruthEval.cc.
View newest version in sPHENIX GitHub at line 1024 of file SvtxTruthEval.cc
References _basetrutheval, and BaseTruthEval::is_primary().
Referenced by QAG4SimulationTpc::evaluate_clusters(), and SvtxEvaluator::fillOutputNtuples().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 411 of file SvtxTruthEval.cc.
View newest version in sPHENIX GitHub at line 411 of file SvtxTruthEval.cc
References _nlayers_intt, _nlayers_maps, _nlayers_tpc, _tpc_geom_container, _verbosity, PHG4Hit::get_avg_t(), PHG4Hit::get_avg_x(), PHG4Hit::get_avg_y(), PHG4Hit::get_avg_z(), PHG4Hit::get_edep(), PHG4Hit::get_layer(), PHG4CylinderCellGeom::get_radius(), PHG4CylinderCellGeom::get_thickness(), PHG4Hit::get_x(), PHG4Hit::get_y(), PHG4Hit::get_z(), PHG4CylinderCellGeomContainer::GetLayerCellGeom(), int(), line_circle_intersection(), and boost::swap().
Referenced by all_truth_clusters().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 1130 of file SvtxTruthEval.cc.
View newest version in sPHENIX GitHub at line 1130 of file SvtxTruthEval.cc
References A(), B(), C(), e, PHWHERE, radius, and t.
Referenced by LayerClusterG4Hits().
Here is the call graph for this function:
Here is the caller graph for this function:| void SvtxTruthEval::next_event | ( | PHCompositeNode * | topNode | ) |
Definition at line 73 of file SvtxTruthEval.cc.
View newest version in sPHENIX GitHub at line 73 of file SvtxTruthEval.cc
References _basetrutheval, _cache_all_truth_clusters_g4particle, _cache_all_truth_hits, _cache_all_truth_hits_g4particle, _cache_get_innermost_truth_hit, _cache_get_outermost_truth_hit, _cache_get_primary_particle_g4hit, get_node_pointers(), and BaseTruthEval::next_event().
Referenced by SvtxHitEval::next_event().
Here is the call graph for this function:
Here is the caller graph for this function:
|
inline |
Definition at line 33 of file SvtxTruthEval.h.
View newest version in sPHENIX GitHub at line 33 of file SvtxTruthEval.h
References _basetrutheval, _strict, and BaseTruthEval::set_strict().
Referenced by SvtxEvaluator::printInputInfo(), and SvtxHitEval::set_strict().
Here is the call graph for this function:
Here is the caller graph for this function:Definition at line 38 of file SvtxTruthEval.h.
View newest version in sPHENIX GitHub at line 38 of file SvtxTruthEval.h
References _basetrutheval, _verbosity, and BaseTruthEval::set_verbosity().
Referenced by SvtxHitEval::set_verbosity().
Here is the call graph for this function:
Here is the caller graph for this function:
|
private |
Definition at line 79 of file SvtxTruthEval.h.
View newest version in sPHENIX GitHub at line 79 of file SvtxTruthEval.h
Referenced by are_same_particle(), are_same_vertex(), get_embed(), get_errors(), get_particle(), get_primary_particle(), get_vertex(), is_g4hit_from_particle(), is_primary(), next_event(), set_strict(), and set_verbosity().
|
private |
Definition at line 107 of file SvtxTruthEval.h.
View newest version in sPHENIX GitHub at line 107 of file SvtxTruthEval.h
Referenced by all_truth_clusters(), and next_event().
|
private |
Definition at line 105 of file SvtxTruthEval.h.
View newest version in sPHENIX GitHub at line 105 of file SvtxTruthEval.h
Referenced by all_truth_hits(), and next_event().
|
private |
Definition at line 106 of file SvtxTruthEval.h.
View newest version in sPHENIX GitHub at line 106 of file SvtxTruthEval.h
Referenced by all_truth_hits(), FillTruthHitsFromParticleCache(), and next_event().
|
private |
Definition at line 108 of file SvtxTruthEval.h.
View newest version in sPHENIX GitHub at line 108 of file SvtxTruthEval.h
Referenced by next_event().
|
private |
Definition at line 109 of file SvtxTruthEval.h.
View newest version in sPHENIX GitHub at line 109 of file SvtxTruthEval.h
Referenced by get_outermost_truth_hit(), and next_event().
|
private |
Definition at line 110 of file SvtxTruthEval.h.
View newest version in sPHENIX GitHub at line 110 of file SvtxTruthEval.h
Referenced by get_primary_particle(), and next_event().
|
private |
Definition at line 104 of file SvtxTruthEval.h.
View newest version in sPHENIX GitHub at line 104 of file SvtxTruthEval.h
Referenced by all_truth_clusters(), all_truth_hits(), do_caching(), get_outermost_truth_hit(), and get_primary_particle().
|
private |
Definition at line 94 of file SvtxTruthEval.h.
View newest version in sPHENIX GitHub at line 94 of file SvtxTruthEval.h
Referenced by all_truth_clusters(), all_truth_hits(), get_errors(), get_innermost_truth_hit(), get_outermost_truth_hit(), get_primary_particle(), and ~SvtxTruthEval().
|
private |
Definition at line 85 of file SvtxTruthEval.h.
View newest version in sPHENIX GitHub at line 85 of file SvtxTruthEval.h
Referenced by all_truth_hits(), FillTruthHitsFromParticleCache(), get_node_pointers(), and has_node_pointers().
|
private |
Definition at line 83 of file SvtxTruthEval.h.
View newest version in sPHENIX GitHub at line 83 of file SvtxTruthEval.h
Referenced by all_truth_hits(), FillTruthHitsFromParticleCache(), get_node_pointers(), and has_node_pointers().
|
private |
Definition at line 82 of file SvtxTruthEval.h.
View newest version in sPHENIX GitHub at line 82 of file SvtxTruthEval.h
Referenced by all_truth_hits(), FillTruthHitsFromParticleCache(), get_node_pointers(), and has_node_pointers().
|
private |
Definition at line 84 of file SvtxTruthEval.h.
View newest version in sPHENIX GitHub at line 84 of file SvtxTruthEval.h
Referenced by all_truth_hits(), FillTruthHitsFromParticleCache(), get_node_pointers(), and has_node_pointers().
|
private |
Definition at line 88 of file SvtxTruthEval.h.
View newest version in sPHENIX GitHub at line 88 of file SvtxTruthEval.h
Referenced by G4ClusterSize(), and get_node_pointers().
|
private |
Definition at line 90 of file SvtxTruthEval.h.
View newest version in sPHENIX GitHub at line 90 of file SvtxTruthEval.h
Referenced by get_node_pointers().
|
private |
Definition at line 89 of file SvtxTruthEval.h.
View newest version in sPHENIX GitHub at line 89 of file SvtxTruthEval.h
Referenced by G4ClusterSize(), and get_node_pointers().
|
private |
Definition at line 98 of file SvtxTruthEval.h.
View newest version in sPHENIX GitHub at line 98 of file SvtxTruthEval.h
Referenced by all_truth_clusters(), and LayerClusterG4Hits().
|
private |
Definition at line 97 of file SvtxTruthEval.h.
View newest version in sPHENIX GitHub at line 97 of file SvtxTruthEval.h
Referenced by all_truth_clusters(), and LayerClusterG4Hits().
|
private |
Definition at line 100 of file SvtxTruthEval.h.
View newest version in sPHENIX GitHub at line 100 of file SvtxTruthEval.h
Referenced by all_truth_clusters().
|
private |
Definition at line 99 of file SvtxTruthEval.h.
View newest version in sPHENIX GitHub at line 99 of file SvtxTruthEval.h
Referenced by all_truth_clusters(), and LayerClusterG4Hits().
|
private |
Definition at line 92 of file SvtxTruthEval.h.
View newest version in sPHENIX GitHub at line 92 of file SvtxTruthEval.h
Referenced by all_truth_clusters(), all_truth_hits(), get_innermost_truth_hit(), get_outermost_truth_hit(), get_primary_particle(), has_node_pointers(), and set_strict().
|
private |
Definition at line 87 of file SvtxTruthEval.h.
View newest version in sPHENIX GitHub at line 87 of file SvtxTruthEval.h
Referenced by G4ClusterSize(), get_node_pointers(), and LayerClusterG4Hits().
|
private |
Definition at line 102 of file SvtxTruthEval.h.
View newest version in sPHENIX GitHub at line 102 of file SvtxTruthEval.h
Referenced by all_truth_clusters(), and get_truth_hits_from_truth_cluster().
|
private |
Definition at line 93 of file SvtxTruthEval.h.
View newest version in sPHENIX GitHub at line 93 of file SvtxTruthEval.h
Referenced by all_truth_clusters(), LayerClusterG4Hits(), set_verbosity(), and ~SvtxTruthEval().
|
private |
Definition at line 95 of file SvtxTruthEval.h.
View newest version in sPHENIX GitHub at line 95 of file SvtxTruthEval.h
Referenced by all_truth_clusters(), and SvtxTruthEval().
|
private |
Definition at line 81 of file SvtxTruthEval.h.
View newest version in sPHENIX GitHub at line 81 of file SvtxTruthEval.h