ATLAS Offline Software
Control
AthenaExamples
AthExStoreGateExample
src_dflow
AthenaExamples/AthExStoreGateExample/src_dflow/DFlowAlg3.h
Go to the documentation of this file.
1
3
/*
4
Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
5
*/
6
7
// DFlowAlg3.h
8
// Header file for class DFlowAlg3
9
// Author: S.Binet<binet@cern.ch>
11
#ifndef ATHEXSTOREGATEEXAMPLE_ATHEX_DFLOWALG3_H
12
#define ATHEXSTOREGATEEXAMPLE_ATHEX_DFLOWALG3_H 1
13
14
// STL includes
15
#include <string>
16
17
// FrameWork includes
18
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
19
#include "
StoreGate/ReadHandleKey.h
"
20
21
namespace
AthEx
{
22
23
class
DFlowAlg3
24
:
public
::AthReentrantAlgorithm
25
{
26
public
:
28
DFlowAlg3
(
const
std::string&
name
, ISvcLocator* pSvcLocator );
29
31
virtual
~DFlowAlg3
();
32
33
// Athena algorithm's Hooks
34
virtual
StatusCode
initialize
()
override
;
35
virtual
StatusCode
execute
(
const
EventContext& ctx)
const override
;
36
virtual
StatusCode
finalize
()
override
;
37
38
39
private
:
40
DFlowAlg3
() =
delete
;
41
42
SG::ReadHandleKey<int>
m_r_int
43
{
this
,
"RIntFlow"
,
"dflow_int2"
,
""
};
44
SG::ReadHandleKey<std::vector<int>
>
m_r_ints
45
{
this
,
"RIntsFlow"
,
"dflow_ints"
,
""
};
46
SG::WriteHandleKey<std::vector<int>
>
m_w_ints
47
{
this
,
"WIntsFlow"
,
"dflow_ints2"
,
""
};
48
49
};
50
51
52
}
//> end namespace AthEx
53
#endif //> !ATHEXSTOREGATEEXAMPLE_ATHEX_DFLOWALG3_H
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
SG::ReadHandleKey< int >
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition:
AthReentrantAlgorithm.h:83
SG::WriteHandleKey
Property holding a SG store/key/clid from which a WriteHandle is made.
Definition:
StoreGate/StoreGate/WriteHandleKey.h:40
AthEx::DFlowAlg3
Definition:
AthenaExamples/AthExStoreGateExample/src_dflow/DFlowAlg3.h:25
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition:
PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthEx
Definition:
Hist.h:25
AthEx::DFlowAlg3::initialize
virtual StatusCode initialize() override
Definition:
AthenaExamples/AthExStoreGateExample/src_dflow/DFlowAlg3.cxx:52
AthEx::DFlowAlg3::finalize
virtual StatusCode finalize() override
Definition:
AthenaExamples/AthExStoreGateExample/src_dflow/DFlowAlg3.cxx:62
AthReentrantAlgorithm.h
AthEx::DFlowAlg3::~DFlowAlg3
virtual ~DFlowAlg3()
Destructor:
Definition:
AthenaExamples/AthExStoreGateExample/src_dflow/DFlowAlg3.cxx:47
AthEx::DFlowAlg3::DFlowAlg3
DFlowAlg3()=delete
name
std::string name
Definition:
Control/AthContainers/Root/debug.cxx:195
AthEx::DFlowAlg3::m_r_int
SG::ReadHandleKey< int > m_r_int
Definition:
AthenaExamples/AthExStoreGateExample/src_dflow/DFlowAlg3.h:43
AthEx::DFlowAlg3::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition:
AthenaExamples/AthExStoreGateExample/src_dflow/DFlowAlg3.cxx:69
AthEx::DFlowAlg3::m_r_ints
SG::ReadHandleKey< std::vector< int > > m_r_ints
Definition:
AthenaExamples/AthExStoreGateExample/src_dflow/DFlowAlg3.h:45
AthEx::DFlowAlg3::m_w_ints
SG::WriteHandleKey< std::vector< int > > m_w_ints
Definition:
AthenaExamples/AthExStoreGateExample/src_dflow/DFlowAlg3.h:47
Generated on Tue Jul 2 2024 21:14:00 for ATLAS Offline Software by
1.8.18