Analysis Software
Documentation for sPHENIX simulation software
|
Public Member Functions | |
AmbiguityResolutionML (std::string name, Acts::Logging::Level lvl) | |
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. | |
virtual ProcessCode | execute (const AlgorithmContext &context) const =0 |
ProcessCode | internalExecute (const AlgorithmContext &context) final |
ProcessCode | initialize () override |
Initialize the algorithm. | |
ProcessCode | finalize () override |
Finalize the algorithm. | |
Protected Member Functions | |
std::multimap< int, std::pair < int, std::vector< int > > > | mapTrackHits (const ConstTrackContainer &tracks, int nMeasurementsMin) const |
ConstTrackContainer | prepareOutputTrack (const ConstTrackContainer &tracks, std::vector< int > &goodTracks) const |
Protected Member Functions inherited from ActsExamples::IAlgorithm | |
const Acts::Logger & | logger () const |
Generic implementation of the machine learning ambiguity resolution Contains method for data preparations
Definition at line 22 of file AmbiguityResolutionML.hpp.
View newest version in sPHENIX GitHub at line 22 of file AmbiguityResolutionML.hpp
ActsExamples::AmbiguityResolutionML::AmbiguityResolutionML | ( | std::string | name, |
Acts::Logging::Level | lvl | ||
) |
Construct the ambiguity resolution algorithm.
name | name of the algorithm |
lvl | is the logging level |
Definition at line 14 of file AmbiguityResolutionML.cpp.
View newest version in sPHENIX GitHub at line 14 of file AmbiguityResolutionML.cpp
|
protected |
Associated measurements ID to Tracks ID
tracks | is the input track container |
nMeasurementsMin | minimum number of measurement per track |
Definition at line 19 of file AmbiguityResolutionML.cpp.
View newest version in sPHENIX GitHub at line 19 of file AmbiguityResolutionML.cpp
References index, Acts::MeasurementFlag, and filter::state.
|
protected |
Prepare the output track container to be written
tracks | is the input track container |
goodTracks | is list of the IDs of all the tracks we want to keep |
Definition at line 48 of file AmbiguityResolutionML.cpp.
View newest version in sPHENIX GitHub at line 48 of file AmbiguityResolutionML.cpp
References testing::internal::move(), and truth_tracking_gsf_refitting::outputTracks.