ATLAS Offline Software
Loading...
Searching...
No Matches
ViewSubgraphAlg.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 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
21 : public ::AthAlgorithm
22{
23
25 // Public methods:
27 public:
28
29 // Copy constructor:
30
32 ViewSubgraphAlg( const std::string& name, ISvcLocator* pSvcLocator );
33
35 virtual ~ViewSubgraphAlg();
36
37 // Athena algorithm's Hooks
38 virtual StatusCode initialize();
39 virtual StatusCode execute();
40 virtual StatusCode finalize();
41 private:
42
45
47
48 // vars
49 ServiceHandle< IScheduler > m_scheduler { this, "Scheduler", "AvalancheSchedulerSvc", "The Athena scheduler" };
50 SG::WriteHandleKey< ViewContainer > m_w_views { this, "AllViews", "all_views", "All views" };
51 SG::ReadHandleKey< ViewContainer > m_r_views { this, "ParentViews", "", "Parent views" };
52 SG::WriteHandleKey< int > m_w_int { this, "ViewStart", "view_start", "A number to start off the view" };
53 Gaudi::Property< std::string > m_viewBaseName { this, "ViewBaseName", "", "Name to use for all views - number will be appended" };
54 Gaudi::Property< std::string > m_viewNodeName { this, "ViewNodeName", "", "Name of CF node to attach views to" };
55 Gaudi::Property< int > m_viewNumber { this, "ViewNumber", 0, "Total number of views to make" };
56};
57
58
59} //> end namespace AthViews
60
61#endif //> !ATHVIEWS_ATHVIEWS_VIEWMAKEALG_H
Property holding a SG store/key/clid from which a WriteHandle is made.
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
virtual StatusCode finalize()
ViewSubgraphAlg(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
Gaudi::Property< int > m_viewNumber
virtual ~ViewSubgraphAlg()
Destructor:
virtual StatusCode initialize()
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 execute()
ServiceHandle< IScheduler > m_scheduler
Containers.
SG::WriteHandleKey< int > m_w_int
ViewSubgraphAlg()
Default constructor:
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.