ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Control
AthViews
src_dflow
ViewMergeAlg.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 ATHVIEWS_ATHVIEWS_VIEWMERGEALG_H
6
#define ATHVIEWS_ATHVIEWS_VIEWMERGEALG_H 1
7
8
// STL includes
9
#include <string>
10
#include <vector>
11
12
// FrameWork includes
13
#include "
AthenaBaseComps/AthReentrantAlgorithm.h
"
14
#include "
StoreGate/ReadHandleKey.h
"
15
#include "
StoreGate/WriteHandleKey.h
"
16
#include "
AthViews/View.h
"
17
18
namespace
AthViews
{
19
20
class
ViewMergeAlg
21
:
public
::AthReentrantAlgorithm
22
{
23
public
:
24
using
AthReentrantAlgorithm::AthReentrantAlgorithm;
25
26
// Athena algorithm's Hooks
27
virtual
StatusCode
initialize
()
override
;
28
virtual
StatusCode
execute
(
const
EventContext& ctx)
const override
;
29
virtual
StatusCode
finalize
()
override
;
30
31
private
:
32
SG::WriteHandleKey< std::vector<int>
>
m_w_ints
{
this
,
"MergedInts"
,
"mergedOutput"
,
"Data flow of ints"
};
33
SG::ReadHandleKey< std::vector<int>
>
m_r_ints
{
"dflow_ints"
};
//This is not guaranteed to be created, so can't be declared as property
34
SG::ReadHandleKey< ViewContainer >
m_r_views
{
this
,
"AllViews"
,
"all_views"
,
"All views"
};
35
};
36
}
//> end namespace AthViews
37
#endif
//> !ATHVIEWS_ATHVIEWS_VIEWMERGEALG_H
AthReentrantAlgorithm.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.
View.h
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition
AthReentrantAlgorithm.h:74
AthViews::ViewMergeAlg
Definition
ViewMergeAlg.h:22
AthViews::ViewMergeAlg::m_r_views
SG::ReadHandleKey< ViewContainer > m_r_views
Definition
ViewMergeAlg.h:34
AthViews::ViewMergeAlg::m_w_ints
SG::WriteHandleKey< std::vector< int > > m_w_ints
Definition
ViewMergeAlg.h:32
AthViews::ViewMergeAlg::m_r_ints
SG::ReadHandleKey< std::vector< int > > m_r_ints
Definition
ViewMergeAlg.h:33
AthViews::ViewMergeAlg::initialize
virtual StatusCode initialize() override
Definition
ViewMergeAlg.cxx:18
AthViews::ViewMergeAlg::execute
virtual StatusCode execute(const EventContext &ctx) const override
Definition
ViewMergeAlg.cxx:36
AthViews::ViewMergeAlg::finalize
virtual StatusCode finalize() override
Definition
ViewMergeAlg.cxx:29
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
AthViews
Definition
ViewDataVerifier.cxx:18
Generated on
for ATLAS Offline Software by
1.17.0