ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
PhysicsAnalysis
D3PDTools
EventLoopTest
EventLoopTest
UnitTestAlg6.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef EVENT_LOOP_UNIT_TEST_ALG6_H
6
#define EVENT_LOOP_UNIT_TEST_ALG6_H
7
8
#include <
EventLoopTest/Global.h
>
9
10
#include <
AnaAlgorithm/AnaReentrantAlgorithm.h
>
11
#include <
EventLoopTest/IUnitTestTool.h
>
12
#include <
AsgTools/ToolHandle.h
>
13
14
namespace
EL
15
{
16
class
UnitTestAlg6
final :
public
AnaReentrantAlgorithm
17
{
18
public
:
19
UnitTestAlg6
(
const
std::string& name, ISvcLocator* pSvcLocator);
20
21
public
:
22
virtual ::StatusCode
initialize
()
override
;
23
24
public
:
25
virtual ::StatusCode
execute
(
const
EventContext& ctx)
const 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
AnaReentrantAlgorithm.h
Global.h
IUnitTestTool.h
ToolHandle.h
EL::AnaReentrantAlgorithm::AnaReentrantAlgorithm
AnaReentrantAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
constructor with parameters
Definition
AnaReentrantAlgorithm.cxx:29
EL::UnitTestAlg6::m_wasInitialized
bool m_wasInitialized
whether initialize has been called
Definition
UnitTestAlg6.h:45
EL::UnitTestAlg6::initialize
virtual::StatusCode initialize() override
Definition
UnitTestAlg6.cxx:29
EL::UnitTestAlg6::execute
virtual::StatusCode execute(const EventContext &ctx) const override
Definition
UnitTestAlg6.cxx:47
EL::UnitTestAlg6::m_toolHandle
ToolHandle< IUnitTestTool > m_toolHandle
the tool handle property our owner sets
Definition
UnitTestAlg6.h:41
EL::UnitTestAlg6::m_property
float m_property
the float property our owner sets
Definition
UnitTestAlg6.h:33
EL::UnitTestAlg6::UnitTestAlg6
UnitTestAlg6(const std::string &name, ISvcLocator *pSvcLocator)
Definition
UnitTestAlg6.cxx:18
EL::UnitTestAlg6::m_string_property
std::string m_string_property
the string property our owner sets
Definition
UnitTestAlg6.h:37
EL::UnitTestAlg6::finalize
virtual::StatusCode finalize() override
Definition
UnitTestAlg6.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