Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2026-03-28 07:45:49

0001 // This file is part of the ACTS project.
0002 //
0003 // Copyright (C) 2016 CERN for the benefit of the ACTS project
0004 //
0005 // This Source Code Form is subject to the terms of the Mozilla Public
0006 // License, v. 2.0. If a copy of the MPL was not distributed with this
0007 // file, You can obtain one at https://mozilla.org/MPL/2.0/.
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 }  // namespace ActsExamples