ATLAS Offline Software
Loading...
Searching...
No Matches
ViewMergeAlg.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_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
21 : public ::AthAlgorithm
22{
23
25 // Public methods:
27 public:
28
29 // Copy constructor:
30
32 ViewMergeAlg( const std::string& name, ISvcLocator* pSvcLocator );
33
35 virtual ~ViewMergeAlg();
36
37 // Athena algorithm's Hooks
38 virtual StatusCode initialize();
39 virtual StatusCode execute();
40 virtual StatusCode finalize();
41
42 private:
43
46
47
48 // vars
49 SG::WriteHandleKey< std::vector<int> > m_w_ints{ this, "MergedInts", "mergedOutput", "Data flow of ints" };
50 SG::ReadHandleKey< std::vector<int> > m_r_ints; //This is not guaranteed to be created, so can't be declared
51 SG::ReadHandleKey< ViewContainer > m_r_views{ this, "AllViews", "all_views", "All views" };
52};
53} //> end namespace AthViews
54#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.
AthAlgorithm(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
virtual StatusCode execute()
SG::ReadHandleKey< ViewContainer > m_r_views
virtual StatusCode finalize()
SG::WriteHandleKey< std::vector< int > > m_w_ints
virtual ~ViewMergeAlg()
Destructor:
SG::ReadHandleKey< std::vector< int > > m_r_ints
ViewMergeAlg(const std::string &name, ISvcLocator *pSvcLocator)
Constructor with parameters:
ViewMergeAlg()
Default constructor:
virtual StatusCode initialize()
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.