ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
SvtxClusterEval Class Reference

#include <coresoftware/blob/master/simulation/g4simulation/g4eval/SvtxClusterEval.h>

+ Collaboration diagram for SvtxClusterEval:

Public Member Functions

 SvtxClusterEval (PHCompositeNode *topNode)
 
virtual ~SvtxClusterEval ()
 
void next_event (PHCompositeNode *topNode)
 
void do_caching (bool do_cache)
 
void set_strict (bool strict)
 
void set_verbosity (int verbosity)
 
SvtxHitEvalget_hit_eval ()
 
SvtxTruthEvalget_truth_eval ()
 
std::set< PHG4Hit * > all_truth_hits (TrkrDefs::cluskey cluster)
 
PHG4Hitmax_truth_hit_by_energy (TrkrDefs::cluskey)
 
std::set< std::shared_ptr
< TrkrCluster > > 
all_truth_clusters (TrkrDefs::cluskey cluster_key)
 
std::shared_ptr< TrkrClustermax_truth_cluster_by_energy (TrkrDefs::cluskey cluster_key)
 
PHG4Hitall_truth_hits_by_nhit (TrkrDefs::cluskey cluster)
 
std::pair< int, intgtrackid_and_layer_by_nhit (TrkrDefs::cluskey cluster)
 
std::set< PHG4Particle * > all_truth_particles (TrkrDefs::cluskey)
 
PHG4Particlemax_truth_particle_by_energy (TrkrDefs::cluskey)
 
PHG4Particlemax_truth_particle_by_cluster_energy (TrkrDefs::cluskey)
 
std::set< TrkrDefs::cluskeyall_clusters_from (PHG4Particle *truthparticle)
 
std::set< TrkrDefs::cluskeyall_clusters_from (PHG4Hit *truthhit)
 
TrkrDefs::cluskey best_cluster_from (PHG4Hit *truthhit)
 
TrkrDefs::cluskey best_cluster_by_nhit (int gid, int layer)
 
void FillRecoClusterFromG4HitCache ()
 
float get_energy_contribution (TrkrDefs::cluskey cluster_key, PHG4Particle *truthparticle)
 
float get_energy_contribution (TrkrDefs::cluskey cluster_key, PHG4Hit *truthhit)
 
TrkrClusterreco_cluster_from_truth_cluster (std::shared_ptr< TrkrCluster > gclus)
 
unsigned int get_errors ()
 

Private Member Functions

void get_node_pointers (PHCompositeNode *topNode)
 
void fill_cluster_layer_map ()
 
bool has_node_pointers ()
 
float fast_approx_atan2 (float y, float x)
 
float fast_approx_atan2 (float y2x)
 

Private Attributes

SvtxHitEval _hiteval
 
TrkrClusterContainer_clustermap
 
TrkrClusterHitAssoc_cluster_hit_map
 
TrkrHitSetContainer_hitsets
 
TrkrHitTruthAssoc_hit_truth_map
 
PHG4TruthInfoContainer_truthinfo
 
PHG4HitContainer_g4hits_tpc
 
PHG4HitContainer_g4hits_intt
 
PHG4HitContainer_g4hits_mvtx
 
PHG4HitContainer_g4hits_mms
 
ActsSurfaceMaps_surfmaps
 
ActsTrackingGeometry_tgeometry
 
bool _strict
 
int _verbosity
 
unsigned int _errors
 
bool _do_cache
 
std::map< TrkrDefs::cluskey,
std::set< PHG4Hit * > > 
_cache_all_truth_hits
 
std::map< TrkrDefs::cluskey,
std::set< std::shared_ptr
< TrkrCluster > > > 
_cache_all_truth_clusters
 
std::map< TrkrDefs::cluskey,
PHG4Hit * > 
_cache_max_truth_hit_by_energy
 
std::map< TrkrDefs::cluskey,
std::shared_ptr< TrkrCluster > > 
_cache_max_truth_cluster_by_energy
 
std::map< TrkrDefs::cluskey,
std::set< PHG4Particle * > > 
_cache_all_truth_particles
 
std::map< TrkrDefs::cluskey,
PHG4Particle * > 
_cache_max_truth_particle_by_energy
 
std::map< TrkrDefs::cluskey,
PHG4Particle * > 
_cache_max_truth_particle_by_cluster_energy
 
std::map< PHG4Particle
*, std::set< TrkrDefs::cluskey > > 
_cache_all_clusters_from_particle
 
