ATLAS Offline Software
Loading...
Searching...
No Matches
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
30class AFP_VertexRecoTool : public extends<AthAlgTool, IAFP_VertexRecoTool>
31{
32public:
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
43private:
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
Header file for interface IAFP_TimeRecoTool.
Header file for interface IAFP_VertexRecoTool.
Property holding a SG store/key/clid from which a WriteHandle is made.
virtual StatusCode execute(const EventContext &ctx) const override
Run vertex reco tool.
virtual ~AFP_VertexRecoTool()=default
Does nothing.
SG::WriteHandleKeyArray< xAOD::AFPVertexContainer > m_arrayOfWriteHandleKeys
Array of unique write handle keys for vertex output container.
ToolHandleArray< IAFP_TimeRecoTool > m_recoToolsList
Vector of tool handles to be used for vertex reconstruction.
virtual StatusCode initialize() override
AFP_VertexRecoTool(const std::string &type, const std::string &name, const IInterface *parent)
HandleKeyArray< WriteHandle< T >, WriteHandleKey< T >, Gaudi::DataHandle::Writer > WriteHandleKeyArray