ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Control
AthenaExamples
AthExHive
src
HiveAlgF.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_ALGF_H
12
#define ATHEXHIVE_ALGF_H 1
13
14
#include "
HiveAlgBase.h
"
15
#include "
StoreGate/ReadHandleKey.h
"
16
#include "
AthExHive/HiveDataObj.h
"
17
18
#include <string>
19
20
class
HiveAlgF
:
public
HiveAlgBase
{
21
22
public
:
23
24
// Standard Algorithm Constructor:
25
26
HiveAlgF
(
const
std::string& name, ISvcLocator* pSvcLocator);
27
~HiveAlgF
();
28
29
// Define the initialize and execute methods:
30
31
virtual
StatusCode
initialize
()
override
;
32
virtual
StatusCode
execute
(
const
EventContext& ctx)
const override
;
33
34
private
:
35
36
SG::ReadHandleKey<HiveDataObj>
m_rdh1
{
this
,
"Key_R1"
,
"c2"
,
"Read key 1"
};
37
SG::ReadHandleKey<HiveDataObj>
m_rdh2
{
this
,
"Key_R2"
,
"e1"
,
"Read key 2"
};
38
SG::ReadHandleKey<HiveDataObj>
m_rdh3
{
this
,
"Key_R3"
,
"d1"
,
"Read key 3"
};
39
SG::ReadHandleKey<HiveDataObj>
m_rdh4
{
this
,
"Key_R4"
,
"C1"
,
"Read key 4"
};
40
SG::ReadHandleKey<HiveDataObj>
m_rdh5
{
this
,
"Key_R5"
,
"b1"
,
"Read key 5"
};
41
SG::ReadHandleKey<HiveDataObj>
m_rdh6
{
this
,
"Key_R6"
,
"a1"
,
"Read key 6"
};
42
43
};
44
#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.
HiveAlgBase::HiveAlgBase
HiveAlgBase(const std::string &name, ISvcLocator *pSvcLocator)
Definition
HiveAlgBase.cxx:12
HiveAlgF::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition
HiveAlgF.cxx:32
HiveAlgF::m_rdh2
SG::ReadHandleKey< HiveDataObj > m_rdh2
Definition
HiveAlgF.h:37
HiveAlgF::m_rdh1
SG::ReadHandleKey< HiveDataObj > m_rdh1
Definition
HiveAlgF.h:36
HiveAlgF::m_rdh5
SG::ReadHandleKey< HiveDataObj > m_rdh5
Definition
HiveAlgF.h:40
HiveAlgF::m_rdh6
SG::ReadHandleKey< HiveDataObj > m_rdh6
Definition
HiveAlgF.h:41
HiveAlgF::m_rdh3
SG::ReadHandleKey< HiveDataObj > m_rdh3
Definition
HiveAlgF.h:38
HiveAlgF::m_rdh4
SG::ReadHandleKey< HiveDataObj > m_rdh4
Definition
HiveAlgF.h:39
HiveAlgF::HiveAlgF
HiveAlgF(const std::string &name, ISvcLocator *pSvcLocator)
Definition
HiveAlgF.cxx:7
HiveAlgF::~HiveAlgF
~HiveAlgF()
HiveAlgF::initialize
virtual StatusCode initialize() override
Definition
HiveAlgF.cxx:17
SG::ReadHandleKey
Property holding a SG store/key/clid from which a ReadHandle is made.
Definition
StoreGate/StoreGate/ReadHandleKey.h:40
Generated on
for ATLAS Offline Software by
1.17.0