std::map< PHG4Hit *, std::set
< TrkrDefs::cluskey > > 
_cache_all_clusters_from_g4hit
 
std::map< PHG4Hit
*, TrkrDefs::cluskey
_cache_best_cluster_from_g4hit
 
std::map< std::pair< int, int >
, TrkrDefs::cluskey
_cache_best_cluster_from_gtrackid_layer
 
std::map< std::pair
< TrkrDefs::cluskey,
PHG4Particle * >, float > 
_cache_get_energy_contribution_g4particle
 
std::map< std::pair
< TrkrDefs::cluskey, PHG4Hit * >
, float > 
_cache_get_energy_contribution_g4hit
 
std::map< std::shared_ptr
< TrkrCluster >, TrkrCluster * > 
_cache_reco_cluster_from_truth_cluster
 
const float sig_tpc_rphi_inner = 220e-04
 
const float sig_tpc_rphi_mid = 155e-04
 
const float sig_tpc_rphi_outer = 165e-04
 
const float sig_tpc_z = 750e-04
 
const float sig_intt_rphi = 17e-04
 
const float range_intt_z = 0.9
 
const float sig_mvtx_rphi = 4.0e-04
 
const float sig_mvtx_z = 4.7e-04
 
const float sig_mms_rphi_55 = 100e-04
 
const float sig_mms_z_56 = 200e-04
 
std::multimap< unsigned int,
innerMap
_clusters_per_layer
 

Static Private Attributes

static constexpr float _clusters_searching_window = 0.1f
 cluster azimuthal searching window in _clusters_per_layer. Unit: rad
 

Detailed Description

Definition at line 32 of file SvtxClusterEval.h.

View newest version in sPHENIX GitHub at line 32 of file SvtxClusterEval.h

Constructor & Destructor Documentation

SvtxClusterEval::SvtxClusterEval ( PHCompositeNode topNode)

Definition at line 35 of file SvtxClusterEval.cc.

View newest version in sPHENIX GitHub at line 35 of file SvtxClusterEval.cc

References get_node_pointers().

+ Here is the call graph for this function:

SvtxClusterEval::~SvtxClusterEval ( )
virtual

Definition at line 61 of file SvtxClusterEval.cc.

View newest version in sPHENIX GitHub at line 61 of file SvtxClusterEval.cc

References _errors, and _verbosity.

Member Function Documentation

std::set< TrkrDefs::cluskey > SvtxClusterEval::all_clusters_from ( PHG4Particle truthparticle)

Definition at line 882 of file SvtxClusterEval.cc.

View newest version in sPHENIX GitHub at line 882 of file SvtxClusterEval.cc

References _cache_all_clusters_from_particle, _do_cache, _errors, _strict, FillRecoClusterFromG4HitCache(), and has_node_pointers().

Referenced by best_cluster_from(), SvtxEvaluator::fillOutputNtuples(), SvtxEvaluator::printOutputInfo(), QAG4SimulationVertex::process_event(), and reco_cluster_from_truth_cluster().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

std::set< TrkrDefs::cluskey > SvtxClusterEval::all_clusters_from ( PHG4Hit truthhit)
std::set< std::shared_ptr< TrkrCluster > > SvtxClusterEval::all_truth_clusters ( TrkrDefs::cluskey  cluster_key)

Definition at line 94 of file SvtxClusterEval.cc.

View newest version in sPHENIX GitHub at line 94 of file SvtxClusterEval.cc

References _cache_all_truth_clusters, _do_cache, SvtxTruthEval::all_truth_clusters(), all_truth_particles(), get_truth_eval(), TrkrDefs::getLayer(), and particle.

+ Here is the call graph for this function:

std::set< PHG4Hit * > SvtxClusterEval::all_truth_hits ( TrkrDefs::cluskey  cluster)

Definition at line 372 of file SvtxClusterEval.cc.

View newest version in sPHENIX GitHub at line 372 of file SvtxClusterEval.cc

References _cache_all_truth_hits, _cluster_hit_map, _do_cache, _errors, _g4hits_intt, _g4hits_mms, _g4hits_mvtx, _g4hits_tpc, _hit_truth_map, PHG4HitContainer::findHit(), TrkrHitTruthAssoc::getG4Hits(), TrkrClusterHitAssoc::getHits(), TrkrDefs::getHitSetKeyFromClusKey(), TrkrDefs::getTrkrId(), has_node_pointers(), TrkrDefs::inttId, TrkrDefs::micromegasId, TrkrDefs::mvtxId, and TrkrDefs::tpcId.

