![]() |
ATLAS Offline Software
|
Algorithm used for testing ToolWithConstants. More...
#include <ToolWithConstantsTestTool.h>
Public Member Functions | |
| StatusCode | initialize () override |
| Gaudi initialize method. | |
| StatusCode | execute (const EventContext &ctx) const |
| Gaudi execute method. | |
| virtual int | toolVersion () const override |
| A non-default tool version, for testing. | |
| void | testWriteConstants (const EventContext &ctx) const |
| For testing writeConstants(). | |
Private Attributes | |
| StringProperty | m_condKey { this, "CondKey", "", "" } |
| IntegerProperty | m_runNumber { this, "RunNumber", 284500, "" } |
| Constant< float > | m_cf1 { this, "cf1", 1.5, "cf1 doc" } |
| Constant< int > | m_ci1 { this, "ci1", "ci1 doc" } |
| Constant< bool > | m_cb1 { this, "cb1", "cb1 doc" } |
| Constant< CaloRec::Array< 1 > > | m_ca1 { this, "ca1", "ca1 doc" } |
| Constant< CaloRec::Array< 2 > > | m_ca2 { this, "ca2", "ca2 doc" } |
Algorithm used for testing ToolWithConstants.
Definition at line 27 of file ToolWithConstantsTestTool.h.
| StatusCode CaloUtils::ToolWithConstantsTestTool::execute | ( | const EventContext & | ctx | ) | const |
Gaudi execute method.
Dump out current values of the constants.
Definition at line 101 of file ToolWithConstantsTestTool.cxx.
|
override |
Gaudi initialize method.
Make some ToolConstants conditions objects for testing.
Definition at line 28 of file ToolWithConstantsTestTool.cxx.
| void CaloUtils::ToolWithConstantsTestTool::testWriteConstants | ( | const EventContext & | ctx | ) | const |
For testing writeConstants().
Definition at line 135 of file ToolWithConstantsTestTool.cxx.
|
overridevirtual |
A non-default tool version, for testing.
Definition at line 126 of file ToolWithConstantsTestTool.cxx.
|
private |
Definition at line 61 of file ToolWithConstantsTestTool.h.
|
private |
Definition at line 62 of file ToolWithConstantsTestTool.h.
|
private |
Definition at line 60 of file ToolWithConstantsTestTool.h.
|
private |
Definition at line 58 of file ToolWithConstantsTestTool.h.
|
private |
Definition at line 59 of file ToolWithConstantsTestTool.h.
|
private |
Definition at line 52 of file ToolWithConstantsTestTool.h.
|
private |
Definition at line 55 of file ToolWithConstantsTestTool.h.