ATLAS Offline Software
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 
30 class AFP_GlobRecoTool : public extends<AthAlgTool, IAFP_GlobRecoTool>
31 {
32 public:
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 
43 private:
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
AFP_GlobRecoTool::AFP_GlobRecoTool
AFP_GlobRecoTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition: AFP_GlobRecoTool.cxx:9
AFP_GlobRecoTool::m_recoToolsList
ToolHandleArray< IAFP_ProtonRecoTool > m_recoToolsList
Vector of tool handles to be used for proton reconstruction.
Definition: AFP_GlobRecoTool.h:48
SG::HandleKeyArray
Definition: StoreGate/StoreGate/HandleKeyArray.h:38
IAFP_GlobRecoTool.h
Header file for interface IAFP_GlobRecoTool.
IAFP_ProtonRecoTool.h
Header file for interface IAFP_ProtonRecoTool.
AFP_GlobRecoTool::initialize
StatusCode initialize() override
Definition: AFP_GlobRecoTool.cxx:18
AFP_GlobRecoTool::~AFP_GlobRecoTool
~AFP_GlobRecoTool()=default
Does nothing.
AFP_GlobRecoTool::execute
StatusCode execute(const EventContext &ctx) const override
Run proton reco tool.
Definition: AFP_GlobRecoTool.cxx:113
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
test_pyathena.parent
parent
Definition: test_pyathena.py:15
AFPProtonContainer.h
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:228
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
AFPProtonAuxContainer.h
AFP_GlobRecoTool
Algorithm reconstructing protons from tracks.
Definition: AFP_GlobRecoTool.h:31
AFP_GlobRecoTool::m_arrayOfWriteHandleKeys
SG::WriteHandleKeyArray< xAOD::AFPProtonContainer > m_arrayOfWriteHandleKeys
Array of unique write handle keys for track output containers.
Definition: AFP_GlobRecoTool.h:53