ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
D3PDTools
EventLoopTest
EventLoopTest
UnitTestAlg5.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2020 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef EVENT_LOOP_UNIT_TEST_ALG5_H
6
#define EVENT_LOOP_UNIT_TEST_ALG5_H
7
8
#include <
EventLoopTest/Global.h
>
9
10
#include <
AnaAlgorithm/AnaAlgorithm.h
>
11
#include <
EventLoopTest/IUnitTestTool.h
>
12
#include <
AsgTools/ToolHandle.h
>
13
14
namespace
EL
15
{
16
class
UnitTestAlg5
final :
public
AnaAlgorithm
17
{
18
public
:
19
UnitTestAlg5
(
const
std::string& name, ISvcLocator* pSvcLocator);
20
21
public
:
22
virtual ::StatusCode
initialize
()
override
;
23
24
public
:
25
virtual ::StatusCode
execute
()
override
;
26
27
public
:
28
virtual ::StatusCode
finalize
()
override
;
29
30
32
public
:
33
float
m_property
= 0;
34
36
public
:
37
std::string
m_string_property
;
38
40
public
:
41
ToolHandle<IUnitTestTool>
m_toolHandle
{
""
,
this
};
42
44
public
:
45
bool
m_wasInitialized
=
false
;
46
};
47
}
48
49
#endif
AnaAlgorithm.h
Global.h
IUnitTestTool.h
ToolHandle.h
EL::AnaAlgorithm::AnaAlgorithm
AnaAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
constructor with parameters
Definition
AnaAlgorithm.cxx:40
EL::UnitTestAlg5::m_property
float m_property
the float property our owner sets
Definition
UnitTestAlg5.h:33
EL::UnitTestAlg5::execute
virtual::StatusCode execute() override
Definition
UnitTestAlg5.cxx:47
EL::UnitTestAlg5::UnitTestAlg5
UnitTestAlg5(const std::string &name, ISvcLocator *pSvcLocator)
Definition
UnitTestAlg5.cxx:18
EL::UnitTestAlg5::m_wasInitialized
bool m_wasInitialized
whether initialize has been called
Definition
UnitTestAlg5.h:45
EL::UnitTestAlg5::m_toolHandle
ToolHandle< IUnitTestTool > m_toolHandle
the tool handle property our owner sets
Definition
UnitTestAlg5.h:41
EL::UnitTestAlg5::initialize
virtual::StatusCode initialize() override
Definition
UnitTestAlg5.cxx:29
EL::UnitTestAlg5::m_string_property
std::string m_string_property
the string property our owner sets
Definition
UnitTestAlg5.h:37
EL::UnitTestAlg5::finalize
virtual::StatusCode finalize() override
Definition
UnitTestAlg5.cxx:60
EL
This module defines the arguments passed from the BATCH driver to the BATCH worker.
Definition
AsgComponentFactories.h:16
Generated on
for ATLAS Offline Software by
1.17.0