Analysis Software
Documentation for sPHENIX simulation software
|
Classes | |
struct | Config |
Public Member Functions | |
GreedyAmbiguityResolutionAlgorithm (Config cfg, Acts::Logging::Level lvl) | |
ProcessCode | execute (const AlgorithmContext &ctx) const final |
const Config & | config () const |
Const access to the config. | |
Public Member Functions inherited from ActsExamples::IAlgorithm | |
IAlgorithm (std::string name, Acts::Logging::Level level=Acts::Logging::INFO) | |
std::string | name () const override |
The algorithm name. | |
ProcessCode | internalExecute (const AlgorithmContext &context) final |
ProcessCode | initialize () override |
Initialize the algorithm. | |
ProcessCode | finalize () override |
Finalize the algorithm. | |
Private Attributes | |
Config | m_cfg |
Acts::GreedyAmbiguityResolution | m_core |
ReadDataHandle < ConstTrackContainer > | m_inputTracks {this, "InputTracks"} |
WriteDataHandle < ConstTrackContainer > | m_outputTracks {this, "OutputTracks"} |
Additional Inherited Members | |
Protected Member Functions inherited from ActsExamples::IAlgorithm | |
const Acts::Logger & | logger () const |
Evicts tracks that seem to be duplicated.
The implementation works as follows: 1) Calculate shared hits per track. 2) If the maximum shared hits criteria is met, we are done. This is the configurable amount of shared hits we are ok with in our experiment. 3) Else, remove the track with the highest relative shared hits (i.e. shared hits / hits). 4) Back to square 1.
Definition at line 36 of file GreedyAmbiguityResolutionAlgorithm.hpp.
View newest version in sPHENIX GitHub at line 36 of file GreedyAmbiguityResolutionAlgorithm.hpp
ActsExamples::GreedyAmbiguityResolutionAlgorithm::GreedyAmbiguityResolutionAlgorithm | ( | Config | cfg, |
Acts::Logging::Level | lvl | ||
) |
Construct the ambiguity resolution algorithm.
cfg | is the algorithm configuration |
lvl | is the logging level |
Definition at line 51 of file GreedyAmbiguityResolutionAlgorithm.cpp.
View newest version in sPHENIX GitHub at line 51 of file GreedyAmbiguityResolutionAlgorithm.cpp
References ActsExamples::WriteDataHandle< T >::initialize(), ActsExamples::ReadDataHandle< T >::initialize(), ActsExamples::GreedyAmbiguityResolutionAlgorithm::Config::inputTracks, m_cfg, m_inputTracks, m_outputTracks, and ActsExamples::GreedyAmbiguityResolutionAlgorithm::Config::outputTracks.
|
inline |
Const access to the config.
Definition at line 66 of file GreedyAmbiguityResolutionAlgorithm.hpp.
View newest version in sPHENIX GitHub at line 66 of file GreedyAmbiguityResolutionAlgorithm.hpp
References m_cfg.
|
finalvirtual |
Run the ambiguity resolution algorithm.
cxt | is the algorithm context with event information |
Implements ActsExamples::IAlgorithm.
Definition at line 68 of file GreedyAmbiguityResolutionAlgorithm.cpp.
View newest version in sPHENIX GitHub at line 68 of file GreedyAmbiguityResolutionAlgorithm.cpp
References ACTS_INFO, ACTS_VERBOSE, testing::internal::move(), truth_tracking_gsf_refitting::outputTracks, filter::state, SUCCESS, and tracks().
|
private |
Definition at line 69 of file GreedyAmbiguityResolutionAlgorithm.hpp.
View newest version in sPHENIX GitHub at line 69 of file GreedyAmbiguityResolutionAlgorithm.hpp
Referenced by config(), and GreedyAmbiguityResolutionAlgorithm().
|
private |
Definition at line 70 of file GreedyAmbiguityResolutionAlgorithm.hpp.
View newest version in sPHENIX GitHub at line 70 of file GreedyAmbiguityResolutionAlgorithm.hpp
|
private |
Definition at line 72 of file GreedyAmbiguityResolutionAlgorithm.hpp.
View newest version in sPHENIX GitHub at line 72 of file GreedyAmbiguityResolutionAlgorithm.hpp
Referenced by GreedyAmbiguityResolutionAlgorithm().
|
private |
Definition at line 73 of file GreedyAmbiguityResolutionAlgorithm.hpp.
View newest version in sPHENIX GitHub at line 73 of file GreedyAmbiguityResolutionAlgorithm.hpp
Referenced by GreedyAmbiguityResolutionAlgorithm().