ATLAS Offline Software
Loading...
Searching...
No Matches
Reconstruction/Jet/JetRecTools/JetRecTools/TrackVertexAssociationTool.h
Go to the documentation of this file.
1// -*- C++ -*-
2
3/*
4 Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
5*/
6
7#ifndef JETRECTOOLS_TRACKVERTEXASSOCIATIONTOOL_H
8#define JETRECTOOLS_TRACKVERTEXASSOCIATIONTOOL_H
9
10#include "AsgTools/AsgTool.h"
11
14
18#include "AsgTools/ToolHandle.h"
21
22#include <string>
44
46 virtual public IJetExecuteTool
47{
49
50 public:
51 TrackVertexAssociationTool(const std::string & t);
52
53
54 StatusCode initialize();
55
56 // Retrieve necessary inputs, call building function, store result in evtStore
57 int execute() const;
58
59private:
60
61 std::unique_ptr<jet::TrackVertexAssociation>
63 const xAOD::VertexContainer*) const;
64 // Constuct a TrackVertexAssociation using the older custom method
65 // jet::TrackVertexAssociation*
66 std::unique_ptr<jet::TrackVertexAssociation>
68 const xAOD::VertexContainer*) const;
69
70 std::unique_ptr<jet::TrackVertexAssociation>
73 bool useCustom) const;
74
75 ToolHandle<CP::ITrackVertexAssociationTool> m_tvaTool;
76
77 // old Configurable parameters
78
82
86
87};
88
89
90#endif
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
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.
IJetExecuteTool is a dual-use tool interface for generic tools, i.e. those that behave like algorithm...
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.
std::unique_ptr< jet::TrackVertexAssociation > makeTrackVertexAssociation(const xAOD::TrackParticleContainer *, const xAOD::VertexContainer *, bool useCustom) const
StatusCode initialize()
Dummy implementation of the initialisation function.
std::unique_ptr< jet::TrackVertexAssociation > buildTrackVertexAssociation_withTool(const xAOD::TrackParticleContainer *, const xAOD::VertexContainer *) const
std::unique_ptr< jet::TrackVertexAssociation > buildTrackVertexAssociation_custom(const xAOD::TrackParticleContainer *, const xAOD::VertexContainer *) const
Base class for the dual-use tool implementation classes.
Definition AsgTool.h:47
VertexContainer_v1 VertexContainer
Definition of the current "Vertex container version".
TrackParticleContainer_v1 TrackParticleContainer
Definition of the current "TrackParticle container version".