Referenced by all_clusters_from(), SvtxTrackEval::all_tracks_from(), SvtxTrackEval::all_truth_hits(), all_truth_particles(), get_energy_contribution(), and max_truth_hit_by_energy().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

std::set< PHG4Particle * > SvtxClusterEval::all_truth_particles ( TrkrDefs::cluskey  cluster_key)

Definition at line 740 of file SvtxClusterEval.cc.

View newest version in sPHENIX GitHub at line 740 of file SvtxClusterEval.cc

References _cache_all_truth_particles, _do_cache, _errors, _strict, all_truth_hits(), SvtxTruthEval::get_particle(), get_truth_eval(), has_node_pointers(), and particle.

Referenced by SvtxTrackEval::all_tracks_from(), all_truth_clusters(), SvtxTrackEval::all_truth_particles(), SvtxTrackEval::calc_cluster_contribution(), SvtxEvaluator::fillOutputNtuples(), FillRecoClusterFromG4HitCache(), SvtxTrackEval::get_layer_range_contribution(), SvtxTrackEval::get_nclusters_contribution_by_layer(), max_truth_particle_by_cluster_energy(), and max_truth_particle_by_energy().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

TrkrDefs::cluskey SvtxClusterEval::best_cluster_by_nhit ( int  gid,
int  layer 
)

Definition at line 1088 of file SvtxClusterEval.cc.

View newest version in sPHENIX GitHub at line 1088 of file SvtxClusterEval.cc

References _cache_best_cluster_from_gtrackid_layer, _clustermap, _errors, _hitsets, _verbosity, TrkrClusterContainer::getClusters(), TrkrHitSetContainer::getHitSets(), TrkrDefs::getLayer(), gtrackid_and_layer_by_nhit(), has_node_pointers(), and TrkrClusterContainer::size().

Referenced by PHTruthTrackSeeding::Process().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

TrkrDefs::cluskey SvtxClusterEval::best_cluster_from ( PHG4Hit truthhit)

Definition at line 1156 of file SvtxClusterEval.cc.

View newest version in sPHENIX GitHub at line 1156 of file SvtxClusterEval.cc

References _cache_best_cluster_from_g4hit, _do_cache, _errors, _strict, all_clusters_from(), energy, get_energy_contribution(), and has_node_pointers().

Referenced by SvtxEvaluator::fillOutputNtuples().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void SvtxClusterEval::do_caching ( bool  do_cache)
inline

Definition at line 39 of file SvtxClusterEval.h.

View newest version in sPHENIX GitHub at line 39 of file SvtxClusterEval.h

References _do_cache, _hiteval, and SvtxHitEval::do_caching().

Referenced by SvtxTrackEval::do_caching(), and PHTruthTrackSeeding::Setup().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

float SvtxClusterEval::fast_approx_atan2 ( float  y,
float  x 
)
private

Fast approximation of atan2() for cluster searching From https://www.dsprelated.com/showarticle/1052.php

Definition at line 1379 of file SvtxClusterEval.cc.

View newest version in sPHENIX GitHub at line 1379 of file SvtxClusterEval.cc

References f, M_PI, M_PI_2, x, y, and z.

float SvtxClusterEval::fast_approx_atan2 ( float  y2x)
private

Definition at line 1431 of file SvtxClusterEval.cc.

View newest version in sPHENIX GitHub at line 1431 of file SvtxClusterEval.cc

References n1, and z.

void SvtxClusterEval::fill_cluster_layer_map ( )
private

Definition at line 1333 of file SvtxClusterEval.cc.

View newest version in sPHENIX GitHub at line 1333 of file SvtxClusterEval.cc

References _clustermap, _clusters_per_layer, _clusters_searching_window, _hitsets, _surfmaps, _tgeometry, TrkrClusterContainer::getClusters(), ActsTransformations::getGlobalPosition(), TrkrHitSetContainer::getHitSets(), TrkrDefs::getLayer(), TrkrDefs::inttId, it, and M_PI.

Referenced by all_clusters_from().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void SvtxClusterEval::FillRecoClusterFromG4HitCache ( )

Definition at line 918 of file SvtxClusterEval.cc.

View newest version in sPHENIX GitHub at line 918 of file SvtxClusterEval.cc

References _cache_all_clusters_from_particle, _clustermap, _hitsets, _truthinfo, all_truth_particles(), TrkrClusterContainer::getClusters(), TrkrHitSetContainer::getHitSets(), and PHG4TruthInfoContainer::GetParticleRange().

