ATLAS Offline Software
Loading...
Searching...
No Matches
AFP_GlobRecoTool.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 AFP_GLOBRECOTOOL_H
6#define AFP_GLOBRECOTOOL_H
7
8
11
13#include "GaudiKernel/ToolHandle.h"
15
18
19// monitoring tool to be added soon
20// #include "AthenaMonitoringKernel/GenericMonitoringTool.h"
21
22#include <string>
23#include <vector>
24#include <utility>
25#include <memory>
26#include <algorithm>
27
28
30class AFP_GlobRecoTool : public extends<AthAlgTool, IAFP_GlobRecoTool>
31{
32public:
33 AFP_GlobRecoTool(const std::string &type, const std::string &name, const IInterface *parent);
34
36 ~AFP_GlobRecoTool() = default;
37
38 StatusCode initialize() override;
39
41 StatusCode execute(const EventContext& ctx) const override;
42
43private:
44
48 ToolHandleArray<IAFP_ProtonRecoTool> m_recoToolsList {this,"RecoToolsList",{},"List of AFP proton reconstruction tools"};
49
53 SG::WriteHandleKeyArray<xAOD::AFPProtonContainer> m_arrayOfWriteHandleKeys{this, "AFPProtonContainerList", {"AFPProtonContainer"}, "List of output containers"};
54
55 // monitoring tool to be added soon
57// ToolHandle<GenericMonitoringTool> m_monTool {this, "MonTool", "", "Monitoring tool"};
58};
59
60#endif
Header file for interface IAFP_GlobRecoTool.
Header file for interface IAFP_ProtonRecoTool.
Property holding a SG store/key/clid from which a WriteHandle is made.
AFP_GlobRecoTool(const std::string &type, const std::string &name, const IInterface *parent)
StatusCode initialize() override
SG::WriteHandleKeyArray< xAOD::AFPProtonContainer > m_arrayOfWriteHandleKeys
Array of unique write handle keys for track output containers.
ToolHandleArray< IAFP_ProtonRecoTool > m_recoToolsList
Vector of tool handles to be used for proton reconstruction.
StatusCode execute(const EventContext &ctx) const override
Run proton reco tool.
~AFP_GlobRecoTool()=default
Does nothing.
HandleKeyArray< WriteHandle< T >, WriteHandleKey< T >, Gaudi::DataHandle::Writer > WriteHandleKeyArray