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

Print track parameters. More...

#include <acts/blob/sPHENIX/Examples/Algorithms/Printers/ActsExamples/Printers/TrackParametersPrinter.hpp>

+ Inheritance diagram for ActsExamples::TrackParametersPrinter:
+ Collaboration diagram for ActsExamples::TrackParametersPrinter:

Classes

struct  Config
 

Public Member Functions

 TrackParametersPrinter (const Config &cfg, Acts::Logging::Level level)
 
ProcessCode execute (const AlgorithmContext &ctx) const override
 
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
 
ReadDataHandle
< TrackParametersContainer
m_inputTrackParameters
 

Additional Inherited Members

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

Detailed Description

Print track parameters.

Definition at line 24 of file TrackParametersPrinter.hpp.

View newest version in sPHENIX GitHub at line 24 of file TrackParametersPrinter.hpp

Constructor & Destructor Documentation

ActsExamples::TrackParametersPrinter::TrackParametersPrinter ( const Config cfg,
Acts::Logging::Level  level 
)

Definition at line 21 of file TrackParametersPrinter.cpp.

View newest version in sPHENIX GitHub at line 21 of file TrackParametersPrinter.cpp

References ActsExamples::ReadDataHandle< T >::initialize(), ActsExamples::TrackParametersPrinter::Config::inputTrackParameters, m_cfg, and m_inputTrackParameters.

+ Here is the call graph for this function:

Member Function Documentation

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

Definition at line 35 of file TrackParametersPrinter.hpp.

View newest version in sPHENIX GitHub at line 35 of file TrackParametersPrinter.hpp

References m_cfg.

ActsExamples::ProcessCode ActsExamples::TrackParametersPrinter::execute ( const AlgorithmContext context) const
overridevirtual

Execute the algorithm for one event.

This function must be implemented by subclasses.

Implements ActsExamples::IAlgorithm.

Definition at line 32 of file TrackParametersPrinter.cpp.

View newest version in sPHENIX GitHub at line 32 of file TrackParametersPrinter.cpp

References ACTS_INFO, ActsExamples::AlgorithmContext::eventNumber, i, m_cfg(), and SUCCESS.

+ Here is the call graph for this function:

Member Data Documentation

Config ActsExamples::TrackParametersPrinter::m_cfg
private

Definition at line 38 of file TrackParametersPrinter.hpp.

View newest version in sPHENIX GitHub at line 38 of file TrackParametersPrinter.hpp

Referenced by config(), and TrackParametersPrinter().

ReadDataHandle<TrackParametersContainer> ActsExamples::TrackParametersPrinter::m_inputTrackParameters
private
Initial value:
{
this, "InputTrackParameters"}

Definition at line 40 of file TrackParametersPrinter.hpp.

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

Referenced by TrackParametersPrinter().


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