Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ActsExamples::AmbiguityResolutionML Class Reference

#include <acts/blob/sPHENIX/Examples/Algorithms/TrackFindingML/include/ActsExamples/TrackFindingML/AmbiguityResolutionML.hpp>

+ Inheritance diagram for ActsExamples::AmbiguityResolutionML:
+ Collaboration diagram for ActsExamples::AmbiguityResolutionML:

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::Loggerlogger () const
 

Detailed Description

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

Constructor & Destructor Documentation

ActsExamples::AmbiguityResolutionML::AmbiguityResolutionML ( std::string  name,
Acts::Logging::Level  lvl 
)

Construct the ambiguity resolution algorithm.

Parameters
namename of the algorithm
lvlis the logging level

Definition at line 14 of file AmbiguityResolutionML.cpp.

View newest version in sPHENIX GitHub at line 14 of file AmbiguityResolutionML.cpp

Member Function Documentation

std::multimap< int, std::pair< int, std::vector< int > > > ActsExamples::AmbiguityResolutionML::mapTrackHits ( const ConstTrackContainer tracks,
int  nMeasurementsMin 
) const
protected

Associated measurements ID to Tracks ID

Parameters
tracksis the input track container
nMeasurementsMinminimum number of measurement per track
Returns
an ordered list containing pairs of track ID and associated measurement ID

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.

ActsExamples::ConstTrackContainer ActsExamples::AmbiguityResolutionML::prepareOutputTrack ( const ConstTrackContainer tracks,
std::vector< int > &  goodTracks 
) const
protected

Prepare the output track container to be written

Parameters
tracksis the input track container
goodTracksis 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.

+ Here is the call graph for this function:


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