The Gaudi Framework
v36r1 (3e2fb5a8)
TestToolAlg.h
Go to the documentation of this file.
1
/***********************************************************************************\
2
* (c) Copyright 1998-2019 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
#ifndef TESTTOOLALG_H
12
#define TESTTOOLALG_H 1
13
14
// from STL
15
#include <string>
16
17
// base class
18
#include "
GaudiAlg/GaudiAlgorithm.h
"
19
27
class
TestToolAlg
:
public
GaudiAlgorithm
{
28
29
public
:
31
using
GaudiAlgorithm::GaudiAlgorithm
;
32
33
StatusCode
initialize
()
override
;
34
StatusCode
execute
()
override
;
35
StatusCode
finalize
()
override
;
36
37
private
:
38
Gaudi::Property<std::vector<std::string>
>
m_tools
{
this
,
"Tools"
, {},
"list of tools to test"
};
39
};
40
41
#endif // TESTTOOLALG_H
TestToolAlg
Definition:
TestToolAlg.h:27
GaudiAlgorithm::GaudiAlgorithm
GaudiAlgorithm(std::string name, ISvcLocator *pSvcLocator)
Standard constructor.
Definition:
GaudiAlgorithm.cpp:45
TestToolAlg::finalize
StatusCode finalize() override
Algorithm finalization.
Definition:
TestToolAlg.cpp:67
TestToolAlg::initialize
StatusCode initialize() override
Algorithm initialization.
Definition:
TestToolAlg.cpp:31
StatusCode
Definition:
StatusCode.h:65
GaudiAlgorithm
Definition:
GaudiAlgorithm.h:104
GaudiAlgorithm.h
TestToolAlg::m_tools
Gaudi::Property< std::vector< std::string > > m_tools
Definition:
TestToolAlg.h:38
TestToolAlg::execute
StatusCode execute() override
Algorithm execution.
Definition:
TestToolAlg.cpp:57
Gaudi::Property
Implementation of property with value of concrete type.
Definition:
Property.h:39
GaudiExamples
src
AlgTools
TestToolAlg.h
Generated on Tue Sep 21 2021 12:27:41 for The Gaudi Framework by
1.8.18