ATLAS Offline Software
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 
55 
56  // Retrieve necessary inputs, call building function, store result in evtStore
57  int execute() const;
58 
59 private:
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>
72  const xAOD::VertexContainer*,
73  bool useCustom) const;
74 
75  ToolHandle<CP::ITrackVertexAssociationTool> m_tvaTool;
76 
77  // old Configurable parameters
78 
82 
86 
87 };
88 
89 
90 #endif
asg::AsgTool
Base class for the dual-use tool implementation classes.
Definition: AsgTool.h:47
TrackVertexAssociationTool::m_longDistMax
float m_longDistMax
Definition: Reconstruction/Jet/JetRecTools/JetRecTools/TrackVertexAssociationTool.h:80
IJetExecuteTool
IJetExecuteTool is a dual-use tool interface for generic tools, i.e. those that behave like algorithm...
Definition: IJetExecuteTool.h:19
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
SG::ReadHandleKey< xAOD::TrackParticleContainer >
TrackVertexAssociationTool::buildTrackVertexAssociation_custom
std::unique_ptr< jet::TrackVertexAssociation > buildTrackVertexAssociation_custom(const xAOD::TrackParticleContainer *, const xAOD::VertexContainer *) const
Definition: Reconstruction/Jet/JetRecTools/Root/TrackVertexAssociationTool.cxx:141
TrackVertexAssociationTool::makeTrackVertexAssociation
std::unique_ptr< jet::TrackVertexAssociation > makeTrackVertexAssociation(const xAOD::TrackParticleContainer *, const xAOD::VertexContainer *, bool useCustom) const
Definition: Reconstruction/Jet/JetRecTools/Root/TrackVertexAssociationTool.cxx:199
TrackVertexAssociationTool::m_tvaTool
ToolHandle< CP::ITrackVertexAssociationTool > m_tvaTool
Definition: Reconstruction/Jet/JetRecTools/JetRecTools/TrackVertexAssociationTool.h:75
SG::WriteHandleKey< jet::TrackVertexAssociation >
IJetExecuteTool.h
TrackVertexAssociationTool::m_tva_key
SG::WriteHandleKey< jet::TrackVertexAssociation > m_tva_key
Definition: Reconstruction/Jet/JetRecTools/JetRecTools/TrackVertexAssociationTool.h:85
TrackVertexAssociationTool::m_vertexContainer_key
SG::ReadHandleKey< xAOD::VertexContainer > m_vertexContainer_key
Definition: Reconstruction/Jet/JetRecTools/JetRecTools/TrackVertexAssociationTool.h:84
EL::StatusCode
::StatusCode StatusCode
StatusCode definition for legacy code.
Definition: PhysicsAnalysis/D3PDTools/EventLoop/EventLoop/StatusCode.h:22
TrackVertexAssociationTool::m_maxZ0SinTheta
float m_maxZ0SinTheta
Definition: Reconstruction/Jet/JetRecTools/JetRecTools/TrackVertexAssociationTool.h:81
ReadHandleKey.h
Property holding a SG store/key/clid from which a ReadHandle is made.
TrackVertexAssociationTool
creates a jet::TrackVertexAssociation object
Definition: Reconstruction/Jet/JetRecTools/JetRecTools/TrackVertexAssociationTool.h:47
TrackVertexAssociation.h
TrackVertexAssociationTool::buildTrackVertexAssociation_withTool
std::unique_ptr< jet::TrackVertexAssociation > buildTrackVertexAssociation_withTool(const xAOD::TrackParticleContainer *, const xAOD::VertexContainer *) const
Definition: Reconstruction/Jet/JetRecTools/Root/TrackVertexAssociationTool.cxx:119
TrackVertexAssociationTool::m_trackContainer_key
SG::ReadHandleKey< xAOD::TrackParticleContainer > m_trackContainer_key
Definition: Reconstruction/Jet/JetRecTools/JetRecTools/TrackVertexAssociationTool.h:83
WriteHandleKey.h
Property holding a SG store/key/clid from which a WriteHandle is made.
ITrackVertexAssociationTool.h
DataVector
Derived DataVector<T>.
Definition: DataVector.h:794
TrackVertexAssociationTool::execute
int execute() const
Method to be called for each event.
Definition: Reconstruction/Jet/JetRecTools/Root/TrackVertexAssociationTool.cxx:46
VertexContainer.h
TrackVertexAssociationTool::m_transDistMax
float m_transDistMax
Definition: Reconstruction/Jet/JetRecTools/JetRecTools/TrackVertexAssociationTool.h:79
ASG_TOOL_CLASS
#define ASG_TOOL_CLASS(CLASSNAME, INT1)
Definition: AsgToolMacros.h:68
ToolHandle.h
AsgTool.h
TrackParticleContainer.h
TrackVertexAssociationTool::initialize
StatusCode initialize()
Dummy implementation of the initialisation function.
Definition: Reconstruction/Jet/JetRecTools/Root/TrackVertexAssociationTool.cxx:29
TrackVertexAssociationTool::TrackVertexAssociationTool
TrackVertexAssociationTool(const std::string &t)
Definition: Reconstruction/Jet/JetRecTools/Root/TrackVertexAssociationTool.cxx:10