ATLAS Offline Software
Loading...
Searching...
No Matches
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).
10
11// Athena include(s).
12#include "AsgTools/AsgTool.h"
15
16namespace asg {
17
20 public AsgTool {
21
22 public:
23 // Implement all non-trivial constructors
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
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
Property holding a SG store/key/clid from which a WriteHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
AsgTool(const std::string &name)
Constructor specifying the tool instance's name.
Definition AsgTool.cxx:58
virtual StatusCode initialize() override
Initialize.
virtual StatusCode performTest() const override
Function performing (a) test(s) with the event store.
EventStoreTestTool(const std::string &toolName)
Constructor.
SG::WriteHandleKey< xAOD::IParticleContainer > m_containerKey
Interface for (a) tool(s) testing the event store.