Referenced by all_clusters_from().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

float SvtxClusterEval::get_energy_contribution ( TrkrDefs::cluskey  cluster_key,
PHG4Particle truthparticle 
)

Definition at line 1206 of file SvtxClusterEval.cc.

View newest version in sPHENIX GitHub at line 1206 of file SvtxClusterEval.cc

References _cache_get_energy_contribution_g4particle, _do_cache, _errors, _strict, all_truth_hits(), energy, PHG4Hit::get_edep(), get_truth_eval(), has_node_pointers(), hits(), and SvtxTruthEval::is_g4hit_from_particle().

Referenced by best_cluster_from(), SvtxEvaluator::fillOutputNtuples(), and max_truth_particle_by_energy().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

float SvtxClusterEval::get_energy_contribution ( TrkrDefs::cluskey  cluster_key,
PHG4Hit truthhit 
)

Definition at line 1256 of file SvtxClusterEval.cc.

View newest version in sPHENIX GitHub at line 1256 of file SvtxClusterEval.cc

References _cache_get_energy_contribution_g4hit, _do_cache, _errors, _strict, all_truth_hits(), energy, PHG4Hit::get_edep(), PHG4Hit::get_hit_id(), and has_node_pointers().

+ Here is the call graph for this function:

unsigned int SvtxClusterEval::get_errors ( )
inline

Definition at line 86 of file SvtxClusterEval.h.

View newest version in sPHENIX GitHub at line 86 of file SvtxClusterEval.h

References _errors, _hiteval, and SvtxHitEval::get_errors().

Referenced by SvtxTrackEval::get_errors().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

SvtxHitEval* SvtxClusterEval::get_hit_eval ( )
inline

Definition at line 56 of file SvtxClusterEval.h.

View newest version in sPHENIX GitHub at line 56 of file SvtxClusterEval.h

References _hiteval.

Referenced by SvtxTrackEval::get_hit_eval().

+ Here is the caller graph for this function:

void SvtxClusterEval::get_node_pointers ( PHCompositeNode topNode)
private

Need a catch for if the node corrected cluster node exists but hasn't been filled yet, in e.g. the case of truth track seeding

Definition at line 1301 of file SvtxClusterEval.cc.

View newest version in sPHENIX GitHub at line 1301 of file SvtxClusterEval.cc

References _cluster_hit_map, _clustermap, _g4hits_intt, _g4hits_mms, _g4hits_mvtx, _g4hits_tpc, _hit_truth_map, _hitsets, _surfmaps, _tgeometry, _truthinfo, and TrkrClusterContainer::size().

Referenced by next_event(), and SvtxClusterEval().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

SvtxTruthEval* SvtxClusterEval::get_truth_eval ( )
inline

Definition at line 57 of file SvtxClusterEval.h.

View newest version in sPHENIX GitHub at line 57 of file SvtxClusterEval.h

References _hiteval, and SvtxHitEval::get_truth_eval().

Referenced by all_truth_clusters(), all_truth_particles(), get_energy_contribution(), SvtxTrackEval::get_truth_eval(), max_truth_cluster_by_energy(), max_truth_particle_by_cluster_energy(), and reco_cluster_from_truth_cluster().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

bool SvtxClusterEval::has_node_pointers ( )
private

Definition at line 1364 of file SvtxClusterEval.cc.

View newest version in sPHENIX GitHub at line 1364 of file SvtxClusterEval.cc

References _clustermap, _strict, and _truthinfo.

Referenced by all_clusters_from(), all_truth_hits(), all_truth_hits_by_nhit(), all_truth_particles(), best_cluster_by_nhit(), best_cluster_from(), get_energy_contribution(), gtrackid_and_layer_by_nhit(), max_truth_hit_by_energy(), max_truth_particle_by_cluster_energy(), and max_truth_particle_by_energy().

+ Here is the caller graph for this function:

std::shared_ptr< TrkrCluster > SvtxClusterEval::max_truth_cluster_by_energy ( TrkrDefs::cluskey  cluster_key)

Definition at line 132 of file SvtxClusterEval.cc.

View newest version in sPHENIX GitHub at line 132 of file SvtxClusterEval.cc

