EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
ActsExamples::PrintParticles Class Reference

Print all particles. More...

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

+ Inheritance diagram for ActsExamples::PrintParticles:
+ Collaboration diagram for ActsExamples::PrintParticles:

Classes

struct  Config
 

Public Member Functions

 PrintParticles (const Config &cfg, Acts::Logging::Level lvl)
 
ProcessCode execute (const AlgorithmContext &ctx) const
 
- Public Member Functions inherited from ActsExamples::BareAlgorithm
 BareAlgorithm (std::string name, Acts::Logging::Level level=Acts::Logging::INFO)
 
std::string name () const finaloverride
 The algorithm name.
 

Private Attributes

Config m_cfg
 

Additional Inherited Members

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

Detailed Description

Print all particles.

Definition at line 18 of file PrintParticles.hpp.

View newest version in sPHENIX GitHub at line 18 of file PrintParticles.hpp

Constructor & Destructor Documentation

ActsExamples::PrintParticles::PrintParticles ( const Config cfg,
Acts::Logging::Level  lvl 
)

Definition at line 18 of file PrintParticles.cpp.

View newest version in sPHENIX GitHub at line 18 of file PrintParticles.cpp

Member Function Documentation

ActsExamples::ProcessCode ActsExamples::PrintParticles::execute ( const AlgorithmContext context) const
virtual

Execute the algorithm for one event.

This function must be implemented by subclasses.

Implements ActsExamples::BareAlgorithm.

Definition at line 22 of file PrintParticles.cpp.

View newest version in sPHENIX GitHub at line 22 of file PrintParticles.cpp

References ACTS_INFO, Acts::VectorHelpers::eta(), ActsExamples::AlgorithmContext::eventNumber, ActsExamples::AlgorithmContext::eventStore, ActsExamples::WhiteBoard::get(), particle, Acts::VectorHelpers::phi(), and SUCCESS.

+ Here is the call graph for this function:

Member Data Documentation

Config ActsExamples::PrintParticles::m_cfg
private

Definition at line 30 of file PrintParticles.hpp.

View newest version in sPHENIX GitHub at line 30 of file PrintParticles.hpp


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