Warning, file /acts/Examples/HelloWorld/HelloWhiteBoardAlgorithm.hpp was not indexed
or was modified since last indexation (in which case cross-reference links may be missing, inaccurate or erroneous).
0001
0002
0003
0004
0005
0006
0007
0008
0009 #pragma once
0010
0011 #include "ActsExamples/Framework/DataHandle.hpp"
0012 #include "ActsExamples/Framework/IAlgorithm.hpp"
0013 #include "ActsExamples/Framework/ProcessCode.hpp"
0014
0015 #include <memory>
0016
0017 #include "HelloData.hpp"
0018
0019 namespace ActsExamples {
0020
0021
0022 class HelloWhiteBoardAlgorithm : public ActsExamples::IAlgorithm {
0023 public:
0024 struct Config {
0025
0026 std::string input;
0027
0028 std::string output;
0029 };
0030
0031 explicit HelloWhiteBoardAlgorithm(
0032 const Config& cfg, Acts::Logging::Level level = Acts::Logging::INFO);
0033
0034
0035 ActsExamples::ProcessCode execute(const AlgorithmContext& ctx) const override;
0036
0037 ReadDataHandle<HelloDataCollection> m_readHandle{this, "Input"};
0038 WriteDataHandle<HelloDataCollection> m_writeHandle{this, "Output"};
0039
0040 private:
0041 Config m_cfg;
0042 };
0043
0044 }