EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
PHTpcTrackSeedCircleFit Class Reference

#include <fun4all_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)
 
std::vector< TrkrCluster * > getTrackClusters (SvtxTrack *)
 
Acts::Vector3D getGlobalPosition (TrkrCluster *cluster) const
 

Private Attributes

ActsSurfaceMaps_surfmaps {nullptr}
 
ActsTrackingGeometry_tGeometry {nullptr}
 
SvtxTrackMap_track_map {nullptr}
 
bool _use_truth_clusters = false
 
bool _are_clusters_corrected = true
 
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 = 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 242 of file PHTpcTrackSeedCircleFit.cc.

View newest version in sPHENIX GitHub at line 242 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 463 of file PHTpcTrackSeedCircleFit.cc.

View newest version in sPHENIX GitHub at line 463 of file PHTpcTrackSeedCircleFit.cc

References Fun4AllReturnCodes::EVENT_OK.

Acts::Vector3D PHTpcTrackSeedCircleFit::getGlobalPosition ( TrkrCluster cluster) const
private

Definition at line 548 of file PHTpcTrackSeedCircleFit.cc.

View newest version in sPHENIX GitHub at line 548 of file PHTpcTrackSeedCircleFit.cc

References _are_clusters_corrected, _dcc, _distortionCorrection, _surfmaps, _tGeometry, TpcDistortionCorrection::get_corrected_position(), and ActsTransformations::getGlobalPosition().

Referenced by process_event().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

int PHTpcTrackSeedCircleFit::GetNodes ( PHCompositeNode topNode)
private

Definition at line 466 of file PHTpcTrackSeedCircleFit.cc.

View newest version in sPHENIX GitHub at line 466 of file PHTpcTrackSeedCircleFit.cc

References _are_clusters_corrected, _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:

std::vector< TrkrCluster * > PHTpcTrackSeedCircleFit::getTrackClusters ( SvtxTrack tracklet_tpc)
private

Definition at line 519 of file PHTpcTrackSeedCircleFit.cc.

View newest version in sPHENIX GitHub at line 519 of file PHTpcTrackSeedCircleFit.cc

References _cluster_map, SvtxTrack::begin_cluster_keys(), SvtxTrack::end_cluster_keys(), TrkrClusterContainer::findCluster(), TrkrDefs::getLayer(), TrkrCluster::getLocalX(), TrkrCluster::getLocalY(), TrkrDefs::getTrkrId(), G4TTL::layer, TrkrDefs::tpcId, and Fun4AllBase::Verbosity().

Referenced by process_event().

+ Here is the call graph for this function:

+ 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 247 of file PHTpcTrackSeedCircleFit.cc.

View newest version in sPHENIX GitHub at line 247 of file PHTpcTrackSeedCircleFit.cc

References Fun4AllReturnCodes::EVENT_OK, and GetNodes().

+ Here is the call graph for this function:

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

bool PHTpcTrackSeedCircleFit::_are_clusters_corrected = true
private

Definition at line 52 of file PHTpcTrackSeedCircleFit.h.

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

Referenced by getGlobalPosition(), GetNodes(), and process_event().

TrkrClusterContainer* PHTpcTrackSeedCircleFit::_cluster_map = nullptr
private

Definition at line 53 of file PHTpcTrackSeedCircleFit.h.

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

Referenced by GetNodes(), and getTrackClusters().

TpcDistortionCorrectionContainer* PHTpcTrackSeedCircleFit::_dcc = nullptr
private

distortion correction container

Definition at line 55 of file PHTpcTrackSeedCircleFit.h.

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

Referenced by getGlobalPosition(), and GetNodes().

TpcDistortionCorrection PHTpcTrackSeedCircleFit::_distortionCorrection
private

tpc distortion correction utility class

Definition at line 57 of file PHTpcTrackSeedCircleFit.h.

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

Referenced by getGlobalPosition().

int PHTpcTrackSeedCircleFit::_n_iteration = 0
private

Definition at line 59 of file PHTpcTrackSeedCircleFit.h.

View newest version in sPHENIX GitHub at line 59 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().

SvtxTrackMap* 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 60 of file PHTpcTrackSeedCircleFit.h.

View newest version in sPHENIX GitHub at line 60 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: