Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHTpcTrackSeedCircleFit Class Reference

#include <coresoftware/blob/master/offline/packages/trackreco/PHTpcTrackSeedCircleFit.h>

+ Inheritance diagram for PHTpcTrackSeedCircleFit:
+ Collaboration diagram for PHTpcTrackSeedCircleFit:

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")
 

Detailed Description

Definition at line 21 of file PHTpcTrackSeedCircleFit.h.

View newest version in sPHENIX GitHub at line 21 of file PHTpcTrackSeedCircleFit.h

Constructor & Destructor Documentation

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

PHTpcTrackSeedCircleFit::~PHTpcTrackSeedCircleFit ( )
overridedefault

Member Function Documentation

int PHTpcTrackSeedCircleFit::End ( PHCompositeNode )
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.

Acts::Vector3 PHTpcTrackSeedCircleFit::getGlobalPosition ( TrkrDefs::cluskey  key,
TrkrCluster cluster 
) const
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().

+ Here is the call graph for this function:

int PHTpcTrackSeedCircleFit::GetNodes ( PHCompositeNode topNode)
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().

+ Here is the caller graph for this function:

int PHTpcTrackSeedCircleFit::InitRun ( PHCompositeNode )
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().

+ Here is the call graph for this function:

int PHTpcTrackSeedCircleFit::process_event ( PHCompositeNode )
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().

+ Here is the call graph for this function:

void PHTpcTrackSeedCircleFit::set_track_map_name ( const std::string &  map_name)
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.

void PHTpcTrackSeedCircleFit::SetIteration ( int  iter)
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.

void PHTpcTrackSeedCircleFit::use_truth_clusters ( bool  truth)
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.

Member Data Documentation

TrkrClusterContainer* PHTpcTrackSeedCircleFit::_cluster_map = nullptr
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().

TpcDistortionCorrectionContainer* PHTpcTrackSeedCircleFit::_dcc = nullptr
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().

TpcDistortionCorrection PHTpcTrackSeedCircleFit::_distortionCorrection
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().

int PHTpcTrackSeedCircleFit::_n_iteration = 0
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().

ActsSurfaceMaps* PHTpcTrackSeedCircleFit::_surfmaps {nullptr}
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().

ActsTrackingGeometry* PHTpcTrackSeedCircleFit::_tGeometry {nullptr}
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().

TrackSeedContainer* PHTpcTrackSeedCircleFit::_track_map {nullptr}
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().

std::string PHTpcTrackSeedCircleFit::_track_map_name = "SvtxTrackMap"
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().

bool PHTpcTrackSeedCircleFit::_use_truth_clusters = false
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().


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