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

#include <acts/blob/sPHENIX/Examples/Algorithms/TrackFindingExaTrkX/include/ActsExamples/TrackFindingExaTrkX/TrackFindingFromPrototrackAlgorithm.hpp>

+ Inheritance diagram for ActsExamples::TrackFindingFromPrototrackAlgorithm:
+ Collaboration diagram for ActsExamples::TrackFindingFromPrototrackAlgorithm:

Classes

struct  Config
 

Public Member Functions

 TrackFindingFromPrototrackAlgorithm (Config cfg, Acts::Logging::Level lvl)
 
virtual ~TrackFindingFromPrototrackAlgorithm ()
 
ActsExamples::ProcessCode execute (const ActsExamples::AlgorithmContext &ctx) const final
 
ActsExamples::ProcessCode finalize () override
 Finalize the algorithm.
 
const Configconfig () const
 
- 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
 
std::mutex m_mutex
 
std::vector< unsigned > m_nTracksPerSeeds
 
ReadDataHandle
< ProtoTrackContainer
m_inputProtoTracks
 
ReadDataHandle
< MeasurementContainer
m_inputMeasurements
 
ReadDataHandle
< IndexSourceLinkContainer
m_inputSourceLinks
 
ReadDataHandle
< TrackParametersContainer
m_inputInitialTrackParameters
 
WriteDataHandle
< ConstTrackContainer
m_outputTracks {this, "OutputTracks"}
 

Additional Inherited Members

- Protected Member Functions inherited from ActsExamples::IAlgorithm
const Acts::Loggerlogger () const
 

Detailed Description

This algorithm starts a CKF of from a given prototrack. This means: If for any given surface there exists a measurements in the prototrack, this measurement is returned. Otherwise (typically after the end of the prototrack), the algorithm falls back to providing all possible measurements on the surface.

Definition at line 40 of file TrackFindingFromPrototrackAlgorithm.hpp.

View newest version in sPHENIX GitHub at line 40 of file TrackFindingFromPrototrackAlgorithm.hpp

Constructor & Destructor Documentation

ActsExamples::TrackFindingFromPrototrackAlgorithm::TrackFindingFromPrototrackAlgorithm ( Config  cfg,
Acts::Logging::Level  lvl 
)
virtual ActsExamples::TrackFindingFromPrototrackAlgorithm::~TrackFindingFromPrototrackAlgorithm ( )
inlinevirtual

Definition at line 80 of file TrackFindingFromPrototrackAlgorithm.hpp.

View newest version in sPHENIX GitHub at line 80 of file TrackFindingFromPrototrackAlgorithm.hpp

Member Function Documentation

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

Definition at line 91 of file TrackFindingFromPrototrackAlgorithm.hpp.

View newest version in sPHENIX GitHub at line 91 of file TrackFindingFromPrototrackAlgorithm.hpp

References m_cfg.

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

Filter the measurements

Parameters
ctxis the algorithm context that holds event-wise information
Returns
a process code to steer the algorithm flow

Implements ActsExamples::IAlgorithm.

Definition at line 64 of file TrackFindingFromPrototrackAlgorithm.cpp.

View newest version in sPHENIX GitHub at line 64 of file TrackFindingFromPrototrackAlgorithm.cpp

References ACTS_DEBUG, ACTS_FATAL, ACTS_INFO, ACTS_WARNING, ActsExamples::AlgorithmContext::calibContext, ActsExamples::MeasurementCalibratorAdapter::calibrate(), Acts::CombinatorialKalmanFilterExtensions< traj_t >::calibrator, Acts::Logger::clone(), ActsExamples::AlgorithmContext::eventNumber, conf::extensions, ActsExamples::TrackFindingFromPrototrackAlgorithm::Config::findTracks, ActsExamples::AlgorithmContext::geoContext, i, it, ActsExamples::IAlgorithm::logger(), m_cfg, m_inputInitialTrackParameters, m_inputMeasurements, m_inputProtoTracks, m_inputSourceLinks, m_mutex, m_nTracksPerSeeds, m_outputTracks, ActsExamples::AlgorithmContext::magFieldContext, Acts::PropagatorPlainOptions::maxSteps, Acts::CombinatorialKalmanFilterExtensions< traj_t >::measurementSelector, ActsExamples::TrackFindingFromPrototrackAlgorithm::Config::measurementSelectorCfg, testing::internal::move(), ckf::options, pSurface, Acts::CombinatorialKalmanFilterExtensions< traj_t >::smoother, SUCCESS, tracks(), and Acts::CombinatorialKalmanFilterExtensions< traj_t >::updater.

