ATLAS Offline Software
Loading...
Searching...
No Matches
ViewTestAlg.h
Go to the documentation of this file.
1
2/*
3 Copyright (C) 2002-2026 CERN for the benefit of the ATLAS collaboration
4*/
5
6// ViewTestAlg.h
7// Header file for class ViewTestAlg
8// Author: B. Wynne <bwynne@cern.ch>
10
11#ifndef ATHVIEWS_VIEWTESTALG_H
12#define ATHVIEWS_VIEWTESTALG_H 1
13
14#include <string>
17
18namespace AthViews {
19
21{
22 public:
23 using AthReentrantAlgorithm::AthReentrantAlgorithm;
24
25 // Athena algorithm hooks
26 virtual StatusCode initialize() override;
27 virtual StatusCode execute(const EventContext& ctx) const override;
28 virtual StatusCode finalize() override;
29
30 private:
31
32 SG::WriteHandleKey< int > m_output{ this, "Output", "", "Optional output object" };
33};
34
35} //> end namespace AthViews
36
37#endif //> !ATHVIEWS_VIEWTESTALG_H
Property holding a SG store/key/clid from which a WriteHandle is made.
An algorithm that can be simultaneously executed in multiple threads.
virtual StatusCode initialize() override
SG::WriteHandleKey< int > m_output
Definition ViewTestAlg.h:32
virtual StatusCode execute(const EventContext &ctx) const override
virtual StatusCode finalize() override