ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Control
AthenaExamples
AthExHive
src
loopTest
HiveAlgM.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_ALGM_H
6
#define ATHEXHIVE_ALGM_H 1
7
8
#include "
../HiveAlgBase.h
"
9
#include "
StoreGate/ReadHandleKey.h
"
10
#include "
AthExHive/HiveDataObj.h
"
11
12
#include <string>
13
14
class
HiveAlgM
:
public
HiveAlgBase
{
15
16
public
:
17
18
// Standard Algorithm Constructor:
19
20
HiveAlgM
(
const
std::string& name, ISvcLocator* pSvcLocator);
21
~HiveAlgM
();
22
23
// Define the initialize, execute and finalize methods:
24
25
virtual
StatusCode
initialize
()
override
;
26
virtual
StatusCode
execute
(
const
EventContext& ctx)
const override
;
27
28
private
:
29
30
Gaudi::Property<int>
m_off
{
this
,
"Offset"
, 1,
"offset"
};
31
SG::ReadHandleKey<HiveDataObj>
m_rdh1
{
this
,
"Key_R1"
,
"a2"
,
"read key 1"
};
32
SG::ReadHandleKey<HiveDataObj>
m_rdh2
{
this
,
"Key_R2"
,
"l1"
,
"read key 2"
};
33
34
};
35
#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
HiveAlgM::m_rdh1
SG::ReadHandleKey< HiveDataObj > m_rdh1
Definition
HiveAlgM.h:31
HiveAlgM::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition
HiveAlgM.cxx:26
HiveAlgM::m_rdh2
SG::ReadHandleKey< HiveDataObj > m_rdh2
Definition
HiveAlgM.h:32
HiveAlgM::initialize
virtual StatusCode initialize() override
Definition
HiveAlgM.cxx:17
HiveAlgM::m_off
Gaudi::Property< int > m_off
Definition
HiveAlgM.h:30
HiveAlgM::HiveAlgM
HiveAlgM(const std::string &name, ISvcLocator *pSvcLocator)
Definition
HiveAlgM.cxx:10
HiveAlgM::~HiveAlgM
~HiveAlgM()
Definition
HiveAlgM.cxx:15
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