References _cache_max_truth_cluster_by_energy, _clustermap, _do_cache, _surfmaps, _tgeometry, _verbosity, SvtxTruthEval::all_truth_clusters(), dz, TrkrClusterContainer::findCluster(), PHG4Particle::get_track_id(), get_truth_eval(), ActsTransformations::getGlobalPosition(), TrkrDefs::getLayer(), max_truth_particle_by_cluster_energy(), r, range_intt_z, sig_intt_rphi, sig_mms_rphi_55, sig_mms_z_56, sig_mvtx_rphi, sig_mvtx_z, sig_tpc_rphi_inner, sig_tpc_rphi_mid, sig_tpc_rphi_outer, and sig_tpc_z.

Referenced by SvtxEvaluator::fillOutputNtuples(), and ActsEvaluator::getGlobalTruthHit().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

PHG4Hit * SvtxClusterEval::max_truth_hit_by_energy ( TrkrDefs::cluskey  cluster_key)

Definition at line 702 of file SvtxClusterEval.cc.

View newest version in sPHENIX GitHub at line 702 of file SvtxClusterEval.cc

References _cache_max_truth_hit_by_energy, _do_cache, _errors, all_truth_hits(), FLT_MAX, PHG4Hit::get_edep(), has_node_pointers(), and hits().

Referenced by SvtxEvaluator::fillOutputNtuples(), and SvtxEvaluator::printOutputInfo().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

PHG4Particle * SvtxClusterEval::max_truth_particle_by_cluster_energy ( TrkrDefs::cluskey  cluster_key)

Definition at line 788 of file SvtxClusterEval.cc.

View newest version in sPHENIX GitHub at line 788 of file SvtxClusterEval.cc

References _cache_max_truth_particle_by_cluster_energy, _do_cache, _errors, SvtxTruthEval::all_truth_clusters(), all_truth_particles(), e, FLT_MAX, get_truth_eval(), TrkrDefs::getLayer(), has_node_pointers(), it, G4TTL::layer, and particle.

Referenced by SvtxEvaluator::fillOutputNtuples(), QAG4SimulationKFParticle::getTruthTrack(), KFParticle_truthAndDetTools::getTruthTrack(), and max_truth_cluster_by_energy().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

PHG4Particle * SvtxClusterEval::max_truth_particle_by_energy ( TrkrDefs::cluskey  cluster_key)

Definition at line 838 of file SvtxClusterEval.cc.

View newest version in sPHENIX GitHub at line 838 of file SvtxClusterEval.cc

References _cache_max_truth_particle_by_energy, _do_cache, _errors, all_truth_particles(), e, FLT_MAX, get_energy_contribution(), has_node_pointers(), and particle.

+ Here is the call graph for this function:

void SvtxClusterEval::next_event ( PHCompositeNode topNode)

Definition at line 72 of file SvtxClusterEval.cc.

View newest version in sPHENIX GitHub at line 72 of file SvtxClusterEval.cc

References _cache_all_clusters_from_g4hit, _cache_all_clusters_from_particle, _cache_all_truth_clusters, _cache_all_truth_hits, _cache_all_truth_particles, _cache_best_cluster_from_g4hit, _cache_best_cluster_from_gtrackid_layer, _cache_get_energy_contribution_g4hit, _cache_get_energy_contribution_g4particle, _cache_max_truth_cluster_by_energy, _cache_max_truth_hit_by_energy, _cache_max_truth_particle_by_cluster_energy, _cache_max_truth_particle_by_energy, _clusters_per_layer, _hiteval, get_node_pointers(), and SvtxHitEval::next_event().

Referenced by SvtxTrackEval::next_event(), and PHTruthTrackSeeding::Process().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

TrkrCluster * SvtxClusterEval::reco_cluster_from_truth_cluster ( std::shared_ptr< TrkrCluster gclus)

Definition at line 246 of file SvtxClusterEval.cc.

View newest version in sPHENIX GitHub at line 246 of file SvtxClusterEval.cc

References _cache_reco_cluster_from_truth_cluster, _clustermap, _do_cache, _surfmaps, _tgeometry, _verbosity, all_clusters_from(), dz, TrkrClusterContainer::findCluster(), PHG4Hit::get_hit_id(), PHG4Hit::get_trkid(), get_truth_eval(), SvtxTruthEval::get_truth_hits_from_truth_cluster(), ActsTransformations::getGlobalPosition(), TrkrDefs::getLayer(), it, range_intt_z, sig_intt_rphi, sig_mms_rphi_55, sig_mms_z_56, sig_mvtx_rphi, sig_mvtx_z, sig_tpc_rphi_inner, sig_tpc_rphi_mid, sig_tpc_rphi_outer, sig_tpc_z, and Acts::Test::transform.

