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

Example algorithm that reads/writes data from/to the event store. More...

#include <acts/blob/sPHENIX/Examples/Run/HelloWorld/HelloWhiteBoardAlgorithm.hpp>

+ Inheritance diagram for ActsExamples::HelloWhiteBoardAlgorithm:
+ Collaboration diagram for ActsExamples::HelloWhiteBoardAlgorithm:

Classes

struct  Config
 

Public Member Functions

 HelloWhiteBoardAlgorithm (const Config &cfg, Acts::Logging::Level level=Acts::Logging::INFO)
 
ActsExamples::ProcessCode execute (const AlgorithmContext &ctx) const finaloverride
 Read input and copy to the output.
 
- 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

Example algorithm that reads/writes data from/to the event store.

Definition at line 19 of file HelloWhiteBoardAlgorithm.hpp.

View newest version in sPHENIX GitHub at line 19 of file HelloWhiteBoardAlgorithm.hpp

Constructor & Destructor Documentation

ActsExamples::HelloWhiteBoardAlgorithm::HelloWhiteBoardAlgorithm ( const Config cfg,
Acts::Logging::Level  level = Acts::Logging::INFO 
)

Member Function Documentation

ActsExamples::ProcessCode ActsExamples::HelloWhiteBoardAlgorithm::execute ( const AlgorithmContext ctx) const
finaloverridevirtual

Read input and copy to the output.

Implements ActsExamples::BareAlgorithm.

Definition at line 27 of file HelloWhiteBoardAlgorithm.cpp.

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

References ACTS_INFO, ACTS_VERBOSE, ActsExamples::WhiteBoard::add(), ActsExamples::AlgorithmContext::eventStore, ActsExamples::WhiteBoard::get(), in, and SUCCESS.

+ Here is the call graph for this function:

Member Data Documentation

Config ActsExamples::HelloWhiteBoardAlgorithm::m_cfg
private

Definition at line 36 of file HelloWhiteBoardAlgorithm.hpp.

View newest version in sPHENIX GitHub at line 36 of file HelloWhiteBoardAlgorithm.hpp

Referenced by HelloWhiteBoardAlgorithm().


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