The Gaudi Framework
master (181af51f)
Loading...
Searching...
No Matches
TestToolAlgFailure.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
27
class
TestToolAlgFailure
:
public
Algorithm
{
28
29
public
:
31
using
Algorithm::Algorithm
;
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
Gaudi::Property<bool>
m_ignoreFailure
{
this
,
"IgnoreFailure"
,
false
};
40
Gaudi::Property<bool>
m_throwException
{
this
,
"ThrowException"
,
false
};
41
};
Algorithm.h
Gaudi::Algorithm::Algorithm
Algorithm(std::string name, ISvcLocator *svcloc, std::string version=PACKAGE_VERSION)
Constructor.
Definition
Algorithm.h:98
Gaudi::Property
Implementation of property with value of concrete type.
Definition
PropertyFwd.h:27
StatusCode
This class is used for returning status codes from appropriate routines.
Definition
StatusCode.h:64
TestToolAlgFailure
Retrieve tools ignoring errors.
Definition
TestToolAlgFailure.h:27
TestToolAlgFailure::m_tools
Gaudi::Property< std::vector< std::string > > m_tools
Definition
TestToolAlgFailure.h:38
TestToolAlgFailure::m_ignoreFailure
Gaudi::Property< bool > m_ignoreFailure
Definition
TestToolAlgFailure.h:39
TestToolAlgFailure::initialize
StatusCode initialize() override
Definition
TestToolAlgFailure.cpp:31
TestToolAlgFailure::m_throwException
Gaudi::Property< bool > m_throwException
Definition
TestToolAlgFailure.h:40
TestToolAlgFailure::execute
StatusCode execute() override
Definition
TestToolAlgFailure.cpp:62
TestToolAlgFailure::finalize
StatusCode finalize() override
Definition
TestToolAlgFailure.cpp:72
GaudiTestSuite
src
AlgTools
TestToolAlgFailure.h
Generated on Wed Oct 8 2025 09:53:38 for The Gaudi Framework by
1.13.1