File indexing completed on 2026-03-28 07:45:49
0001
0002
0003
0004
0005
0006
0007
0008
0009 #include "ActsExamples/HelloWorld/HelloLoggerAlgorithm.hpp"
0010
0011 #include "ActsExamples/Framework/AlgorithmContext.hpp"
0012
0013 #include <cstddef>
0014
0015 namespace ActsExamples {
0016
0017 HelloLoggerAlgorithm::HelloLoggerAlgorithm(
0018 std::unique_ptr<const Acts::Logger> logger)
0019 : IAlgorithm("HelloLogger", std::move(logger)) {}
0020
0021 ProcessCode HelloLoggerAlgorithm::execute(const AlgorithmContext& ctx) const {
0022 ACTS_INFO(" Hello World! (from event=" << ctx.eventNumber);
0023 ACTS_DEBUG(" - that's an ACTS_DEBUG message");
0024 ACTS_VERBOSE(" - that's an ACTS_VERBOSE message");
0025 return ProcessCode::SUCCESS;
0026 }
0027
0028 }