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

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

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

+ Inheritance diagram for FW::HelloWhiteBoardAlgorithm:
+ Collaboration diagram for FW::HelloWhiteBoardAlgorithm:

Classes

struct  Config
 

Public Member Functions

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

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

Definition at line 14 of file HelloWhiteBoardAlgorithm.cpp.

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

References FW::HelloWhiteBoardAlgorithm::Config::input, m_cfg, and FW::HelloWhiteBoardAlgorithm::Config::output.

Member Function Documentation

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

Read input and copy to the output.

Implements FW::BareAlgorithm.

Definition at line 26 of file HelloWhiteBoardAlgorithm.cpp.

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

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

+ Here is the call graph for this function:

Member Data Documentation

Config FW::HelloWhiteBoardAlgorithm::m_cfg
private

Definition at line 35 of file HelloWhiteBoardAlgorithm.hpp.

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

Referenced by HelloWhiteBoardAlgorithm().


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