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

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

+ Inheritance diagram for PHTrackCleaner:
+ Collaboration diagram for PHTrackCleaner:

Public Member Functions

 PHTrackCleaner (const std::string &name="PHTrackCleaner")
 Tracking includes.
 
 ~PHTrackCleaner () override
 
int InitRun (PHCompositeNode *topNode) override
 
int process_event (PHCompositeNode *topNode) override
 
int End (PHCompositeNode *topNode) override
 Called at the end of all processing.
 
- 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)
 
void findGhostTracks ()
 

Private Attributes

SvtxTrackMap_track_map {nullptr}
 
SvtxTrack_track {nullptr}
 
TpcSeedTrackMap_seed_track_map {nullptr}
 
unsigned int min_clusters = 20
 

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 25 of file PHTrackCleaner.h.

View newest version in sPHENIX GitHub at line 25 of file PHTrackCleaner.h

Constructor & Destructor Documentation

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

Tracking includes.

Definition at line 26 of file PHTrackCleaner.cc.

View newest version in sPHENIX GitHub at line 26 of file PHTrackCleaner.cc

PHTrackCleaner::~PHTrackCleaner ( )
override

Definition at line 33 of file PHTrackCleaner.cc.

View newest version in sPHENIX GitHub at line 33 of file PHTrackCleaner.cc

Member Function Documentation

int PHTrackCleaner::End ( PHCompositeNode )
overridevirtual

Called at the end of all processing.

Reimplemented from SubsysReco.

Definition at line 163 of file PHTrackCleaner.cc.

View newest version in sPHENIX GitHub at line 163 of file PHTrackCleaner.cc

References Fun4AllReturnCodes::EVENT_OK.

void PHTrackCleaner::findGhostTracks ( )
private
int PHTrackCleaner::GetNodes ( PHCompositeNode topNode)
private

Definition at line 168 of file PHTrackCleaner.cc.

View newest version in sPHENIX GitHub at line 168 of file PHTrackCleaner.cc

References _seed_track_map, _track_map, Fun4AllReturnCodes::ABORTEVENT, Fun4AllReturnCodes::EVENT_OK, and PHWHERE.

Referenced by InitRun().

+ Here is the caller graph for this function:

int PHTrackCleaner::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 39 of file PHTrackCleaner.cc.

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

References Fun4AllReturnCodes::EVENT_OK, and GetNodes().

+ Here is the call graph for this function:

int PHTrackCleaner::process_event ( PHCompositeNode )
overridevirtual

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

Reimplemented from SubsysReco.

Definition at line 48 of file PHTrackCleaner.cc.

View newest version in sPHENIX GitHub at line 48 of file PHTrackCleaner.cc

References _seed_track_map, _track, _track_map, SvtxTrackMap::begin(), SvtxTrackMap::end(), SvtxTrackMap::erase(), Fun4AllReturnCodes::EVENT_OK, SvtxTrackMap::get(), SvtxTrack::get_chisq(), SvtxTrack::get_ndf(), TpcSeedTrackMap::getAll(), TpcSeedTrackMap::getAssocTracks(), it, min_clusters, PHWHERE, SvtxTrackMap::size(), TpcSeedTrackMap::size(), SvtxTrack::size_cluster_keys(), and Fun4AllBase::Verbosity().

+ Here is the call graph for this function:

Member Data Documentation

TpcSeedTrackMap* PHTrackCleaner::_seed_track_map {nullptr}
private

Definition at line 45 of file PHTrackCleaner.h.

View newest version in sPHENIX GitHub at line 45 of file PHTrackCleaner.h

Referenced by GetNodes(), and process_event().

SvtxTrack* PHTrackCleaner::_track {nullptr}
private

Definition at line 43 of file PHTrackCleaner.h.

View newest version in sPHENIX GitHub at line 43 of file PHTrackCleaner.h

Referenced by process_event().

SvtxTrackMap* PHTrackCleaner::_track_map {nullptr}
private

Definition at line 42 of file PHTrackCleaner.h.

View newest version in sPHENIX GitHub at line 42 of file PHTrackCleaner.h

Referenced by GetNodes(), and process_event().

unsigned int PHTrackCleaner::min_clusters = 20
private

Definition at line 47 of file PHTrackCleaner.h.

View newest version in sPHENIX GitHub at line 47 of file PHTrackCleaner.h

Referenced by process_event().


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