ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
Base class for track seeding. More...
#include <coresoftware/blob/master/offline/packages/trackreco/PHTrackSeeding.h>
Public Member Functions | |
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 | |
virtual int | Setup (PHCompositeNode *topNode) |
virtual int | Process (PHCompositeNode *topNode)=0 |
virtual int | End ()=0 |
Called in SubsysReco::End. | |
Protected Member Functions inherited from SubsysReco | |
SubsysReco (const std::string &name="NONAME") | |
Protected Member Functions inherited from Fun4AllBase | |
Fun4AllBase (const std::string &name="NONAME") | |
Protected Attributes | |
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 |
Private Member Functions | |
int | CreateNodes (PHCompositeNode *topNode) |
create new node output pointers | |
int | GetNodes (PHCompositeNode *topNode) |
fetch node pointers | |
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 } |
Base class for track seeding.
Definition at line 32 of file PHTrackSeeding.h.
View newest version in sPHENIX GitHub at line 32 of file PHTrackSeeding.h
PHTrackSeeding::PHTrackSeeding | ( | const std::string & | name = "PHTrackSeeding" | ) |
Definition at line 29 of file PHTrackSeeding.cc.
View newest version in sPHENIX GitHub at line 29 of file PHTrackSeeding.cc
|
inlineoverride |
Definition at line 36 of file PHTrackSeeding.h.
View newest version in sPHENIX GitHub at line 36 of file PHTrackSeeding.h
|
private |
create new node output pointers
Definition at line 71 of file PHTrackSeeding.cc.
View newest version in sPHENIX GitHub at line 71 of file PHTrackSeeding.cc
References _assoc_container, _track_map, _track_map_name, Fun4AllReturnCodes::ABORTEVENT, PHCompositeNode::addNode(), Fun4AllReturnCodes::EVENT_OK, PHNodeIterator::findFirst(), SvtxTrackMap::identify(), PHWHERE, and Fun4AllBase::Verbosity().
Referenced by Setup().
|
overridevirtual |
Called at the end of all processing.
Reimplemented from SubsysReco.
Definition at line 53 of file PHTrackSeeding.cc.
View newest version in sPHENIX GitHub at line 53 of file PHTrackSeeding.cc
References End().
|
protectedpure virtual |
Called in SubsysReco::End.
Implemented in PHCASeeding, PHRTreeSeeding, PHHybridSeeding, PHTruthTrackSeeding, PHSiliconTruthTrackSeeding, PHHoughSeeding, and PHTpcTracker.
Referenced by End().
|
private |
fetch node pointers
Definition at line 122 of file PHTrackSeeding.cc.
View newest version in sPHENIX GitHub at line 122 of file PHTrackSeeding.cc
References _assoc_container, _cluster_hit_map, _cluster_map, _hitsets, _track_map, _track_map_name, _use_truth_clusters, Fun4AllReturnCodes::ABORTEVENT, Fun4AllReturnCodes::EVENT_OK, and PHWHERE.
Referenced by Setup().
|
overridevirtual |
Called for first event when run number is known. Typically this is where you may want to fetch data from database, because you know the run number.
Reimplemented from SubsysReco.
Definition at line 36 of file PHTrackSeeding.cc.
View newest version in sPHENIX GitHub at line 36 of file PHTrackSeeding.cc
References Setup().
|
protectedpure virtual |
process event interface for trackers, called in process_event. implemented in derived classes
Implemented in PHCASeeding, PHRTreeSeeding, PHHybridSeeding, PHTruthTrackSeeding, PHSiliconTruthTrackSeeding, PHHoughSeeding, and PHTpcTracker.
Referenced by process_event().
|
overridevirtual |
Called for each event. This is where you do the real work.
Reimplemented from SubsysReco.
Definition at line 41 of file PHTrackSeeding.cc.
View newest version in sPHENIX GitHub at line 41 of file PHTrackSeeding.cc
References _iteration_map, _n_iteration, Fun4AllReturnCodes::ABORTEVENT, PHWHERE, and Process().
|
inline |
Definition at line 41 of file PHTrackSeeding.h.
View newest version in sPHENIX GitHub at line 41 of file PHTrackSeeding.h
References _track_map_name.
Referenced by PHSiliconTruthTrackSeeding::Setup().
Definition at line 43 of file PHTrackSeeding.h.
View newest version in sPHENIX GitHub at line 43 of file PHTrackSeeding.h
References _n_iteration.
|
protectedvirtual |
setup interface for trackers, called in InitRun, setup things like pointers to nodes. overrided in derived classes
Reimplemented in PHCASeeding, PHHybridSeeding, PHRTreeSeeding, PHTruthTrackSeeding, PHSiliconTruthTrackSeeding, PHHoughSeeding, and PHTpcTracker.
Definition at line 58 of file PHTrackSeeding.cc.
View newest version in sPHENIX GitHub at line 58 of file PHTrackSeeding.cc
References CreateNodes(), Fun4AllReturnCodes::EVENT_OK, and GetNodes().
Referenced by InitRun(), PHTpcTracker::Setup(), PHHoughSeeding::Setup(), PHSiliconTruthTrackSeeding::Setup(), PHTruthTrackSeeding::Setup(), PHHybridSeeding::Setup(), PHRTreeSeeding::Setup(), and PHCASeeding::Setup().
|
inline |
Definition at line 42 of file PHTrackSeeding.h.
View newest version in sPHENIX GitHub at line 42 of file PHTrackSeeding.h
References _use_truth_clusters.
|
protected |
Definition at line 62 of file PHTrackSeeding.h.
View newest version in sPHENIX GitHub at line 62 of file PHTrackSeeding.h
Referenced by CreateNodes(), PHHoughSeeding::export_output(), GetNodes(), PHSiliconTruthTrackSeeding::Process(), and PHTruthTrackSeeding::Process().
|
protected |
Definition at line 57 of file PHTrackSeeding.h.
View newest version in sPHENIX GitHub at line 57 of file PHTrackSeeding.h
Referenced by GetNodes().
|
protected |
Definition at line 56 of file PHTrackSeeding.h.
View newest version in sPHENIX GitHub at line 56 of file PHTrackSeeding.h
Referenced by PHHoughSeeding::export_output(), PHCASeeding::FillTree(), GetNodes(), PHTpcTracker::Process(), PHSiliconTruthTrackSeeding::Process(), PHTruthTrackSeeding::Process(), PHHybridSeeding::Process(), PHHybridSeeding::Setup(), PHCASeeding::Setup(), and PHHoughSeeding::translate_input().
|
protected |
Definition at line 63 of file PHTrackSeeding.h.
View newest version in sPHENIX GitHub at line 63 of file PHTrackSeeding.h
Referenced by PHRTreeSeeding::FillTree(), PHCASeeding::FillTree(), GetNodes(), PHTpcTracker::Process(), PHSiliconTruthTrackSeeding::Process(), PHHybridSeeding::Process(), and PHHoughSeeding::translate_input().
|
protected |
Definition at line 58 of file PHTrackSeeding.h.
View newest version in sPHENIX GitHub at line 58 of file PHTrackSeeding.h
Referenced by PHCASeeding::FillTree(), PHCASeeding::Process(), and process_event().
|
protected |
Definition at line 59 of file PHTrackSeeding.h.
View newest version in sPHENIX GitHub at line 59 of file PHTrackSeeding.h
Referenced by PHCASeeding::FillTree(), PHCASeeding::Process(), process_event(), and SetIteration().
|
protected |
Definition at line 61 of file PHTrackSeeding.h.
View newest version in sPHENIX GitHub at line 61 of file PHTrackSeeding.h
Referenced by CreateNodes(), PHHoughSeeding::export_output(), GetNodes(), PHTpcTracker::Process(), PHSiliconTruthTrackSeeding::Process(), PHTruthTrackSeeding::Process(), PHRTreeSeeding::Process(), PHHybridSeeding::publishSeeds(), and PHCASeeding::publishSeeds().
|
protected |
Definition at line 64 of file PHTrackSeeding.h.
View newest version in sPHENIX GitHub at line 64 of file PHTrackSeeding.h
Referenced by CreateNodes(), GetNodes(), PHTruthTrackSeeding::Process(), and set_track_map_name().
|
protected |
Definition at line 66 of file PHTrackSeeding.h.
View newest version in sPHENIX GitHub at line 66 of file PHTrackSeeding.h
Referenced by GetNodes(), and SetUseTruthClusters().
|
protected |
Definition at line 60 of file PHTrackSeeding.h.
View newest version in sPHENIX GitHub at line 60 of file PHTrackSeeding.h
Referenced by PHHoughSeeding::export_output(), PHSiliconTruthTrackSeeding::Process(), PHHybridSeeding::Process(), PHRTreeSeeding::Process(), PHHybridSeeding::Setup(), and PHHoughSeeding::vertexing().