ATLAS Offline Software
AFP_VertexRecoTool.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_VERTEXRECOTOOL_H
6 #define AFP_VERTEXRECOTOOL_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_VertexRecoTool : public extends<AthAlgTool, IAFP_VertexRecoTool>
31 {
32 public:
33  AFP_VertexRecoTool(const std::string &type, const std::string &name, const IInterface *parent);
34 
36  virtual ~AFP_VertexRecoTool() = default;
37 
38  virtual StatusCode initialize() override;
39 
41  virtual StatusCode execute(const EventContext& ctx) const override;
42 
43 private:
44 
48  ToolHandleArray<IAFP_TimeRecoTool> m_recoToolsList {this,"RecoToolsList",{},"List of AFP vertex reconstruction tools"};
49 
53  SG::WriteHandleKeyArray<xAOD::AFPVertexContainer> m_arrayOfWriteHandleKeys{this, "AFPVertexContainerList", {"AFPVertexContainer"}, "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_VertexRecoTool::initialize
virtual StatusCode initialize() override
Definition: AFP_VertexRecoTool.cxx:18
AFPVertexAuxContainer.h
IAFP_VertexRecoTool.h
Header file for interface IAFP_VertexRecoTool.
AFP_VertexRecoTool
Algorithm reconstructing vertices from protons.
Definition: AFP_VertexRecoTool.h:31
AFP_VertexRecoTool::AFP_VertexRecoTool
AFP_VertexRecoTool(const std::string &type, const std::string &name, const IInterface *parent)
Definition: AFP_VertexRecoTool.cxx:9
SG::HandleKeyArray
Definition: StoreGate/StoreGate/HandleKeyArray.h:38
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
AthAlgTool.h
AFP_VertexRecoTool::m_recoToolsList
ToolHandleArray< IAFP_TimeRecoTool > m_recoToolsList
Vector of tool handles to be used for vertex reconstruction.
Definition: AFP_VertexRecoTool.h:48
test_pyathena.parent
parent
Definition: test_pyathena.py:15
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
AFP_VertexRecoTool::~AFP_VertexRecoTool
virtual ~AFP_VertexRecoTool()=default
Does nothing.
name
std::string name
Definition: Control/AthContainers/Root/debug.cxx:221
AFP_VertexRecoTool::execute
virtual StatusCode execute(const EventContext &ctx) const override
Run vertex reco tool.
Definition: AFP_VertexRecoTool.cxx:113
IAFP_TimeRecoTool.h
Header file for interface IAFP_TimeRecoTool.
AFP_VertexRecoTool::m_arrayOfWriteHandleKeys
SG::WriteHandleKeyArray< xAOD::AFPVertexContainer > m_arrayOfWriteHandleKeys
Array of unique write handle keys for vertex output container.
Definition: AFP_VertexRecoTool.h:53
python.CaloScaleNoiseConfig.type
type
Definition: CaloScaleNoiseConfig.py:78
AFPVertexContainer.h