+ Here is the call graph for this function:

ActsExamples::ProcessCode ActsExamples::TrackFindingFromPrototrackAlgorithm::finalize ( )
overridevirtual

Finalize the algorithm.

Implements ActsExamples::SequenceElement.

Definition at line 202 of file TrackFindingFromPrototrackAlgorithm.cpp.

View newest version in sPHENIX GitHub at line 202 of file TrackFindingFromPrototrackAlgorithm.cpp

References ACTS_INFO, assert, distance(), m_nTracksPerSeeds, mean(), sum(), and testSigmaEff::v.

+ Here is the call graph for this function:

Member Data Documentation

Config ActsExamples::TrackFindingFromPrototrackAlgorithm::m_cfg
private

Definition at line 94 of file TrackFindingFromPrototrackAlgorithm.hpp.

View newest version in sPHENIX GitHub at line 94 of file TrackFindingFromPrototrackAlgorithm.hpp

Referenced by config(), execute(), and TrackFindingFromPrototrackAlgorithm().

ReadDataHandle<TrackParametersContainer> ActsExamples::TrackFindingFromPrototrackAlgorithm::m_inputInitialTrackParameters
private
Initial value:
{
this, "InputInitialTrackParameters"}

Definition at line 105 of file TrackFindingFromPrototrackAlgorithm.hpp.

View newest version in sPHENIX GitHub at line 105 of file TrackFindingFromPrototrackAlgorithm.hpp

Referenced by execute(), and TrackFindingFromPrototrackAlgorithm().

ReadDataHandle<MeasurementContainer> ActsExamples::TrackFindingFromPrototrackAlgorithm::m_inputMeasurements
private
Initial value:
{this,
"InputMeasurements"}

Definition at line 101 of file TrackFindingFromPrototrackAlgorithm.hpp.

View newest version in sPHENIX GitHub at line 101 of file TrackFindingFromPrototrackAlgorithm.hpp

Referenced by execute(), and TrackFindingFromPrototrackAlgorithm().

ReadDataHandle<ProtoTrackContainer> ActsExamples::TrackFindingFromPrototrackAlgorithm::m_inputProtoTracks
private
Initial value:
{this,
"InputProtoTracks"}

Definition at line 99 of file TrackFindingFromPrototrackAlgorithm.hpp.

View newest version in sPHENIX GitHub at line 99 of file TrackFindingFromPrototrackAlgorithm.hpp

Referenced by execute(), and TrackFindingFromPrototrackAlgorithm().

ReadDataHandle<IndexSourceLinkContainer> ActsExamples::TrackFindingFromPrototrackAlgorithm::m_inputSourceLinks
private
Initial value:
{
this, "InputSourceLinks"}

Definition at line 103 of file TrackFindingFromPrototrackAlgorithm.hpp.

View newest version in sPHENIX GitHub at line 103 of file TrackFindingFromPrototrackAlgorithm.hpp

Referenced by execute(), and TrackFindingFromPrototrackAlgorithm().

std::mutex ActsExamples::TrackFindingFromPrototrackAlgorithm::m_mutex
mutableprivate

Definition at line 96 of file TrackFindingFromPrototrackAlgorithm.hpp.

View newest version in sPHENIX GitHub at line 96 of file TrackFindingFromPrototrackAlgorithm.hpp

Referenced by execute().

std::vector<unsigned> ActsExamples::TrackFindingFromPrototrackAlgorithm::m_nTracksPerSeeds
mutableprivate

Definition at line 97 of file TrackFindingFromPrototrackAlgorithm.hpp.

View newest version in sPHENIX GitHub at line 97 of file TrackFindingFromPrototrackAlgorithm.hpp

Referenced by execute(), and finalize().

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

Definition at line 108 of file TrackFindingFromPrototrackAlgorithm.hpp.

View newest version in sPHENIX GitHub at line 108 of file TrackFindingFromPrototrackAlgorithm.hpp

Referenced by execute(), and TrackFindingFromPrototrackAlgorithm().


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