Analysis Software
Documentation for sPHENIX simulation software
|
#include <coresoftware/blob/master/offline/packages/trackreco/PHSiliconSeedMerger.h>
Public Member Functions | |
PHSiliconSeedMerger (const std::string &name="PHSiliconSeedMerger") | |
virtual | ~PHSiliconSeedMerger () |
int | Init (PHCompositeNode *topNode) override |
int | InitRun (PHCompositeNode *topNode) override |
int | process_event (PHCompositeNode *topNode) override |
int | ResetEvent (PHCompositeNode *topNode) override |
Clean up after each event. | |
int | End (PHCompositeNode *topNode) override |
Called at the end of all processing. | |
void | trackMapName (const std::string &name) |
void | clusterOverlap (const int nclusters) |
void | searchIntt () |
Public Member Functions inherited from SubsysReco | |
~SubsysReco () override | |
virtual int | EndRun (const int) |
Called at the end of each run. | |
virtual int | Reset (PHCompositeNode *) |
Reset. | |
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) |
Private Attributes | |
TrackSeedContainer * | m_siliconTracks = nullptr |
std::string | m_trackMapName = "SiliconTrackSeedContainer" |
int | m_clusterOverlap = 1 |
bool | m_mvtxOnly = true |
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 15 of file PHSiliconSeedMerger.h.
View newest version in sPHENIX GitHub at line 15 of file PHSiliconSeedMerger.h
PHSiliconSeedMerger::PHSiliconSeedMerger | ( | const std::string & | name = "PHSiliconSeedMerger" | ) |
Definition at line 20 of file PHSiliconSeedMerger.cc.
View newest version in sPHENIX GitHub at line 20 of file PHSiliconSeedMerger.cc
|
virtual |
Definition at line 25 of file PHSiliconSeedMerger.cc.
View newest version in sPHENIX GitHub at line 25 of file PHSiliconSeedMerger.cc
|
inline |
Definition at line 30 of file PHSiliconSeedMerger.h.
View newest version in sPHENIX GitHub at line 30 of file PHSiliconSeedMerger.h
References m_clusterOverlap.
Referenced by Tracking_Reco_TrackSeed_pass1().
|
overridevirtual |
Called at the end of all processing.
Reimplemented from SubsysReco.
Definition at line 196 of file PHSiliconSeedMerger.cc.
View newest version in sPHENIX GitHub at line 196 of file PHSiliconSeedMerger.cc
References Fun4AllReturnCodes::EVENT_OK.
|
private |
Definition at line 202 of file PHSiliconSeedMerger.cc.
View newest version in sPHENIX GitHub at line 202 of file PHSiliconSeedMerger.cc
References Fun4AllReturnCodes::ABORTEVENT, Fun4AllReturnCodes::EVENT_OK, m_siliconTracks, m_trackMapName, and PHWHERE.
Referenced by InitRun().
|
overridevirtual |
Called during initialization. Typically this is where you can book histograms, and e.g. register them to Fun4AllServer (so they can be output to file using Fun4AllServer::dumpHistos() method).
Reimplemented from SubsysReco.
Definition at line 30 of file PHSiliconSeedMerger.cc.
View newest version in sPHENIX GitHub at line 30 of file PHSiliconSeedMerger.cc
References Fun4AllReturnCodes::EVENT_OK.
|
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 37 of file PHSiliconSeedMerger.cc.
View newest version in sPHENIX GitHub at line 37 of file PHSiliconSeedMerger.cc
References getNodes().
|
overridevirtual |
Called for each event. This is where you do the real work.
We can speed up the code by only iterating over the track seeds that are further in the map container from the current track, since the comparison of e.g. track 1 with track 2 doesn't need to be repeated with track 2 to track 1.
If we have two clusters in common in the triplet, it is likely from the same track
Reimplemented from SubsysReco.
Definition at line 44 of file PHSiliconSeedMerger.cc.
View newest version in sPHENIX GitHub at line 44 of file PHSiliconSeedMerger.cc
References TrackSeed::begin_cluster_keys(), TrackSeed::end_cluster_keys(), TrackSeedContainer::erase(), Fun4AllReturnCodes::EVENT_OK, TrackSeedContainer::get(), TrkrDefs::getTrkrId(), TrackSeed::identify(), TrkrDefs::inttId, m_clusterOverlap, m_mvtxOnly, m_siliconTracks, seed, TrackSeedContainer::size(), and Fun4AllBase::Verbosity().
|
overridevirtual |
Clean up after each event.
Reimplemented from SubsysReco.
Definition at line 187 of file PHSiliconSeedMerger.cc.
View newest version in sPHENIX GitHub at line 187 of file PHSiliconSeedMerger.cc
References Fun4AllReturnCodes::EVENT_OK.
|
inline |
Definition at line 31 of file PHSiliconSeedMerger.h.
View newest version in sPHENIX GitHub at line 31 of file PHSiliconSeedMerger.h
References m_mvtxOnly.
Referenced by Tracking_Reco_TrackSeed_pass1().
|
inline |
Definition at line 29 of file PHSiliconSeedMerger.h.
View newest version in sPHENIX GitHub at line 29 of file PHSiliconSeedMerger.h
References m_trackMapName, and perf_headwind::name.
Referenced by Tracking_Reco_TrackSeed_pass1().
|
private |
Definition at line 39 of file PHSiliconSeedMerger.h.
View newest version in sPHENIX GitHub at line 39 of file PHSiliconSeedMerger.h
Referenced by clusterOverlap(), and process_event().
|
private |
Definition at line 40 of file PHSiliconSeedMerger.h.
View newest version in sPHENIX GitHub at line 40 of file PHSiliconSeedMerger.h
Referenced by process_event(), and searchIntt().
|
private |
Definition at line 37 of file PHSiliconSeedMerger.h.
View newest version in sPHENIX GitHub at line 37 of file PHSiliconSeedMerger.h
Referenced by getNodes(), and process_event().
|
private |
Definition at line 38 of file PHSiliconSeedMerger.h.
View newest version in sPHENIX GitHub at line 38 of file PHSiliconSeedMerger.h
Referenced by getNodes(), and trackMapName().