Analysis Software
Documentation for sPHENIX simulation software
|
Classes | |
struct | Config |
Public Member Functions | |
AmbiguityResolutionMLDBScanAlgorithm (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::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 |
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
ActsExamples::AmbiguityResolutionMLDBScanAlgorithm::AmbiguityResolutionMLDBScanAlgorithm | ( | Config | cfg, |
Acts::Logging::Level | lvl | ||
) |
Construct the ambiguity resolution algorithm.
cfg | is the algorithm configuration |
lvl | is 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.
|
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.
|
finalvirtual |
Run the ambiguity resolution algorithm.
cxt | is the algorithm context with event information |
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().
|
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().
|
private |
Definition at line 63 of file AmbiguityResolutionMLDBScanAlgorithm.hpp.
View newest version in sPHENIX GitHub at line 63 of file AmbiguityResolutionMLDBScanAlgorithm.hpp
|
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().
|
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().