ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Control
AthenaExamples
AthExHive
src
HiveAlgE.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
3
*/
4
10
11
#ifndef ATHEXHIVE_ALGE_H
12
#define ATHEXHIVE_ALGE_H 1
13
14
#include "
HiveAlgBase.h
"
15
#include "
StoreGate/WriteHandleKey.h
"
16
#include "
StoreGate/ReadHandleKey.h
"
17
#include "
AthExHive/HiveDataObj.h
"
18
19
#include <string>
20
21
class
HiveAlgE
:
public
HiveAlgBase
{
22
23
public
:
24
25
// Standard Algorithm Constructor:
26
27
HiveAlgE
(
const
std::string& name, ISvcLocator* pSvcLocator);
28
~HiveAlgE
();
29
30
// Define the initialize and execute methods:
31
32
virtual
StatusCode
initialize
()
override
;
33
virtual
StatusCode
execute
(
const
EventContext& ctx)
const override
;
34
35
private
:
36
37
// By default, this object is created by HiveAlgC
38
SG::ReadHandleKey<HiveDataObj>
m_rdh1
{
this
,
"Key_R1"
,
"c1"
,
"Read key 1"
};
39
// By default this object is created by HiveAlgB
40
SG::ReadHandleKey<HiveDataObj>
m_rdh2
{
this
,
"Key_R2"
,
"b1"
,
"Read key 2"
};
41
42
SG::WriteHandleKey<HiveDataObj>
m_wrh1
{
this
,
"Key_W1"
,
"e1"
,
"Write key 1"
};
43
44
};
45
#endif
HiveAlgBase.h
Base class for AthExHive example Algs to provide functionality to sleep for a certain amount of time,...
HiveDataObj.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.
HiveAlgBase::HiveAlgBase
HiveAlgBase(const std::string &name, ISvcLocator *pSvcLocator)
Definition
HiveAlgBase.cxx:12
HiveAlgE::~HiveAlgE
~HiveAlgE()
HiveAlgE::m_rdh1
SG::ReadHandleKey< HiveDataObj > m_rdh1
Definition
HiveAlgE.h:38
HiveAlgE::m_rdh2
SG::ReadHandleKey< HiveDataObj > m_rdh2
Definition
HiveAlgE.h:40
HiveAlgE::HiveAlgE
HiveAlgE(const std::string &name, ISvcLocator *pSvcLocator)
Definition
HiveAlgE.cxx:7
HiveAlgE::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition
HiveAlgE.cxx:29
HiveAlgE::initialize
virtual StatusCode initialize() override
Definition
HiveAlgE.cxx:17
HiveAlgE::m_wrh1
SG::WriteHandleKey< HiveDataObj > m_wrh1
Definition
HiveAlgE.h:42
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