EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
Home page
Related Pages
Modules
Namespaces
Classes
Files
External Links
File List
File Members
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
11
#include "
ActsExamples/Framework/BareService.hpp
"
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:
35
Config
m_cfg
;
36
};
37
38
}
// namespace ActsExamples
acts
blob
sPHENIX
Examples
Run
HelloWorld
HelloService.hpp
Built by
Jin Huang
. updated:
Mon Jan 22 2024 12:43:25
using
1.8.2 with
EIC GitHub integration