EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
A simple service that adds an event block index. More...
#include <acts/blob/sPHENIX/Examples/Run/HelloWorld/HelloService.hpp>
Classes | |
struct | Config |
Public Member Functions | |
HelloService (const Config &cfg, Acts::Logging::Level level) | |
void | startRun () finaloverride |
Default noop implementation for the start-of-run hook. | |
void | prepare (AlgorithmContext &ctx) finaloverride |
Default noop implementation for the per-event prepare hook. | |
Public Member Functions inherited from ActsExamples::BareService | |
BareService (std::string name, Acts::Logging::Level level=Acts::Logging::INFO) | |
std::string | name () const finaloverride |
The service name. | |
Public Member Functions inherited from ActsExamples::IService | |
virtual | ~IService ()=default |
Private Attributes | |
Config | m_cfg |
Additional Inherited Members | |
Protected Member Functions inherited from ActsExamples::BareService | |
const Acts::Logger & | logger () const |
A simple service that adds an event block index.
Definition at line 19 of file HelloService.hpp.
View newest version in sPHENIX GitHub at line 19 of file HelloService.hpp
ActsExamples::HelloService::HelloService | ( | const Config & | cfg, |
Acts::Logging::Level | level | ||
) |
Definition at line 15 of file HelloService.cpp.
View newest version in sPHENIX GitHub at line 15 of file HelloService.cpp
|
finaloverridevirtual |
Default noop implementation for the per-event prepare hook.
Reimplemented from ActsExamples::BareService.
Definition at line 24 of file HelloService.cpp.
View newest version in sPHENIX GitHub at line 24 of file HelloService.cpp
References ActsExamples::WhiteBoard::add(), ActsExamples::HelloService::Config::blockIndexName, ActsExamples::AlgorithmContext::eventNumber, ActsExamples::HelloService::Config::eventsPerBlock, ActsExamples::AlgorithmContext::eventStore, and m_cfg.
|
finaloverridevirtual |
Default noop implementation for the start-of-run hook.
Reimplemented from ActsExamples::BareService.
Definition at line 18 of file HelloService.cpp.
View newest version in sPHENIX GitHub at line 18 of file HelloService.cpp
|
private |
Definition at line 35 of file HelloService.hpp.
View newest version in sPHENIX GitHub at line 35 of file HelloService.hpp
Referenced by prepare().