Referenced by QAG4SimulationTpc::evaluate_clusters(), and SvtxEvaluator::fillOutputNtuples().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void SvtxClusterEval::set_strict ( bool  strict)
inline

Definition at line 44 of file SvtxClusterEval.h.

View newest version in sPHENIX GitHub at line 44 of file SvtxClusterEval.h

References _hiteval, _strict, and SvtxHitEval::set_strict().

Referenced by SvtxTrackEval::set_strict().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void SvtxClusterEval::set_verbosity ( int  verbosity)
inline

Definition at line 49 of file SvtxClusterEval.h.

View newest version in sPHENIX GitHub at line 49 of file SvtxClusterEval.h

References _hiteval, _verbosity, and SvtxHitEval::set_verbosity().

Referenced by SvtxTrackEval::set_verbosity().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

Member Data Documentation

std::map<PHG4Hit*, std::set<TrkrDefs::cluskey> > SvtxClusterEval::_cache_all_clusters_from_g4hit
private

Definition at line 125 of file SvtxClusterEval.h.

View newest version in sPHENIX GitHub at line 125 of file SvtxClusterEval.h

Referenced by all_clusters_from(), and next_event().

std::map<PHG4Particle*, std::set<TrkrDefs::cluskey> > SvtxClusterEval::_cache_all_clusters_from_particle
private

Definition at line 124 of file SvtxClusterEval.h.

View newest version in sPHENIX GitHub at line 124 of file SvtxClusterEval.h

Referenced by all_clusters_from(), FillRecoClusterFromG4HitCache(), and next_event().

std::map<TrkrDefs::cluskey, std::set<std::shared_ptr<TrkrCluster> > > SvtxClusterEval::_cache_all_truth_clusters
private

Definition at line 118 of file SvtxClusterEval.h.

View newest version in sPHENIX GitHub at line 118 of file SvtxClusterEval.h

Referenced by all_truth_clusters(), and next_event().

std::map<TrkrDefs::cluskey, std::set<PHG4Hit*> > SvtxClusterEval::_cache_all_truth_hits
private

Definition at line 117 of file SvtxClusterEval.h.

View newest version in sPHENIX GitHub at line 117 of file SvtxClusterEval.h

Referenced by all_truth_hits(), and next_event().

std::map<TrkrDefs::cluskey, std::set<PHG4Particle*> > SvtxClusterEval::_cache_all_truth_particles
private

Definition at line 121 of file SvtxClusterEval.h.

View newest version in sPHENIX GitHub at line 121 of file SvtxClusterEval.h

Referenced by all_truth_particles(), and next_event().

std::map<PHG4Hit*, TrkrDefs::cluskey> SvtxClusterEval::_cache_best_cluster_from_g4hit
private

Definition at line 126 of file SvtxClusterEval.h.

View newest version in sPHENIX GitHub at line 126 of file SvtxClusterEval.h

Referenced by best_cluster_from(), and next_event().

std::map<std::pair<int, int>, TrkrDefs::cluskey> SvtxClusterEval::_cache_best_cluster_from_gtrackid_layer
private

Definition at line 127 of file SvtxClusterEval.h.

View newest version in sPHENIX GitHub at line 127 of file SvtxClusterEval.h

Referenced by best_cluster_by_nhit(), and next_event().

std::map<std::pair<TrkrDefs::cluskey, PHG4Hit*>, float> SvtxClusterEval::_cache_get_energy_contribution_g4hit
private

Definition at line 129 of file SvtxClusterEval.h.

View newest version in sPHENIX GitHub at line 129 of file SvtxClusterEval.h

Referenced by get_energy_contribution(), and next_event().

std::map<std::pair<TrkrDefs::cluskey, PHG4Particle*>, float> SvtxClusterEval::_cache_get_energy_contribution_g4particle
private

Definition at line 128 of file SvtxClusterEval.h.

View newest version in sPHENIX GitHub at line 128 of file SvtxClusterEval.h

Referenced by get_energy_contribution(), and next_event().

std::map<TrkrDefs::cluskey, std::shared_ptr<TrkrCluster> > SvtxClusterEval::_cache_max_truth_cluster_by_energy
private

Definition at line 120 of file SvtxClusterEval.h.

View newest version in sPHENIX GitHub at line 120 of file SvtxClusterEval.h

Referenced by max_truth_cluster_by_energy(), and next_event().

std::map<TrkrDefs::cluskey, PHG4Hit*> SvtxClusterEval::_cache_max_truth_hit_by_energy
private

Definition at line 119 of file SvtxClusterEval.h.

