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

Base class for track seeding. More...

#include <fun4all_coresoftware/blob/master/offline/packages/trackreco/PHTrackPropagating.h>

+ Inheritance diagram for PHTrackPropagating:
+ Collaboration diagram for PHTrackPropagating:

Public Member Functions

 PHTrackPropagating (const std::string &name="PHTrackPropagating")
 
 ~PHTrackPropagating () 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)
 
- 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 ()=0
 
virtual int End ()=0
 
- 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
 
TrkrHitSetContainer_hitsets
 
SvtxVertexMap_vertex_map
 
SvtxTrackMap_track_map
 
AssocInfoContainer_assoc_container
 
std::string _track_map_name
 
bool _use_truth_clusters = false
 

Private Member Functions

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
}
 

Detailed Description

Base class for track seeding.

Definition at line 29 of file PHTrackPropagating.h.

View newest version in sPHENIX GitHub at line 29 of file PHTrackPropagating.h

Constructor & Destructor Documentation

PHTrackPropagating::PHTrackPropagating ( const std::string &  name = "PHTrackPropagating")

Definition at line 23 of file PHTrackPropagating.cc.

View newest version in sPHENIX GitHub at line 23 of file PHTrackPropagating.cc

PHTrackPropagating::~PHTrackPropagating ( )
inlineoverride

Definition at line 33 of file PHTrackPropagating.h.

View newest version in sPHENIX GitHub at line 33 of file PHTrackPropagating.h

Member Function Documentation

int PHTrackPropagating::End ( PHCompositeNode )
overridevirtual

Called at the end of all processing.

Reimplemented from SubsysReco.

Definition at line 44 of file PHTrackPropagating.cc.

View newest version in sPHENIX GitHub at line 44 of file PHTrackPropagating.cc

References End(), and Fun4AllReturnCodes::EVENT_OK.

+ Here is the call graph for this function:

virtual int PHTrackPropagating::End ( )
protectedpure virtual

Implemented in PHGenFitTrkProp.

Referenced by End().

+ Here is the caller graph for this function:

int PHTrackPropagating::GetNodes ( PHCompositeNode topNode)
private

fetch node pointers

Definition at line 58 of file PHTrackPropagating.cc.

View newest version in sPHENIX GitHub at line 58 of file PHTrackPropagating.cc

References _assoc_container, _cluster_map, _hitsets, _track_map, _track_map_name, _use_truth_clusters, _vertex_map, Fun4AllReturnCodes::ABORTEVENT, Fun4AllReturnCodes::EVENT_OK, and PHWHERE.

Referenced by Setup().

+ Here is the caller graph for this function:

int PHTrackPropagating::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 34 of file PHTrackPropagating.cc.

View newest version in sPHENIX GitHub at line 34 of file PHTrackPropagating.cc

References Setup().

+ Here is the call graph for this function:

virtual int PHTrackPropagating::Process ( )
protectedpure virtual

process event interface for trackers, called in process_event. implemented in derived classes

Implemented in PHGenFitTrkProp.

Referenced by process_event().

+ Here is the caller graph for this function:

int PHTrackPropagating::process_event ( PHCompositeNode )
overridevirtual

Called for each event. This is where you do the real work.

Reimplemented from SubsysReco.

Definition at line 39 of file PHTrackPropagating.cc.

View newest version in sPHENIX GitHub at line 39 of file PHTrackPropagating.cc

References Process().

+ Here is the call graph for this function:

void PHTrackPropagating::set_track_map_name ( const std::string &  map_name)
inline

Definition at line 38 of file PHTrackPropagating.h.

View newest version in sPHENIX GitHub at line 38 of file PHTrackPropagating.h

References _track_map_name.

int PHTrackPropagating::Setup ( PHCompositeNode topNode)
protectedvirtual

setup interface for trackers, called in InitRun, setup things like pointers to nodes. overrided in derived classes

Reimplemented in PHGenFitTrkProp.

Definition at line 50 of file PHTrackPropagating.cc.

View newest version in sPHENIX GitHub at line 50 of file PHTrackPropagating.cc

References Fun4AllReturnCodes::EVENT_OK, and GetNodes().

Referenced by InitRun(), and PHGenFitTrkProp::Setup().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

void PHTrackPropagating::SetUseTruthClusters ( bool  setit)
inline

Definition at line 39 of file PHTrackPropagating.h.

View newest version in sPHENIX GitHub at line 39 of file PHTrackPropagating.h

References _use_truth_clusters.

Member Data Documentation

AssocInfoContainer* PHTrackPropagating::_assoc_container
protected

Definition at line 59 of file PHTrackPropagating.h.

View newest version in sPHENIX GitHub at line 59 of file PHTrackPropagating.h

Referenced by PHGenFitTrkProp::check_track_exists(), GetNodes(), and PHGenFitTrkProp::OutputPHGenFitTrack().

TrkrHitSetContainer* PHTrackPropagating::_hitsets
protected

Definition at line 56 of file PHTrackPropagating.h.

View newest version in sPHENIX GitHub at line 56 of file PHTrackPropagating.h

Referenced by PHGenFitTrkProp::BuildLayerZPhiHitMap(), and GetNodes().

SvtxTrackMap* PHTrackPropagating::_track_map
protected

Definition at line 58 of file PHTrackPropagating.h.

View newest version in sPHENIX GitHub at line 58 of file PHTrackPropagating.h

Referenced by GetNodes(), PHGenFitTrkProp::KalmanTrkProp(), and PHGenFitTrkProp::OutputPHGenFitTrack().

std::string PHTrackPropagating::_track_map_name
protected

Definition at line 61 of file PHTrackPropagating.h.

View newest version in sPHENIX GitHub at line 61 of file PHTrackPropagating.h

Referenced by GetNodes(), and set_track_map_name().

bool PHTrackPropagating::_use_truth_clusters = false
protected

Definition at line 63 of file PHTrackPropagating.h.

View newest version in sPHENIX GitHub at line 63 of file PHTrackPropagating.h

Referenced by GetNodes(), and SetUseTruthClusters().

SvtxVertexMap* PHTrackPropagating::_vertex_map
protected

Definition at line 57 of file PHTrackPropagating.h.

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

Referenced by GetNodes(), and PHGenFitTrkProp::Process().


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