Analysis Software
Documentation for sPHENIX simulation software
|
#include <coresoftware/blob/master/offline/packages/TrackingDiagnostics/TrackContainerCombiner.h>
Public Member Functions | |
TrackContainerCombiner (const std::string &name="TrackContainerCombiner") | |
~TrackContainerCombiner () override | |
int | InitRun (PHCompositeNode *topNode) override |
int | process_event (PHCompositeNode *) override |
int | End (PHCompositeNode *) override |
Called at the end of all processing. | |
void | newContainerName (const std::string &name) |
void | oldContainerName (const std::string &name) |
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 | |
void | mergeSeeds () |
int | getNodes (PHCompositeNode *topNode) |
Private Attributes | |
std::string | m_newContainerName = "SiliconTrackSeedContainer" |
std::string | m_oldContainerName = "SiliconTrackSeedContainerIt1" |
bool | m_seedContainer = true |
TrackSeedContainer * | m_newSeedContainer = nullptr |
TrackSeedContainer * | m_oldSeedContainer = nullptr |
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 14 of file TrackContainerCombiner.h.
View newest version in sPHENIX GitHub at line 14 of file TrackContainerCombiner.h
TrackContainerCombiner::TrackContainerCombiner | ( | const std::string & | name = "TrackContainerCombiner" | ) |
Definition at line 20 of file TrackContainerCombiner.cc.
View newest version in sPHENIX GitHub at line 20 of file TrackContainerCombiner.cc
|
override |
Definition at line 26 of file TrackContainerCombiner.cc.
View newest version in sPHENIX GitHub at line 26 of file TrackContainerCombiner.cc
|
overridevirtual |
Called at the end of all processing.
Reimplemented from SubsysReco.
Definition at line 71 of file TrackContainerCombiner.cc.
View newest version in sPHENIX GitHub at line 71 of file TrackContainerCombiner.cc
References Fun4AllReturnCodes::EVENT_OK.
|
private |
Definition at line 76 of file TrackContainerCombiner.cc.
View newest version in sPHENIX GitHub at line 76 of file TrackContainerCombiner.cc
References Fun4AllReturnCodes::ABORTEVENT, Fun4AllReturnCodes::EVENT_OK, m_newContainerName, m_newSeedContainer, m_oldContainerName, m_oldSeedContainer, 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 32 of file TrackContainerCombiner.cc.
View newest version in sPHENIX GitHub at line 32 of file TrackContainerCombiner.cc
References getNodes().
|
private |
Definition at line 59 of file TrackContainerCombiner.cc.
View newest version in sPHENIX GitHub at line 59 of file TrackContainerCombiner.cc
References TrackSeedContainer::insert(), m_newSeedContainer, m_oldSeedContainer, and seed.
Referenced by process_event().
|
inline |
Definition at line 26 of file TrackContainerCombiner.h.
View newest version in sPHENIX GitHub at line 26 of file TrackContainerCombiner.h
References m_newContainerName, and perf_headwind::name.
Referenced by Tracking_Reco_TrackSeed_pass1().
|
inline |
Definition at line 27 of file TrackContainerCombiner.h.
View newest version in sPHENIX GitHub at line 27 of file TrackContainerCombiner.h
References m_oldContainerName, and perf_headwind::name.
Referenced by Tracking_Reco_TrackSeed_pass1().
|
overridevirtual |
Called for each event. This is where you do the real work.
Reimplemented from SubsysReco.
Definition at line 39 of file TrackContainerCombiner.cc.
View newest version in sPHENIX GitHub at line 39 of file TrackContainerCombiner.cc
References Fun4AllReturnCodes::EVENT_OK, m_newSeedContainer, m_seedContainer, mergeSeeds(), TrackSeedContainer::size(), and Fun4AllBase::Verbosity().
|
private |
Definition at line 32 of file TrackContainerCombiner.h.
View newest version in sPHENIX GitHub at line 32 of file TrackContainerCombiner.h
Referenced by getNodes(), and newContainerName().
|
private |
Definition at line 35 of file TrackContainerCombiner.h.
View newest version in sPHENIX GitHub at line 35 of file TrackContainerCombiner.h
Referenced by getNodes(), mergeSeeds(), and process_event().
|
private |
Definition at line 33 of file TrackContainerCombiner.h.
View newest version in sPHENIX GitHub at line 33 of file TrackContainerCombiner.h
Referenced by getNodes(), and oldContainerName().
|
private |
Definition at line 36 of file TrackContainerCombiner.h.
View newest version in sPHENIX GitHub at line 36 of file TrackContainerCombiner.h
Referenced by getNodes(), and mergeSeeds().
|
private |
Definition at line 34 of file TrackContainerCombiner.h.
View newest version in sPHENIX GitHub at line 34 of file TrackContainerCombiner.h
Referenced by process_event().