ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Control
AthenaExamples
AthExHive
src
HiveAlgA.h
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3
*/
4
10
11
#ifndef ATHEXHIVE_ALGA_H
12
#define ATHEXHIVE_ALGA_H 1
13
14
#include "
HiveAlgBase.h
"
15
#include "
StoreGate/ReadHandleKey.h
"
16
#include "
StoreGate/WriteHandleKey.h
"
17
#include "
AthExHive/HiveDataObj.h
"
18
19
#include "
xAODEventInfo/EventInfo.h
"
20
21
#include <string>
22
23
class
HiveAlgA
:
public
HiveAlgBase
{
24
25
public
:
26
27
// Standard Algorithm Constructor:
28
29
HiveAlgA
(
const
std::string& name, ISvcLocator* pSvcLocator);
30
~HiveAlgA
();
31
32
// Define the initialize and execute methods:
33
34
virtual
StatusCode
initialize
()
override
;
35
virtual
StatusCode
execute
(
const
EventContext& ctx)
const override
;
36
37
private
:
38
39
SG::ReadHandleKey<xAOD::EventInfo>
m_evt
{
this
,
"EvtInfo"
,
"EventInfo"
,
"xAOD EventInfo name"
};
40
41
SG::WriteHandleKey<HiveDataObj>
m_wrh1
{
this
,
"Key_W1"
,
"a1"
,
"WHK 1"
};
42
SG::WriteHandleKey<HiveDataObj>
m_wrh2
{
this
,
"Key_W2"
,
"a2"
,
"WHK 2"
};
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.
HiveAlgA::m_wrh2
SG::WriteHandleKey< HiveDataObj > m_wrh2
Definition
HiveAlgA.h:42
HiveAlgA::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition
HiveAlgA.cxx:30
HiveAlgA::m_wrh1
SG::WriteHandleKey< HiveDataObj > m_wrh1
Definition
HiveAlgA.h:41
HiveAlgA::m_evt
SG::ReadHandleKey< xAOD::EventInfo > m_evt
Definition
HiveAlgA.h:39
HiveAlgA::HiveAlgA
HiveAlgA(const std::string &name, ISvcLocator *pSvcLocator)
Definition
HiveAlgA.cxx:7
HiveAlgA::initialize
virtual StatusCode initialize() override
Definition
HiveAlgA.cxx:17
HiveAlgA::~HiveAlgA
~HiveAlgA()
HiveAlgBase::HiveAlgBase
HiveAlgBase(const std::string &name, ISvcLocator *pSvcLocator)
Definition
HiveAlgBase.cxx:12
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
EventInfo.h
Generated on
for ATLAS Offline Software by
1.17.0