![]() |
ECCE @ EIC Software
Reference for
ECCE @ EIC
simulation and reconstruction software on GitHub
|
A simple service that adds an event block index. More...
#include <acts/blob/master/Examples/Run/HelloWorld/HelloService.hpp>
Inheritance diagram for FW::HelloService:
Collaboration diagram for FW::HelloService: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 FW::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 FW::IService | |
| virtual | ~IService ()=default |
Private Attributes | |
| Config | m_cfg |
Additional Inherited Members | |
Protected Member Functions inherited from FW::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
| FW::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 FW::BareService.
Definition at line 24 of file HelloService.cpp.
View newest version in sPHENIX GitHub at line 24 of file HelloService.cpp
References FW::WhiteBoard::add(), FW::HelloService::Config::blockIndexName, FW::AlgorithmContext::eventNumber, FW::HelloService::Config::eventsPerBlock, FW::AlgorithmContext::eventStore, and m_cfg.
Here is the call graph for this function:
|
finaloverridevirtual |
Default noop implementation for the start-of-run hook.
Reimplemented from FW::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().