Back to home page

sPhenix code displayed by LXR

 
 

    


File indexing completed on 2025-08-05 08:09:55

0001 // This file is part of the Acts project.
0002 //
0003 // Copyright (C) 2017-2019 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 http://mozilla.org/MPL/2.0/.
0008 
0009 #pragma once
0010 
0011 #include "ActsExamples/Framework/IAlgorithm.hpp"
0012 
0013 #include <memory>
0014 
0015 namespace ActsExamples {
0016 
0017 /// A simple algorithm that just prints hello world.
0018 class HelloLoggerAlgorithm : public ActsExamples::IAlgorithm {
0019  public:
0020   HelloLoggerAlgorithm(Acts::Logging::Level level);
0021 
0022   // Log a few messages.
0023   ActsExamples::ProcessCode execute(const AlgorithmContext& ctx) const override;
0024 };
0025 
0026 }  // namespace ActsExamples