Analysis Software
Documentation for sPHENIX simulation software
|
#include <coresoftware/blob/master/offline/packages/trackreco/PHTpcTrackSeedCircleFit.h>
Public Member Functions | |
PHTpcTrackSeedCircleFit (const std::string &name="PHTpcTrackSeedCircleFit") | |
~PHTpcTrackSeedCircleFit () override=default | |
int | InitRun (PHCompositeNode *topNode) override |
int | process_event (PHCompositeNode *) override |
int | End (PHCompositeNode *) override |
Called at the end of all processing. | |
void | use_truth_clusters (bool truth) |
void | set_track_map_name (const std::string &map_name) |
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. | |
Private Member Functions | |
int | GetNodes (PHCompositeNode *topNode) |
Acts::Vector3 | getGlobalPosition (TrkrDefs::cluskey, TrkrCluster *cluster) const |
Private Attributes | |
ActsSurfaceMaps * | _surfmaps {nullptr} |
ActsTrackingGeometry * | _tGeometry {nullptr} |
TrackSeedContainer * | _track_map {nullptr} |
bool | _use_truth_clusters = false |
TrkrClusterContainer * | _cluster_map = nullptr |
TpcDistortionCorrectionContainer * | _dcc = nullptr |
distortion correction container | |
TpcDistortionCorrection | _distortionCorrection |
tpc distortion correction utility class | |
int | _n_iteration = 0 |
std::string | _track_map_name = "SvtxTrackMap" |
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 = std::numeric_limits<int>::max() - 10 } |
Protected Member Functions inherited from SubsysReco | |
SubsysReco (const std::string &name="NONAME") | |
Definition at line 21 of file PHTpcTrackSeedCircleFit.h.
View newest version in sPHENIX GitHub at line 21 of file PHTpcTrackSeedCircleFit.h
PHTpcTrackSeedCircleFit::PHTpcTrackSeedCircleFit | ( | const std::string & | name = "PHTpcTrackSeedCircleFit" | ) |
Definition at line 46 of file PHTpcTrackSeedCircleFit.cc.
View newest version in sPHENIX GitHub at line 46 of file PHTpcTrackSeedCircleFit.cc
|
overridedefault |
|
overridevirtual |
Called at the end of all processing.
Reimplemented from SubsysReco.
Definition at line 119 of file PHTpcTrackSeedCircleFit.cc.
View newest version in sPHENIX GitHub at line 119 of file PHTpcTrackSeedCircleFit.cc
References Fun4AllReturnCodes::EVENT_OK.
|
private |
Definition at line 166 of file PHTpcTrackSeedCircleFit.cc.
View newest version in sPHENIX GitHub at line 166 of file PHTpcTrackSeedCircleFit.cc
References _dcc, _distortionCorrection, _surfmaps, _tGeometry, and TpcDistortionCorrection::get_corrected_position().
|
private |
Definition at line 122 of file PHTpcTrackSeedCircleFit.cc.
View newest version in sPHENIX GitHub at line 122 of file PHTpcTrackSeedCircleFit.cc
References _cluster_map, _dcc, _surfmaps, _tGeometry, _track_map, _track_map_name, _use_truth_clusters, Fun4AllReturnCodes::ABORTEVENT, Fun4AllReturnCodes::EVENT_OK, 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 51 of file PHTpcTrackSeedCircleFit.cc.
View newest version in sPHENIX GitHub at line 51 of file PHTpcTrackSeedCircleFit.cc
References Fun4AllReturnCodes::EVENT_OK, and GetNodes().
|
overridevirtual |
Called for each event. This is where you do the real work.
Start at layer 7
Reimplemented from SubsysReco.
Definition at line 60 of file PHTpcTrackSeedCircleFit.cc.
View newest version in sPHENIX GitHub at line 60 of file PHTpcTrackSeedCircleFit.cc
References _cluster_map, _surfmaps, _tGeometry, _track_map, TrackSeedContainer::begin(), TrackSeed::circleFitByTaubin(), TrackSeedContainer::end(), Fun4AllReturnCodes::EVENT_OK, TrackSeed::get_eta(), TrackSeed::get_p(), TrackSeed::get_phi(), TrackSeed::get_pt(), TrackSeed::lineFit(), PHWHERE, TrackSeedContainer::size(), TrackSeed::size_cluster_keys(), and Fun4AllBase::Verbosity().
|
inline |
Definition at line 38 of file PHTpcTrackSeedCircleFit.h.
View newest version in sPHENIX GitHub at line 38 of file PHTpcTrackSeedCircleFit.h
References _track_map_name.
|
inline |
Definition at line 39 of file PHTpcTrackSeedCircleFit.h.
View newest version in sPHENIX GitHub at line 39 of file PHTpcTrackSeedCircleFit.h
References _n_iteration.
|
inline |
Definition at line 35 of file PHTpcTrackSeedCircleFit.h.
View newest version in sPHENIX GitHub at line 35 of file PHTpcTrackSeedCircleFit.h
References _use_truth_clusters.
|
private |
Definition at line 52 of file PHTpcTrackSeedCircleFit.h.
View newest version in sPHENIX GitHub at line 52 of file PHTpcTrackSeedCircleFit.h
Referenced by GetNodes(), and process_event().
|
private |
distortion correction container
Definition at line 54 of file PHTpcTrackSeedCircleFit.h.
View newest version in sPHENIX GitHub at line 54 of file PHTpcTrackSeedCircleFit.h
Referenced by getGlobalPosition(), and GetNodes().
|
private |
tpc distortion correction utility class
Definition at line 56 of file PHTpcTrackSeedCircleFit.h.
View newest version in sPHENIX GitHub at line 56 of file PHTpcTrackSeedCircleFit.h
Referenced by getGlobalPosition().
|
private |
Definition at line 58 of file PHTpcTrackSeedCircleFit.h.
View newest version in sPHENIX GitHub at line 58 of file PHTpcTrackSeedCircleFit.h
Referenced by SetIteration().
|
private |
Definition at line 47 of file PHTpcTrackSeedCircleFit.h.
View newest version in sPHENIX GitHub at line 47 of file PHTpcTrackSeedCircleFit.h
Referenced by getGlobalPosition(), GetNodes(), and process_event().
|
private |
Definition at line 48 of file PHTpcTrackSeedCircleFit.h.
View newest version in sPHENIX GitHub at line 48 of file PHTpcTrackSeedCircleFit.h
Referenced by getGlobalPosition(), GetNodes(), and process_event().
|
private |
Definition at line 49 of file PHTpcTrackSeedCircleFit.h.
View newest version in sPHENIX GitHub at line 49 of file PHTpcTrackSeedCircleFit.h
Referenced by GetNodes(), and process_event().
|
private |
Definition at line 59 of file PHTpcTrackSeedCircleFit.h.
View newest version in sPHENIX GitHub at line 59 of file PHTpcTrackSeedCircleFit.h
Referenced by GetNodes(), and set_track_map_name().
|
private |
Definition at line 51 of file PHTpcTrackSeedCircleFit.h.
View newest version in sPHENIX GitHub at line 51 of file PHTpcTrackSeedCircleFit.h
Referenced by GetNodes(), and use_truth_clusters().