ATLAS Offline Software
Loading...
Searching...
No Matches
Control
AthToolSupport
AsgExampleTools
AsgExampleTools
EventStoreTestTool.h
Go to the documentation of this file.
1
// Dear emacs, this is -*- c++ -*-
2
//
3
// Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
4
//
5
#ifndef ASGEXAMPLETOOLS_EVENTSTORETESTTOOL_H
6
#define ASGEXAMPLETOOLS_EVENTSTORETESTTOOL_H
7
8
// Local include(s).
9
#include "
AsgExampleTools/IEventStoreTestTool.h
"
10
11
// Athena include(s).
12
#include "
AsgTools/AsgTool.h
"
13
#include "
AsgDataHandles/WriteHandleKey.h
"
14
#include "
xAODBase/IParticleContainer.h
"
15
16
namespace
asg
{
17
19
class
EventStoreTestTool
:
virtual
public
IEventStoreTestTool
,
20
public
AsgTool
{
21
22
public
:
23
// Implement all non-trivial constructors
24
ASG_TOOL_CLASS
(
EventStoreTestTool
,
IEventStoreTestTool
)
25
26
27
EventStoreTestTool
(
const
std::string& toolName );
28
30
virtual
StatusCode
initialize
()
override
;
31
34
36
virtual
StatusCode
performTest
()
const override
;
37
39
40
private
:
41
SG::WriteHandleKey<xAOD::IParticleContainer>
m_containerKey
{
this
,
"ContainerName"
,
"AsgTestIParticles"
};
42
43
};
// class EventStoreTestTool
44
45
}
// namespace asg
46
47
#endif
// ASGEXAMPLETOOLS_EVENTSTORETESTTOOL_H
ASG_TOOL_CLASS
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
Definition
AsgToolMacros.h:68
AsgTool.h
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
IEventStoreTestTool.h
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition
StoreGate/StoreGate/WriteHandleKey.h:40
asg::AsgTool::AsgTool
AsgTool(const std::string &name)
Constructor specifying the tool instance's name.
Definition
AsgTool.cxx:58
asg::EventStoreTestTool::initialize
virtual StatusCode initialize() override
Initialize.
Definition
EventStoreTestTool.cxx:25
asg::EventStoreTestTool::performTest
virtual StatusCode performTest() const override
Function performing (a) test(s) with the event store.
Definition
EventStoreTestTool.cxx:33
asg::EventStoreTestTool::EventStoreTestTool
EventStoreTestTool(const std::string &toolName)
Constructor.
Definition
EventStoreTestTool.cxx:20
asg::EventStoreTestTool::m_containerKey
SG::WriteHandleKey< xAOD::IParticleContainer > m_containerKey
Definition
EventStoreTestTool.h:41
asg::IEventStoreTestTool
Interface for (a) tool(s) testing the event store.
Definition
IEventStoreTestTool.h:14
asg
Definition
DataHandleTestTool.h:28
IParticleContainer.h
Generated on
for ATLAS Offline Software by
1.14.0