Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ActsExamples::AmbiguityResolutionMLDBScanAlgorithm Exception Referencefinal

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

+ Inheritance diagram for ActsExamples::AmbiguityResolutionMLDBScanAlgorithm:
+ Collaboration diagram for ActsExamples::AmbiguityResolutionMLDBScanAlgorithm:

Classes

struct  Config
 

Public Member Functions

 AmbiguityResolutionMLDBScanAlgorithm (Config cfg, Acts::Logging::Level lvl)
 
ProcessCode execute (const AlgorithmContext &ctx) const final
 
const Configconfig () const
 Const access to the config.
 
- Public Member Functions inherited from ActsExamples::AmbiguityResolutionML
 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.
 
ProcessCode internalExecute (const AlgorithmContext &context) final
 
ProcessCode initialize () override
 Initialize the algorithm.
 
ProcessCode finalize () override
 Finalize the algorithm.
 

Private Attributes

Config m_cfg
 
Acts::AmbiguityTrackClassifier m_duplicateClassifier
 
ReadDataHandle
< ConstTrackContainer
m_inputTracks {this, "InputTracks"}
 
WriteDataHandle
< ConstTrackContainer
m_outputTracks {this, "OutputTracks"}
 

Additional Inherited Members

- Protected Member Functions inherited from ActsExamples::AmbiguityResolutionML
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
 

Detailed Description

Evicts tracks that seem to be duplicated and fake.

The implementation works as follows: 1) Cluster together nearby tracks using a DBScan 2) Create subcluster based on tracks with shared hits 3) For each track use a neural network to compute a score 4) In each cluster keep the track with the highest score

Definition at line 27 of file AmbiguityResolutionMLDBScanAlgorithm.hpp.

View newest version in sPHENIX GitHub at line 27 of file AmbiguityResolutionMLDBScanAlgorithm.hpp

Constructor & Destructor Documentation

ActsExamples::AmbiguityResolutionMLDBScanAlgorithm::AmbiguityResolutionMLDBScanAlgorithm ( Config  cfg,
Acts::Logging::Level  lvl 
)

Construct the ambiguity resolution algorithm.

Parameters
cfgis the algorithm configuration
lvlis the logging level

Definition at line 19 of file AmbiguityResolutionMLDBScanAlgorithm.cpp.

View newest version in sPHENIX GitHub at line 19 of file AmbiguityResolutionMLDBScanAlgorithm.cpp

References ActsExamples::WriteDataHandle< T >::initialize(), ActsExamples::ReadDataHandle< T >::initialize(), ActsExamples::AmbiguityResolutionMLDBScanAlgorithm::Config::inputTracks, m_cfg, m_inputTracks, m_outputTracks, and ActsExamples::AmbiguityResolutionMLDBScanAlgorithm::Config::outputTracks.

+ Here is the call graph for this function:

Member Function Documentation

const Config& ActsExamples::AmbiguityResolutionMLDBScanAlgorithm::config ( ) const
inline

Const access to the config.

Definition at line 58 of file AmbiguityResolutionMLDBScanAlgorithm.hpp.

View newest version in sPHENIX GitHub at line 58 of file AmbiguityResolutionMLDBScanAlgorithm.hpp

References m_cfg.

ActsExamples::ProcessCode ActsExamples::AmbiguityResolutionMLDBScanAlgorithm::execute ( const AlgorithmContext ctx) const
finalvirtual

Run the ambiguity resolution algorithm.

Parameters
cxtis the algorithm context with event information
Returns
a process code indication success or failure

Implements ActsExamples::IAlgorithm.

Definition at line 37 of file AmbiguityResolutionMLDBScanAlgorithm.cpp.

View newest version in sPHENIX GitHub at line 37 of file AmbiguityResolutionMLDBScanAlgorithm.cpp

References Acts::dbscanTrackClustering(), m_cfg(), testing::internal::move(), truth_tracking_gsf_refitting::outputTracks, SUCCESS, and tracks().

+ Here is the call graph for this function:

Member Data Documentation

Config ActsExamples::AmbiguityResolutionMLDBScanAlgorithm::m_cfg
private

Definition at line 61 of file AmbiguityResolutionMLDBScanAlgorithm.hpp.

View newest version in sPHENIX GitHub at line 61 of file AmbiguityResolutionMLDBScanAlgorithm.hpp

Referenced by AmbiguityResolutionMLDBScanAlgorithm(), and config().

Acts::AmbiguityTrackClassifier ActsExamples::AmbiguityResolutionMLDBScanAlgorithm::m_duplicateClassifier
private

Definition at line 63 of file AmbiguityResolutionMLDBScanAlgorithm.hpp.

View newest version in sPHENIX GitHub at line 63 of file AmbiguityResolutionMLDBScanAlgorithm.hpp

ReadDataHandle<ConstTrackContainer> ActsExamples::AmbiguityResolutionMLDBScanAlgorithm::m_inputTracks {this, "InputTracks"}
private

Definition at line 64 of file AmbiguityResolutionMLDBScanAlgorithm.hpp.

View newest version in sPHENIX GitHub at line 64 of file AmbiguityResolutionMLDBScanAlgorithm.hpp

Referenced by AmbiguityResolutionMLDBScanAlgorithm().

WriteDataHandle<ConstTrackContainer> ActsExamples::AmbiguityResolutionMLDBScanAlgorithm::m_outputTracks {this, "OutputTracks"}
private

Definition at line 65 of file AmbiguityResolutionMLDBScanAlgorithm.hpp.

View newest version in sPHENIX GitHub at line 65 of file AmbiguityResolutionMLDBScanAlgorithm.hpp

Referenced by AmbiguityResolutionMLDBScanAlgorithm().


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