ATLAS Offline Software
MergeViews.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 #ifndef ViewAlgs_MergeViews_h
6 #define ViewAlgs_MergeViews_h
7 
10 
11 class MergeViews : virtual public AthReentrantAlgorithm {
12 public:
13  MergeViews(const std::string& name, ISvcLocator* pSvcLocator);
14  StatusCode initialize() override;
15  StatusCode execute( const EventContext& context ) const override;
16 private:
17  SG::ReadHandleKey< ViewContainer > m_viewsKey { this, "Views", "Views", "Collection of views to read from" };
18  ToolHandleArray<IViewsMergerTool> m_mergingTools {this, "MergingTools", {}, "Merging tools used to perform the merging action" };
19 };
20 
21 #endif
IViewsMergerTool.h
MergeViews::m_mergingTools
ToolHandleArray< IViewsMergerTool > m_mergingTools
Definition: MergeViews.h:18
SG::ReadHandleKey< ViewContainer >
MergeViews::MergeViews
MergeViews(const std::string &name, ISvcLocator *pSvcLocator)
Definition: MergeViews.cxx:6
AthReentrantAlgorithm
An algorithm that can be simultaneously executed in multiple threads.
Definition: AthReentrantAlgorithm.h:83
MergeViews
Definition: MergeViews.h:11
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
MergeViews::execute
StatusCode execute(const EventContext &context) const override
Definition: MergeViews.cxx:14
AthReentrantAlgorithm.h
MergeViews::initialize
StatusCode initialize() override
Definition: MergeViews.cxx:9
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:195
MergeViews::m_viewsKey
SG::ReadHandleKey< ViewContainer > m_viewsKey
Definition: MergeViews.h:17