ATLAS Offline Software
Loading...
Searching...
No Matches
AthViews/src_dflow/DFlowAlg2.h
Go to the documentation of this file.
1
2
3/*
4 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
5*/
6
7// DFlowAlg2.h
8// Header file for class DFlowAlg2
9// Author: S.Binet<binet@cern.ch>
11#ifndef ATHVIEWS_ATHVIEWS_DFLOWALG2_H
12#define ATHVIEWS_ATHVIEWS_DFLOWALG2_H 1
13
14// STL includes
15#include <string>
16
17// FrameWork includes
23
24namespace AthViews {
25
28{
29 public:
30 using AthReentrantAlgorithm::AthReentrantAlgorithm;
31
32 // Athena algorithm's Hooks
33 virtual StatusCode initialize() override;
34 virtual StatusCode execute(const EventContext& ctx) const override;
35 virtual StatusCode finalize() override;
36
37 private:
38 SG::ReadHandleKey<int> m_r_int{this, "RIntFlow", "dflow_int", "Data flow of int"};
39 SG::WriteHandleKey<std::vector<int> > m_ints{this, "IntsFlow", "dflow_ints", "Data flow of integers"};
40 SG::UpdateHandleKey< HiveDataObj > m_testUpdate{this, "TestUpdate", "testUpdate", "Test update handle"};
41};
42
43} //> end namespace AthViews
44#endif //> !ATHVIEWS_ATHVIEWS_DFLOWALG2_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.
Property holding a SG store/key/clid from which an UpdateHandle is made.
An algorithm that can be simultaneously executed in multiple threads.
virtual StatusCode initialize() override
SG::WriteHandleKey< std::vector< int > > m_ints
SG::ReadHandleKey< int > m_r_int
virtual StatusCode execute(const EventContext &ctx) const override
virtual StatusCode finalize() override
SG::UpdateHandleKey< HiveDataObj > m_testUpdate
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.