View newest version in sPHENIX GitHub at line 119 of file SvtxClusterEval.h

Referenced by max_truth_hit_by_energy(), and next_event().

std::map<TrkrDefs::cluskey, PHG4Particle*> SvtxClusterEval::_cache_max_truth_particle_by_cluster_energy
private

Definition at line 123 of file SvtxClusterEval.h.

View newest version in sPHENIX GitHub at line 123 of file SvtxClusterEval.h

Referenced by max_truth_particle_by_cluster_energy(), and next_event().

std::map<TrkrDefs::cluskey, PHG4Particle*> SvtxClusterEval::_cache_max_truth_particle_by_energy
private

Definition at line 122 of file SvtxClusterEval.h.

View newest version in sPHENIX GitHub at line 122 of file SvtxClusterEval.h

Referenced by max_truth_particle_by_energy(), and next_event().

std::map<std::shared_ptr<TrkrCluster>, TrkrCluster* > SvtxClusterEval::_cache_reco_cluster_from_truth_cluster
private

Definition at line 130 of file SvtxClusterEval.h.

View newest version in sPHENIX GitHub at line 130 of file SvtxClusterEval.h

Referenced by reco_cluster_from_truth_cluster().

TrkrClusterHitAssoc* SvtxClusterEval::_cluster_hit_map
private

Definition at line 101 of file SvtxClusterEval.h.

View newest version in sPHENIX GitHub at line 101 of file SvtxClusterEval.h

Referenced by all_clusters_from(), all_truth_hits(), all_truth_hits_by_nhit(), get_node_pointers(), and gtrackid_and_layer_by_nhit().

std::multimap<unsigned int, innerMap> SvtxClusterEval::_clusters_per_layer
private

Definition at line 147 of file SvtxClusterEval.h.

View newest version in sPHENIX GitHub at line 147 of file SvtxClusterEval.h

Referenced by all_clusters_from(), fill_cluster_layer_map(), and next_event().

constexpr float SvtxClusterEval::_clusters_searching_window = 0.1f
staticprivate

cluster azimuthal searching window in _clusters_per_layer. Unit: rad

Definition at line 146 of file SvtxClusterEval.h.

View newest version in sPHENIX GitHub at line 146 of file SvtxClusterEval.h

Referenced by fill_cluster_layer_map().

PHG4HitContainer* SvtxClusterEval::_g4hits_intt
private

Definition at line 106 of file SvtxClusterEval.h.

View newest version in sPHENIX GitHub at line 106 of file SvtxClusterEval.h

Referenced by all_truth_hits(), all_truth_hits_by_nhit(), get_node_pointers(), and gtrackid_and_layer_by_nhit().

PHG4HitContainer* SvtxClusterEval::_g4hits_mms
private

Definition at line 108 of file SvtxClusterEval.h.

View newest version in sPHENIX GitHub at line 108 of file SvtxClusterEval.h

Referenced by all_truth_hits(), all_truth_hits_by_nhit(), get_node_pointers(), and gtrackid_and_layer_by_nhit().

PHG4HitContainer* SvtxClusterEval::_g4hits_mvtx
private

Definition at line 107 of file SvtxClusterEval.h.

View newest version in sPHENIX GitHub at line 107 of file SvtxClusterEval.h

Referenced by all_truth_hits(), all_truth_hits_by_nhit(), get_node_pointers(), and gtrackid_and_layer_by_nhit().

PHG4HitContainer* SvtxClusterEval::_g4hits_tpc
private

Definition at line 105 of file SvtxClusterEval.h.

View newest version in sPHENIX GitHub at line 105 of file SvtxClusterEval.h

Referenced by all_truth_hits(), all_truth_hits_by_nhit(), get_node_pointers(), and gtrackid_and_layer_by_nhit().

TrkrHitTruthAssoc* SvtxClusterEval::_hit_truth_map
private

Definition at line 103 of file SvtxClusterEval.h.

View newest version in sPHENIX GitHub at line 103 of file SvtxClusterEval.h

Referenced by all_truth_hits(), all_truth_hits_by_nhit(), get_node_pointers(), and gtrackid_and_layer_by_nhit().

SvtxHitEval SvtxClusterEval::_hiteval
private

Definition at line 99 of file SvtxClusterEval.h.

View newest version in sPHENIX GitHub at line 99 of file SvtxClusterEval.h

Referenced by do_caching(), get_errors(), get_hit_eval(), get_truth_eval(), next_event(), set_strict(), and set_verbosity().

TrkrHitSetContainer* SvtxClusterEval::_hitsets
private

