EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
HelloService.hpp
Go to the documentation of this file. Or view the newest version in sPHENIX GitHub for file HelloService.hpp
1 // This file is part of the Acts project.
2 //
3 // Copyright (C) 2019 CERN for the benefit of the Acts project
4 //
5 // This Source Code Form is subject to the terms of the Mozilla Public
6 // License, v. 2.0. If a copy of the MPL was not distributed with this
7 // file, You can obtain one at http://mozilla.org/MPL/2.0/.
8 
9 #pragma once
10 
12 
13 #include <cstddef>
14 #include <string>
15 
16 namespace ActsExamples {
17 
19 class HelloService : public BareService {
20  public:
21  struct Config {
23  std::size_t eventsPerBlock = 4;
25  std::string blockIndexName = "eventBlock";
26  };
27 
28  HelloService(const Config& cfg, Acts::Logging::Level level);
29 
30  void startRun() final override;
31 
32  void prepare(AlgorithmContext& ctx) final override;
33 
34  private:
36 };
37 
38 } // namespace ActsExamples