The Gaudi Framework
master (01b473db)
TestToolAlg.h
Go to the documentation of this file.
1
/***********************************************************************************\
2
* (c) Copyright 1998-2025 CERN for the benefit of the LHCb and ATLAS collaborations *
3
* *
4
* This software is distributed under the terms of the Apache version 2 licence, *
5
* copied verbatim in the file "LICENSE". *
6
* *
7
* In applying this licence, CERN does not waive the privileges and immunities *
8
* granted to it by virtue of its status as an Intergovernmental Organization *
9
* or submit itself to any jurisdiction. *
10
\***********************************************************************************/
11
#pragma once
12
13
// from STL
14
#include <string>
15
16
// base class
17
#include <
GaudiKernel/Algorithm.h
>
18
26
class
TestToolAlg
:
public
Algorithm
{
27
28
public
:
30
using
Algorithm::Algorithm
;
31
32
StatusCode
initialize
()
override
;
33
StatusCode
execute
()
override
;
34
StatusCode
finalize
()
override
;
35
36
private
:
37
Gaudi::Property<std::vector<std::string>
>
m_tools
{
this
,
"Tools"
, {},
"list of tools to test"
};
38
};
TestToolAlg
Definition:
TestToolAlg.h:26
Algorithm
Alias for backward compatibility.
Definition:
Algorithm.h:58
Algorithm.h
TestToolAlg::finalize
StatusCode finalize() override
Algorithm finalization.
Definition:
TestToolAlg.cpp:68
TestToolAlg::initialize
StatusCode initialize() override
Algorithm initialization.
Definition:
TestToolAlg.cpp:31
StatusCode
Definition:
StatusCode.h:64
TestToolAlg::m_tools
Gaudi::Property< std::vector< std::string > > m_tools
Definition:
TestToolAlg.h:37
Gaudi::Algorithm::Algorithm
Algorithm(std::string name, ISvcLocator *svcloc, std::string version=PACKAGE_VERSION)
Constructor.
Definition:
Algorithm.h:98
TestToolAlg::execute
StatusCode execute() override
Algorithm execution.
Definition:
TestToolAlg.cpp:58
Gaudi::Property
Implementation of property with value of concrete type.
Definition:
Property.h:35
GaudiTestSuite
src
AlgTools
TestToolAlg.h
Generated on Thu Sep 18 2025 16:37:16 for The Gaudi Framework by
1.8.18