ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Control
AthenaExamples
AthExHive
src
loopTest
HiveTool.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#ifndef ATHEXHIVE_HIVETOOL_H
6
#define ATHEXHIVE_HIVETOOL_H
7
8
#include "
AthenaBaseComps/AthAlgTool.h
"
9
#include "
AthExHive/IHiveTool.h
"
10
#include "
StoreGate/ReadHandleKey.h
"
11
#include "
StoreGate/WriteHandleKey.h
"
12
#include "
AthExHive/HiveDataObj.h
"
13
14
#include <string>
15
16
class
HiveTool
:
public
extends<AthAlgTool,IHiveTool> {
17
public
:
18
HiveTool
(
const
std::string&,
const
std::string&,
const
IInterface* );
19
virtual
~HiveTool
();
20
21
virtual
StatusCode
initialize
();
22
virtual
StatusCode
finalize
();
23
24
virtual
StatusCode
doSomething
(
const
EventContext& ctx)
const
;
25
26
private
:
27
28
SG::ReadHandleKey<HiveDataObj>
m_rdh1
{
this
,
"Key_R1"
,
"x1"
,
"tool read key"
};
29
SG::WriteHandleKey<HiveDataObj>
m_wrh1
{
this
,
"Key_W1"
,
"X1"
,
"tool write key"
};
30
31
};
32
33
#endif
AthAlgTool.h
HiveDataObj.h
IHiveTool.h
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
HiveTool::HiveTool
HiveTool(const std::string &, const std::string &, const IInterface *)
Definition
HiveTool.cxx:14
HiveTool::m_wrh1
SG::WriteHandleKey< HiveDataObj > m_wrh1
Definition
HiveTool.h:29
HiveTool::doSomething
virtual StatusCode doSomething(const EventContext &ctx) const
Definition
HiveTool.cxx:52
HiveTool::m_rdh1
SG::ReadHandleKey< HiveDataObj > m_rdh1
Definition
HiveTool.h:28
HiveTool::finalize
virtual StatusCode finalize()
Definition
HiveTool.cxx:46
HiveTool::~HiveTool
virtual ~HiveTool()
Definition
HiveTool.cxx:21
HiveTool::initialize
virtual StatusCode initialize()
Definition
HiveTool.cxx:25
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition
StoreGate/StoreGate/WriteHandleKey.h:40
Generated on
for ATLAS Offline Software by
1.17.0