ATLAS Offline Software
Loading...
Searching...
No Matches
Reco_Vertex.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3*/
4
6// Reco_Vertex.h
8
9#ifndef DERIVATIONFRAMEWORK_Reco_Vertex_H
10#define DERIVATIONFRAMEWORK_Reco_Vertex_H
11
13#include "GaudiKernel/ToolHandle.h"
22
23namespace DerivationFramework {
24
25 class Reco_Vertex : public extends<AthAlgTool, IAugmentationTool> {
26 public:
27 Reco_Vertex(const std::string& t, const std::string& n, const IInterface* p);
28
29 virtual StatusCode initialize();
30
31 virtual StatusCode addBranches(const EventContext& ctx) const;
32
33 private:
36 ToolHandle<Trk::V0Tools> m_v0Tools;
37 ToolHandle<Analysis::ICandidateSearch> m_SearchTool;
38 ToolHandle<Analysis::PrimaryVertexRefitter> m_pvRefitter;
39 SG::ReadHandleKey<xAOD::EventInfo> m_eventInfo_key{this, "EventInfo", "EventInfo", "Input event information"};
49 bool m_do3d;
52 SG::ReadHandleKeyArray<xAOD::TrackParticleContainer> m_RelinkContainers{this, "RelinkTracks", {}, "Track Containers if they need to be relinked through indirect use" };
53 SG::ReadHandleKeyArray<xAOD::MuonContainer> m_RelinkMuons{this, "RelinkMuons", {}, "Muon Containers if they need to be relinked through indirect use" };
54 };
55}
56
57#endif // DERIVATIONFRAMEWORK_Reco_Vertex_H
SG::ReadHandleKey< xAOD::EventInfo > m_eventInfo_key
Definition Reco_Vertex.h:39
ToolHandle< Analysis::ICandidateSearch > m_SearchTool
Definition Reco_Vertex.h:37
SG::WriteHandleKey< xAOD::VertexContainer > m_refPVContainerName
Definition Reco_Vertex.h:44
ToolHandle< Trk::V0Tools > m_v0Tools
tools
Definition Reco_Vertex.h:36
SG::ReadHandleKey< xAOD::VertexContainer > m_pvContainerName
Definition Reco_Vertex.h:43
ToolHandle< Analysis::PrimaryVertexRefitter > m_pvRefitter
Definition Reco_Vertex.h:38
SG::ReadHandleKeyArray< xAOD::TrackParticleContainer > m_RelinkContainers
Definition Reco_Vertex.h:52
SG::ReadHandleKeyArray< xAOD::MuonContainer > m_RelinkMuons
Definition Reco_Vertex.h:53
SG::WriteHandleKey< xAOD::VertexContainer > m_outputVtxContainerName
job options
Definition Reco_Vertex.h:42
Reco_Vertex(const std::string &t, const std::string &n, const IInterface *p)
SG::ReadHandleKeyArray< xAOD::VertexContainer > m_CollectionsToCheck
Definition Reco_Vertex.h:51
virtual StatusCode initialize()
virtual StatusCode addBranches(const EventContext &ctx) const
Property holding a SG store/key/clid from which a ReadHandle is made.
Property holding a SG store/key/clid from which a WriteHandle is made.
THE reconstruction tool.
HandleKeyArray< ReadHandle< T >, ReadHandleKey< T >, Gaudi::DataHandle::Reader > ReadHandleKeyArray