ATLAS Offline Software
Loading...
Searching...
No Matches
ViewSubgraphAlg.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_VIEWSUBGRAPHALG_H
6#define ATHVIEWS_ATHVIEWS_VIEWSUBGRAPHALG_H 1
7
8// STL includes
9#include <string>
10#include <vector>
11
12// FrameWork includes
14#include "AthViews/View.h"
16#include "GaudiKernel/IScheduler.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 private:
31 ServiceHandle< IScheduler > m_scheduler { this, "Scheduler", "AvalancheSchedulerSvc", "The Athena scheduler" };
32 SG::WriteHandleKey< ViewContainer > m_w_views { this, "AllViews", "all_views", "All views" };
33 SG::ReadHandleKey< ViewContainer > m_r_views { this, "ParentViews", "", "Parent views" };
34 SG::WriteHandleKey< int > m_w_int { this, "ViewStart", "view_start", "A number to start off the view" };
35 Gaudi::Property< std::string > m_viewBaseName { this, "ViewBaseName", "", "Name to use for all views - number will be appended" };
36 Gaudi::Property< std::string > m_viewNodeName { this, "ViewNodeName", "", "Name of CF node to attach views to" };
37 Gaudi::Property< int > m_viewNumber { this, "ViewNumber", 0, "Total number of views to make" };
38};
39
40
41} //> end namespace AthViews
42
43#endif //> !ATHVIEWS_ATHVIEWS_VIEWMAKEALG_H
Property holding a SG store/key/clid from which a WriteHandle is made.
An algorithm that can be simultaneously executed in multiple threads.
Gaudi::Property< int > m_viewNumber
virtual StatusCode initialize() override
virtual StatusCode execute(const EventContext &ctx) const override
SG::WriteHandleKey< ViewContainer > m_w_views
SG::ReadHandleKey< ViewContainer > m_r_views
Gaudi::Property< std::string > m_viewBaseName
Gaudi::Property< std::string > m_viewNodeName
virtual StatusCode finalize() override
ServiceHandle< IScheduler > m_scheduler
SG::WriteHandleKey< int > m_w_int
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.