ECCE @ EIC Software
Reference for
ECCE @ 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
BareAlgorithm.hpp
Go to the documentation of this file.
Or view
the newest version in sPHENIX GitHub for file BareAlgorithm.hpp
1
// This file is part of the Acts project.
2
//
3
// Copyright (C) 2017 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
14
15
#pragma once
16
17
#include <
Acts/Utilities/Logger.hpp
>
18
#include <memory>
19
#include <string>
20
21
#include "
ACTFW/Framework/IAlgorithm.hpp
"
22
#include "
ACTFW/Framework/ProcessCode.hpp
"
23
24
namespace
FW {
25
31
class
BareAlgorithm
:
public
IAlgorithm
{
32
public
:
37
BareAlgorithm
(std::string
name
,
38
Acts::Logging::Level
level =
Acts::Logging::INFO
);
39
41
std::string
name
()
const
final
override
;
42
46
virtual
ProcessCode
execute
(
47
const
AlgorithmContext
&
context
)
const override
= 0;
48
49
protected
:
50
const
Acts::Logger
&
logger
()
const
{
return
*
m_logger
; }
51
52
private
:
53
std::string
m_name
;
54
std::unique_ptr<const Acts::Logger>
m_logger
;
55
};
56
57
}
// namespace FW
acts
blob
master
Examples
Framework
include
ACTFW
Framework
BareAlgorithm.hpp
Built by
Jin Huang
. updated:
Wed Jun 29 2022 17:24:23
using
1.8.2 with
ECCE GitHub integration