ATLAS Offline Software
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
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
()
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
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
HiveDataObj.h
SG::ReadHandleKey< xAOD::EventInfo >
HiveAlgA::m_wrh2
SG::WriteHandleKey< HiveDataObj > m_wrh2
Definition:
HiveAlgA.h:42
SG::WriteHandleKey< HiveDataObj >
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
HiveAlgA::initialize
virtual StatusCode initialize() override
Definition:
HiveAlgA.cxx:18
HiveAlgA::m_evt
SG::ReadHandleKey< xAOD::EventInfo > m_evt
Definition:
HiveAlgA.h:39
HiveAlgA::~HiveAlgA
~HiveAlgA()
HiveAlgBase
Definition:
HiveAlgBase.h:26
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
HiveAlgA
Definition:
HiveAlgA.h:23
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:240
HiveAlgA::execute
virtual StatusCode execute() override
Definition:
HiveAlgA.cxx:31
EventInfo.h
HiveAlgA::m_wrh1
SG::WriteHandleKey< HiveDataObj > m_wrh1
Definition:
HiveAlgA.h:41
HiveAlgA::HiveAlgA
HiveAlgA(const std::string &name, ISvcLocator *pSvcLocator)
Definition:
HiveAlgA.cxx:8
HiveAlgBase.h
Base class for AthExHive example Algs to provide functionality to sleep for a certain amount of time,...
Generated on Tue Sep 2 2025 21:12:31 for ATLAS Offline Software by
1.8.18