ATLAS Offline Software
Loading...
Searching...
No Matches
VertexTrackParticleAssociationTool.h
Go to the documentation of this file.
1// This file's extension implies that it's C, but it's really -*- C++ -*-.
2
3/*
4 Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
5*/
6
7#ifndef TRACKD3PDMAKER_VERTEXTRACKPARTICLEASSOCIATIONTOOL_H
8#define TRACKD3PDMAKER_VERTEXTRACKPARTICLEASSOCIATIONTOOL_H
9
13#include "xAODTracking/Vertex.h"
14
15#include <vector>
16
17namespace Trk{
18class VxCandidate;
19class VxTrackAtVertex;
20}
21
22namespace D3PD {
23
24
26 : public MultiAssociationTool<Types<Trk::VxCandidate, xAOD::Vertex>,
27 Types<Rec::TrackParticle, xAOD::TrackParticle> >
28{
29public:
32 using Base::next;
33
34 VertexTrackParticleAssociationTool (const std::string& type,
35 const std::string& name,
36 const IInterface* parent);
37
38
40 virtual StatusCode book() final;
41
42
47 virtual StatusCode reset (const Trk::VxCandidate& p) override;
48
49
54 virtual StatusCode reset (const xAOD::Vertex& p) override;
55
56
62 virtual const Rec::TrackParticle* next (const Trk::VxCandidate* dummy) override;
63
64
70 virtual const xAOD::TrackParticle* next (const xAOD::Vertex* dummy) override;
71
72
75 float* m_weight;
76
77 const Trk::VxCandidate* m_aod_vx;
79 size_t m_itrack;
80};
81
82
83} // namespace D3PD
84
85
86#endif // not TRACKD3PDMAKER_VERTEXTRACKPARTICLEASSOCIATIONTOOL_H
boost::graph_traits< boost::adjacency_list< boost::vecS, boost::vecS, boost::bidirectionalS > >::vertex_descriptor Vertex
Type-safe wrapper for multiple-target associator tools.
Type-safe wrapper for multiple-target associator tools.
MultiAssociationTool< Types< Trk::VxCandidate, xAOD::Vertex >, Types< Rec::TrackParticle, xAOD::TrackParticle > > Base
virtual StatusCode book() final
Book variables for this block.
virtual StatusCode reset(const Trk::VxCandidate &p) override
Start the iteration for a new association.
virtual const Rec::TrackParticle * next(const Trk::VxCandidate *dummy) override
Return a pointer to the next element in the association.
VertexTrackParticleAssociationTool(const std::string &type, const std::string &name, const IInterface *parent)
The VxTrackAtVertex is a common class for all present TrkVertexFitters The VxTrackAtVertex is designe...
Block filler tool for noisy FEB information.
std::tuple< WrapType< TYPES >... > Types
A simple tuple of multiple types.
Gaudi Tools.
Ensure that the ATLAS eigen extensions are properly loaded.
ICaloAffectedTool is abstract interface for tools checking if 4 mom is in calo affected region.
#define private