Definition at line 102 of file SvtxClusterEval.h.

View newest version in sPHENIX GitHub at line 102 of file SvtxClusterEval.h

Referenced by all_clusters_from(), best_cluster_by_nhit(), fill_cluster_layer_map(), FillRecoClusterFromG4HitCache(), and get_node_pointers().

bool SvtxClusterEval::_strict
private

Definition at line 112 of file SvtxClusterEval.h.

View newest version in sPHENIX GitHub at line 112 of file SvtxClusterEval.h

Referenced by all_clusters_from(), all_truth_particles(), best_cluster_from(), get_energy_contribution(), has_node_pointers(), and set_strict().

ActsSurfaceMaps* SvtxClusterEval::_surfmaps
private
ActsTrackingGeometry* SvtxClusterEval::_tgeometry
private
PHG4TruthInfoContainer* SvtxClusterEval::_truthinfo
private

Definition at line 104 of file SvtxClusterEval.h.

View newest version in sPHENIX GitHub at line 104 of file SvtxClusterEval.h

Referenced by FillRecoClusterFromG4HitCache(), get_node_pointers(), gtrackid_and_layer_by_nhit(), and has_node_pointers().

int SvtxClusterEval::_verbosity
private
const float SvtxClusterEval::range_intt_z = 0.9
private

Definition at line 138 of file SvtxClusterEval.h.

View newest version in sPHENIX GitHub at line 138 of file SvtxClusterEval.h

Referenced by max_truth_cluster_by_energy(), and reco_cluster_from_truth_cluster().

const float SvtxClusterEval::sig_intt_rphi = 17e-04
private

Definition at line 137 of file SvtxClusterEval.h.

View newest version in sPHENIX GitHub at line 137 of file SvtxClusterEval.h

Referenced by max_truth_cluster_by_energy(), and reco_cluster_from_truth_cluster().

const float SvtxClusterEval::sig_mms_rphi_55 = 100e-04
private

Definition at line 141 of file SvtxClusterEval.h.

View newest version in sPHENIX GitHub at line 141 of file SvtxClusterEval.h

Referenced by max_truth_cluster_by_energy(), and reco_cluster_from_truth_cluster().

const float SvtxClusterEval::sig_mms_z_56 = 200e-04
private

Definition at line 142 of file SvtxClusterEval.h.

View newest version in sPHENIX GitHub at line 142 of file SvtxClusterEval.h

Referenced by max_truth_cluster_by_energy(), and reco_cluster_from_truth_cluster().

const float SvtxClusterEval::sig_mvtx_rphi = 4.0e-04
private

Definition at line 139 of file SvtxClusterEval.h.

View newest version in sPHENIX GitHub at line 139 of file SvtxClusterEval.h

Referenced by max_truth_cluster_by_energy(), and reco_cluster_from_truth_cluster().

const float SvtxClusterEval::sig_mvtx_z = 4.7e-04
private

Definition at line 140 of file SvtxClusterEval.h.

View newest version in sPHENIX GitHub at line 140 of file SvtxClusterEval.h

Referenced by max_truth_cluster_by_energy(), and reco_cluster_from_truth_cluster().

const float SvtxClusterEval::sig_tpc_rphi_inner = 220e-04
private

Definition at line 133 of file SvtxClusterEval.h.

View newest version in sPHENIX GitHub at line 133 of file SvtxClusterEval.h

Referenced by max_truth_cluster_by_energy(), and reco_cluster_from_truth_cluster().

const float SvtxClusterEval::sig_tpc_rphi_mid = 155e-04
private

Definition at line 134 of file SvtxClusterEval.h.

View newest version in sPHENIX GitHub at line 134 of file SvtxClusterEval.h

Referenced by max_truth_cluster_by_energy(), and reco_cluster_from_truth_cluster().

const float SvtxClusterEval::sig_tpc_rphi_outer = 165e-04
private

Definition at line 135 of file SvtxClusterEval.h.

View newest version in sPHENIX GitHub at line 135 of file SvtxClusterEval.h

Referenced by max_truth_cluster_by_energy(), and reco_cluster_from_truth_cluster().

const float SvtxClusterEval::sig_tpc_z = 750e-04
private

Definition at line 136 of file SvtxClusterEval.h.

View newest version in sPHENIX GitHub at line 136 of file SvtxClusterEval.h

Referenced by max_truth_cluster_by_energy(), and reco_cluster_from_truth_cluster().


The documentation for this class was generated from the following files: