ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
Example algorithm that reads/writes data from/to the event store. More...
#include <acts/blob/master/Examples/Run/HelloWorld/HelloWhiteBoardAlgorithm.hpp>
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::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
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.
|
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.
|
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().