ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
Vertexing using truth info. More...
#include <coresoftware/blob/master/offline/packages/trackreco/PHSiliconTruthTrackSeeding.h>
Public Member Functions | |
PHSiliconTruthTrackSeeding (const std::string &name="PHSiliconTruthTrackSeeding") | |
unsigned int | get_min_clusters_per_track () const |
void | set_min_clusters_per_track (unsigned int minClustersPerTrack) |
void | set_min_layer (unsigned int minLayer) |
void | set_max_layer (unsigned int maxLayer) |
double | get_min_momentum () const |
minimal truth momentum cut | |
void | set_min_momentum (double m) |
minimal truth momentum cut | |
Public Member Functions inherited from PHTrackSeeding | |
PHTrackSeeding (const std::string &name="PHTrackSeeding") | |
~PHTrackSeeding () override | |
int | InitRun (PHCompositeNode *topNode) override |
int | process_event (PHCompositeNode *topNode) override |
int | End (PHCompositeNode *topNode) override |
Called at the end of all processing. | |
void | set_track_map_name (const std::string &map_name) |
void | SetUseTruthClusters (bool setit) |
void | SetIteration (int iter) |
Public Member Functions inherited from SubsysReco | |
~SubsysReco () override | |
virtual int | EndRun (const int) |
Called at the end of each run. | |
virtual int | Init (PHCompositeNode *) |
virtual int | Reset (PHCompositeNode *) |
Reset. | |
virtual int | ResetEvent (PHCompositeNode *) |
Clean up after each event. | |
void | Print (const std::string &="ALL") const override |
Public Member Functions inherited from Fun4AllBase | |
virtual | ~Fun4AllBase () |
virtual const std::string | Name () const |
Returns the name of this module. | |
virtual void | Name (const std::string &name) |
Sets the name of this module. | |
virtual void | Verbosity (const int ival) |
Sets the verbosity of this module (0 by default=quiet). | |
virtual void | Verbosity (enu_Verbosity ival) |
Sets the verbosity of this module (0 by default=quiet). | |
virtual int | Verbosity () const |
Gets the verbosity of this module. | |
Protected Member Functions | |
int | Setup (PHCompositeNode *topNode) override |
int | Process (PHCompositeNode *topNode) override |
int | End () override |
Called in SubsysReco::End. | |
Private Member Functions | |
int | GetNodes (PHCompositeNode *topNode) |
fetch node pointers | |
Private Attributes | |
PHG4TruthInfoContainer * | _g4truth_container = nullptr |
PHG4HitContainer * | phg4hits_tpc = nullptr |
PHG4HitContainer * | phg4hits_intt = nullptr |
PHG4HitContainer * | phg4hits_mvtx = nullptr |
PHG4HitContainer * | phg4hits_micromegas = nullptr |
TrkrHitTruthAssoc * | hittruthassoc = nullptr |
TrkrClusterHitAssoc * | clusterhitassoc = nullptr |
unsigned int | _min_clusters_per_track = 2 |
unsigned int | _min_layer = 0 |
unsigned int | _max_layer = 6 |
double | _min_momentum = 50e-3 |
minimal truth momentum cut (GeV) | |
Additional Inherited Members | |
Public Types inherited from Fun4AllBase | |
enum | enu_Verbosity { VERBOSITY_QUIET = 0, VERBOSITY_SOME = 1, VERBOSITY_MORE = 2, VERBOSITY_EVEN_MORE = 3, VERBOSITY_A_LOT = 4, VERBOSITY_MAX = INT_MAX - 10 } |
Protected Attributes inherited from PHTrackSeeding | |
TrkrClusterContainer * | _cluster_map = nullptr |
TrkrClusterHitAssoc * | _cluster_hit_map = nullptr |
TrkrClusterIterationMapv1 * | _iteration_map |
int | _n_iteration |
SvtxVertexMap * | _vertex_map = nullptr |
SvtxTrackMap * | _track_map = nullptr |
AssocInfoContainer * | _assoc_container = nullptr |
TrkrHitSetContainer * | _hitsets = nullptr |
std::string | _track_map_name = "SvtxTrackMap" |
bool | _use_truth_clusters = false |
Vertexing using truth info.
Definition at line 29 of file PHSiliconTruthTrackSeeding.h.
View newest version in sPHENIX GitHub at line 29 of file PHSiliconTruthTrackSeeding.h
PHSiliconTruthTrackSeeding::PHSiliconTruthTrackSeeding | ( | const std::string & | name = "PHSiliconTruthTrackSeeding" | ) |
Definition at line 50 of file PHSiliconTruthTrackSeeding.cc.
View newest version in sPHENIX GitHub at line 50 of file PHSiliconTruthTrackSeeding.cc
|
overrideprotectedvirtual |
Called in SubsysReco::End.
Implements PHTrackSeeding.
Definition at line 432 of file PHSiliconTruthTrackSeeding.cc.
View newest version in sPHENIX GitHub at line 432 of file PHSiliconTruthTrackSeeding.cc
|
inline |
Definition at line 34 of file PHSiliconTruthTrackSeeding.h.
View newest version in sPHENIX GitHub at line 34 of file PHSiliconTruthTrackSeeding.h
References _min_clusters_per_track.
|
inline |
minimal truth momentum cut
Definition at line 55 of file PHSiliconTruthTrackSeeding.h.
View newest version in sPHENIX GitHub at line 55 of file PHSiliconTruthTrackSeeding.h
References _min_momentum.
|
private |
fetch node pointers
Definition at line 378 of file PHSiliconTruthTrackSeeding.cc.
View newest version in sPHENIX GitHub at line 378 of file PHSiliconTruthTrackSeeding.cc
References _g4truth_container, Fun4AllReturnCodes::ABORTEVENT, clusterhitassoc, Fun4AllReturnCodes::EVENT_OK, g4zmq::exit(), hittruthassoc, phg4hits_intt, phg4hits_micromegas, phg4hits_mvtx, phg4hits_tpc, and PHWHERE.
|
overrideprotectedvirtual |
process event interface for trackers, called in process_event. implemented in derived classes
Implements PHTrackSeeding.
Definition at line 76 of file PHSiliconTruthTrackSeeding.cc.
View newest version in sPHENIX GitHub at line 76 of file PHSiliconTruthTrackSeeding.cc
References PHTrackSeeding::_assoc_container, PHTrackSeeding::_cluster_map, _g4truth_container, PHTrackSeeding::_hitsets, _min_clusters_per_track, _min_momentum, PHTrackSeeding::_track_map, PHTrackSeeding::_vertex_map, SvtxTrackMap::begin(), SvtxTrack::begin_cluster_keys(), clusterhitassoc, SvtxTrackMap::end(), SvtxTrack::end_cluster_keys(), Fun4AllReturnCodes::EVENT_OK, g4zmq::exit(), TrkrClusterContainer::findCluster(), PHG4HitContainer::findHit(), SvtxVertexMap::get(), SvtxTrack::get_id(), PHG4Particle::get_pid(), SvtxTrack::get_pt(), PHG4Particle::get_px(), SvtxTrack::get_px(), PHG4Particle::get_py(), SvtxTrack::get_py(), PHG4Particle::get_pz(), SvtxTrack::get_pz(), PHG4Hit::get_trkid(), SvtxTrack::get_truth_track_id(), SvtxTrack::get_vertex_id(), PHG4Particle::get_vtx_id(), SvtxVertex::get_x(), SvtxTrack::get_x(), SvtxVertex::get_y(), SvtxTrack::get_y(), SvtxVertex::get_z(), SvtxTrack::get_z(), TrkrCluster::getClusKey(), TrkrClusterContainer::getClusters(), TrkrHitTruthAssoc::getG4Hits(), TrkrClusterHitAssoc::getHits(), TrkrDefs::getHitSetKeyFromClusKey(), TrkrHitSetContainer::getHitSets(), TrkrDefs::getLayer(), PHG4TruthInfoContainer::GetParticle(), PHG4TruthInfoContainer::GetPrimaryVtxRange(), TrkrDefs::getTrkrId(), TrkrCluster::getX(), TrkrCluster::getY(), hittruthassoc, PHG4Particle::identify(), SvtxVertexMap::identify(), SvtxTrackMap::identify(), TrkrCluster::identify(), SvtxTrackMap::insert(), TrkrDefs::inttId, PHG4TruthInfoContainer::isEmbeded(), PHG4TruthInfoContainer::isEmbededVtx(), it, G4TTL::layer, TrkrDefs::mvtxId, particle, phg4hits_intt, phg4hits_mvtx, PHWHERE, radius, AssocInfoContainer::SetClusterTrackAssoc(), SvtxTrackMap::size(), and Fun4AllBase::Verbosity().
Definition at line 49 of file PHSiliconTruthTrackSeeding.h.
View newest version in sPHENIX GitHub at line 49 of file PHSiliconTruthTrackSeeding.h
References _max_layer.
|
inline |
Definition at line 39 of file PHSiliconTruthTrackSeeding.h.
View newest version in sPHENIX GitHub at line 39 of file PHSiliconTruthTrackSeeding.h
References _min_clusters_per_track.
Definition at line 44 of file PHSiliconTruthTrackSeeding.h.
View newest version in sPHENIX GitHub at line 44 of file PHSiliconTruthTrackSeeding.h
References _min_layer.
|
inline |
minimal truth momentum cut
Definition at line 61 of file PHSiliconTruthTrackSeeding.h.
View newest version in sPHENIX GitHub at line 61 of file PHSiliconTruthTrackSeeding.h
References _min_momentum, and m.
|
overrideprotectedvirtual |
setup interface for trackers, called in InitRun, setup things like pointers to nodes. overrided in derived classes
Reimplemented from PHTrackSeeding.
Definition at line 58 of file PHSiliconTruthTrackSeeding.cc.
View newest version in sPHENIX GitHub at line 58 of file PHSiliconTruthTrackSeeding.cc
References Fun4AllReturnCodes::EVENT_OK, PHTrackSeeding::set_track_map_name(), PHTrackSeeding::Setup(), and Fun4AllBase::Verbosity().
|
private |
Definition at line 77 of file PHSiliconTruthTrackSeeding.h.
View newest version in sPHENIX GitHub at line 77 of file PHSiliconTruthTrackSeeding.h
Referenced by GetNodes(), and Process().
|
private |
Definition at line 89 of file PHSiliconTruthTrackSeeding.h.
View newest version in sPHENIX GitHub at line 89 of file PHSiliconTruthTrackSeeding.h
Referenced by set_max_layer().
|
private |
Definition at line 87 of file PHSiliconTruthTrackSeeding.h.
View newest version in sPHENIX GitHub at line 87 of file PHSiliconTruthTrackSeeding.h
Referenced by get_min_clusters_per_track(), Process(), and set_min_clusters_per_track().
|
private |
Definition at line 88 of file PHSiliconTruthTrackSeeding.h.
View newest version in sPHENIX GitHub at line 88 of file PHSiliconTruthTrackSeeding.h
Referenced by set_min_layer().
|
private |
minimal truth momentum cut (GeV)
Definition at line 92 of file PHSiliconTruthTrackSeeding.h.
View newest version in sPHENIX GitHub at line 92 of file PHSiliconTruthTrackSeeding.h
Referenced by get_min_momentum(), Process(), and set_min_momentum().
|
private |
Definition at line 85 of file PHSiliconTruthTrackSeeding.h.
View newest version in sPHENIX GitHub at line 85 of file PHSiliconTruthTrackSeeding.h
Referenced by GetNodes(), and Process().
|
private |
Definition at line 84 of file PHSiliconTruthTrackSeeding.h.
View newest version in sPHENIX GitHub at line 84 of file PHSiliconTruthTrackSeeding.h
Referenced by GetNodes(), and Process().
|
private |
Definition at line 80 of file PHSiliconTruthTrackSeeding.h.
View newest version in sPHENIX GitHub at line 80 of file PHSiliconTruthTrackSeeding.h
Referenced by GetNodes(), and Process().
|
private |
Definition at line 82 of file PHSiliconTruthTrackSeeding.h.
View newest version in sPHENIX GitHub at line 82 of file PHSiliconTruthTrackSeeding.h
Referenced by GetNodes().
|
private |
Definition at line 81 of file PHSiliconTruthTrackSeeding.h.
View newest version in sPHENIX GitHub at line 81 of file PHSiliconTruthTrackSeeding.h
Referenced by GetNodes(), and Process().
|
private |
Definition at line 79 of file PHSiliconTruthTrackSeeding.h.
View newest version in sPHENIX GitHub at line 79 of file PHSiliconTruthTrackSeeding.h
Referenced by GetNodes().