ATLAS Offline Software
Loading...
Searching...
No Matches
PhysicsAnalysis
D3PDTools
EventLoopTest
EventLoopTest
UnitTestTool.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3
*/
4
6
7
8
9
#ifndef EVENT_LOOP_TEST__UNIT_TEST_TOOL1_H
10
#define EVENT_LOOP_TEST__UNIT_TEST_TOOL1_H
11
12
#include <
AsgTools/AsgTool.h
>
13
#include <
EventLoopTest/IUnitTestTool.h
>
14
15
namespace
EL
16
{
21
22
struct
UnitTestTool
:
virtual
public
IUnitTestTool
,
23
public
asg::AsgTool
24
{
25
ASG_TOOL_CLASS
(
UnitTestTool
,
IUnitTestTool
)
26
27
28
public
:
29
UnitTestTool
(
const
std::string& val_name);
30
32
public
:
33
~UnitTestTool
();
34
35
public
:
36
::StatusCode
initialize
()
override
;
37
38
public
:
39
virtual
int
getPropertyInt
()
const override
;
40
41
public
:
42
virtual
const
IUnitTestTool
*
getSubtool
()
const override
;
43
44
46
public
:
47
ToolHandle<IUnitTestTool>
m_subtool
;
48
50
public
:
51
int
m_propertyInt
= 0;
52
};
53
}
54
55
#endif
ASG_TOOL_CLASS
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
Definition
AsgToolMacros.h:68
AsgTool.h
IUnitTestTool.h
EL::IUnitTestTool
the interface for UnitTestTool
Definition
IUnitTestTool.h:20
asg::AsgTool
Base class for the dual-use tool implementation classes.
Definition
AsgTool.h:47
EL
This module defines the arguments passed from the BATCH driver to the BATCH worker.
Definition
AsgComponentFactories.h:16
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
EL::UnitTestTool::~UnitTestTool
~UnitTestTool()
standard destructor
Definition
UnitTestTool.cxx:35
EL::UnitTestTool::getSubtool
virtual const IUnitTestTool * getSubtool() const override
get the subtool property
Definition
UnitTestTool.cxx:58
EL::UnitTestTool::m_propertyInt
int m_propertyInt
the integer property
Definition
UnitTestTool.h:51
EL::UnitTestTool::getPropertyInt
virtual int getPropertyInt() const override
get the integer property
Definition
UnitTestTool.cxx:50
EL::UnitTestTool::UnitTestTool
UnitTestTool(const std::string &val_name)
standard constructor
Definition
UnitTestTool.cxx:25
EL::UnitTestTool::m_subtool
ToolHandle< IUnitTestTool > m_subtool
the toolhandle for subtools
Definition
UnitTestTool.h:47
EL::UnitTestTool::initialize
::StatusCode initialize() override
Dummy implementation of the initialisation function.
Definition
UnitTestTool.cxx:42
Generated on
for ATLAS Offline Software by
1.14.0