![]() |
EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
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::Logger & | logger () const |
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
| ActsExamples::HelloWhiteBoardAlgorithm::HelloWhiteBoardAlgorithm | ( | const Config & | cfg, |
| Acts::Logging::Level | level = Acts::Logging::INFO |
||
| ) |
Definition at line 15 of file HelloWhiteBoardAlgorithm.cpp.
View newest version in sPHENIX GitHub at line 15 of file HelloWhiteBoardAlgorithm.cpp
References ActsExamples::HelloWhiteBoardAlgorithm::Config::input, m_cfg, and ActsExamples::HelloWhiteBoardAlgorithm::Config::output.
|
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:
|
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().