ATLAS Offline Software
Loading...
Searching...
No Matches
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
16#include "AthViews/View.h"
17
18namespace AthViews {
19
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
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
An algorithm that can be simultaneously executed in multiple threads.
SG::ReadHandleKey< ViewContainer > m_r_views
SG::WriteHandleKey< std::vector< int > > m_w_ints
SG::ReadHandleKey< std::vector< int > > m_r_ints
virtual StatusCode initialize() override
virtual StatusCode execute(const EventContext &ctx) const override
virtual StatusCode finalize() override
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.