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

#include <acts/blob/sPHENIX/Examples/Algorithms/Utilities/include/ActsExamples/Utilities/TracksToTrajectories.hpp>

+ Inheritance diagram for ActsExamples::TracksToTrajectories:
+ Collaboration diagram for ActsExamples::TracksToTrajectories:

Classes

struct  Config
 

Public Member Functions

 TracksToTrajectories (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::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
 
ReadDataHandle
< ConstTrackContainer
m_inputTracks {this, "InputTracks"}
 
WriteDataHandle
< TrajectoriesContainer
m_outputTrajectories
 

Additional Inherited Members

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

Detailed Description

Definition at line 23 of file TracksToTrajectories.hpp.

View newest version in sPHENIX GitHub at line 23 of file TracksToTrajectories.hpp

Constructor & Destructor Documentation

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

Construct the algorithm.

Parameters
cfgis the algorithm configuration
lvlis the logging level

Definition at line 27 of file TracksToTrajectories.cpp.

View newest version in sPHENIX GitHub at line 27 of file TracksToTrajectories.cpp

References ActsExamples::WriteDataHandle< T >::initialize(), ActsExamples::ReadDataHandle< T >::initialize(), ActsExamples::TracksToTrajectories::Config::inputTracks, m_cfg, m_inputTracks, m_outputTrajectories, and ActsExamples::TracksToTrajectories::Config::outputTrajectories.

+ Here is the call graph for this function:

Member Function Documentation

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

Const access to the config.

Definition at line 43 of file TracksToTrajectories.hpp.

View newest version in sPHENIX GitHub at line 43 of file TracksToTrajectories.hpp

References m_cfg.

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

Run the algorithm.

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

Implements ActsExamples::IAlgorithm.

Definition at line 33 of file TracksToTrajectories.cpp.

View newest version in sPHENIX GitHub at line 33 of file TracksToTrajectories.cpp

References ACTS_DEBUG, ACTS_WARNING, Acts::Surface::getSharedPtr(), Acts::hashString(), m_inputTracks, m_outputTrajectories, testing::internal::move(), Dataset::parameters, Acts::GenericBoundTrackParameters< particle_hypothesis_t >::referenceSurface(), SUCCESS, and tracks().

+ Here is the call graph for this function:

Member Data Documentation

Config ActsExamples::TracksToTrajectories::m_cfg
private

Definition at line 46 of file TracksToTrajectories.hpp.

View newest version in sPHENIX GitHub at line 46 of file TracksToTrajectories.hpp

Referenced by config(), and TracksToTrajectories().

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

Definition at line 48 of file TracksToTrajectories.hpp.

View newest version in sPHENIX GitHub at line 48 of file TracksToTrajectories.hpp

Referenced by execute(), and TracksToTrajectories().

WriteDataHandle<TrajectoriesContainer> ActsExamples::TracksToTrajectories::m_outputTrajectories
private
Initial value:
{
this, "OutputTrajectories"}

Definition at line 49 of file TracksToTrajectories.hpp.

View newest version in sPHENIX GitHub at line 49 of file TracksToTrajectories.hpp

Referenced by execute(), and TracksToTrajectories().


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