ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
#include <coresoftware/blob/master/offline/packages/trackreco/PHTrackSelector.h>
Public Member Functions | |
PHTrackSelector (const std::string &name="PHTrackSelector") | |
Tracking includes. | |
~PHTrackSelector () 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 | SetMinTPCClusters (int nhits) |
void | SetMinINTTHits (int nhits) |
void | SetMinMVTXHits (int nhits) |
void | SetChi2NDFHits (float max) |
void | SetIteration (int iter) |
void | SetTrackMapName (const std::string &map_name) |
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. | |
Private Member Functions | |
int | GetNodes (PHCompositeNode *topNode) |
Private Attributes | |
std::string | _track_map_name |
SvtxTrackMap * | _track_map {nullptr} |
SvtxTrack * | _track {nullptr} |
TrkrClusterIterationMapv1 * | _iteration_map = nullptr |
TpcSeedTrackMap * | _seed_track_map {nullptr} |
int | _n_iter = 1 |
unsigned int | min_tpc_clusters = 35 |
unsigned int | min_mvtx_hits = 2 |
unsigned int | min_intt_hits = 1 |
float | max_chi2_ndf = 30 |
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 Member Functions inherited from SubsysReco | |
SubsysReco (const std::string &name="NONAME") | |
Definition at line 26 of file PHTrackSelector.h.
View newest version in sPHENIX GitHub at line 26 of file PHTrackSelector.h
PHTrackSelector::PHTrackSelector | ( | const std::string & | name = "PHTrackSelector" | ) |
Tracking includes.
Definition at line 30 of file PHTrackSelector.cc.
View newest version in sPHENIX GitHub at line 30 of file PHTrackSelector.cc
|
override |
Definition at line 43 of file PHTrackSelector.cc.
View newest version in sPHENIX GitHub at line 43 of file PHTrackSelector.cc
|
overridevirtual |
Called at the end of all processing.
Reimplemented from SubsysReco.
Definition at line 143 of file PHTrackSelector.cc.
View newest version in sPHENIX GitHub at line 143 of file PHTrackSelector.cc
References Fun4AllReturnCodes::EVENT_OK.
|
private |
Definition at line 148 of file PHTrackSelector.cc.
View newest version in sPHENIX GitHub at line 148 of file PHTrackSelector.cc
References _iteration_map, _track_map, _track_map_name, Fun4AllReturnCodes::ABORTEVENT, Fun4AllReturnCodes::ABORTRUN, PHCompositeNode::addNode(), Fun4AllReturnCodes::EVENT_OK, PHNodeIterator::findFirst(), and PHWHERE.
Referenced by InitRun().
|
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 49 of file PHTrackSelector.cc.
View newest version in sPHENIX GitHub at line 49 of file PHTrackSelector.cc
References Fun4AllReturnCodes::EVENT_OK, and GetNodes().
|
overridevirtual |
Called for each event. This is where you do the real work.
Reimplemented from SubsysReco.
Definition at line 58 of file PHTrackSelector.cc.
View newest version in sPHENIX GitHub at line 58 of file PHTrackSelector.cc
References _iteration_map, _n_iter, _track, _track_map, TrkrClusterIterationMapv1::addIteration(), SvtxTrackMap::begin(), SvtxTrack::begin_cluster_keys(), SvtxTrackMap::end(), SvtxTrack::end_cluster_keys(), SvtxTrackMap::erase(), Fun4AllReturnCodes::EVENT_OK, SvtxTrack::get_chisq(), SvtxTrack::get_ndf(), TrkrDefs::getTrkrId(), TrkrDefs::inttId, it, max_chi2_ndf, min_intt_hits, min_mvtx_hits, min_tpc_clusters, TrkrDefs::mvtxId, PHWHERE, TrkrClusterIterationMapv1::Reset(), SvtxTrackMap::size(), TrkrDefs::tpcId, and Fun4AllBase::Verbosity().
|
inline |
Definition at line 41 of file PHTrackSelector.h.
View newest version in sPHENIX GitHub at line 41 of file PHTrackSelector.h
References max, and max_chi2_ndf.
Definition at line 42 of file PHTrackSelector.h.
View newest version in sPHENIX GitHub at line 42 of file PHTrackSelector.h
References _n_iter.
Definition at line 39 of file PHTrackSelector.h.
View newest version in sPHENIX GitHub at line 39 of file PHTrackSelector.h
References min_intt_hits.
Definition at line 40 of file PHTrackSelector.h.
View newest version in sPHENIX GitHub at line 40 of file PHTrackSelector.h
References min_mvtx_hits.
Definition at line 38 of file PHTrackSelector.h.
View newest version in sPHENIX GitHub at line 38 of file PHTrackSelector.h
References min_tpc_clusters.
|
inline |
Definition at line 44 of file PHTrackSelector.h.
View newest version in sPHENIX GitHub at line 44 of file PHTrackSelector.h
References _track_map_name.
|
private |
Definition at line 53 of file PHTrackSelector.h.
View newest version in sPHENIX GitHub at line 53 of file PHTrackSelector.h
Referenced by GetNodes(), and process_event().
|
private |
Definition at line 57 of file PHTrackSelector.h.
View newest version in sPHENIX GitHub at line 57 of file PHTrackSelector.h
Referenced by process_event(), and SetIteration().
|
private |
Definition at line 55 of file PHTrackSelector.h.
View newest version in sPHENIX GitHub at line 55 of file PHTrackSelector.h
|
private |
Definition at line 52 of file PHTrackSelector.h.
View newest version in sPHENIX GitHub at line 52 of file PHTrackSelector.h
Referenced by process_event().
|
private |
Definition at line 51 of file PHTrackSelector.h.
View newest version in sPHENIX GitHub at line 51 of file PHTrackSelector.h
Referenced by GetNodes(), and process_event().
|
private |
Definition at line 50 of file PHTrackSelector.h.
View newest version in sPHENIX GitHub at line 50 of file PHTrackSelector.h
Referenced by GetNodes(), and SetTrackMapName().
|
private |
Definition at line 61 of file PHTrackSelector.h.
View newest version in sPHENIX GitHub at line 61 of file PHTrackSelector.h
Referenced by process_event(), and SetChi2NDFHits().
|
private |
Definition at line 60 of file PHTrackSelector.h.
View newest version in sPHENIX GitHub at line 60 of file PHTrackSelector.h
Referenced by process_event(), and SetMinINTTHits().
|
private |
Definition at line 59 of file PHTrackSelector.h.
View newest version in sPHENIX GitHub at line 59 of file PHTrackSelector.h
Referenced by process_event(), and SetMinMVTXHits().
|
private |
Definition at line 58 of file PHTrackSelector.h.
View newest version in sPHENIX GitHub at line 58 of file PHTrackSelector.h
Referenced by process_event(), and SetMinTPCClusters().