ATLAS Offline Software
Loading...
Searching...
No Matches
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
9
12#include <AsgTools/ToolHandle.h>
13
14namespace 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(const std::string &name, ISvcLocator *pSvcLocator)
constructor with parameters
float m_property
the float property our owner sets
virtual::StatusCode execute() override
UnitTestAlg5(const std::string &name, ISvcLocator *pSvcLocator)
bool m_wasInitialized
whether initialize has been called
ToolHandle< IUnitTestTool > m_toolHandle
the tool handle property our owner sets
virtual::StatusCode initialize() override
std::string m_string_property
the string property our owner sets
virtual::StatusCode finalize() override
This module defines the arguments passed from the BATCH driver to the BATCH worker.