ATLAS Offline Software
Loading...
Searching...
No Matches
ITrackVertexAssociationTool.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 ITRACKVERTEXASSOCIATIONTOOL_H
6#define ITRACKVERTEXASSOCIATIONTOOL_H
7
8#include "AsgTools/IAsgTool.h"
14
16#include "AthLinks/ElementLink.h"
17
18#include <vector>
19
20namespace CP
21{
22
24 {
26 public:
29 virtual bool isCompatible(const xAOD::TrackParticle& trk, const xAOD::Vertex& vx) const = 0; // return the decision of with the track match to the vertex
30 virtual bool isCompatible(const xAOD::TrackParticle& trk) const = 0; // return the decision of with the track match to the predetermined hardscatter vertex
31 virtual xAOD::TrackVertexAssociationMap getMatchMap(std::vector<const xAOD::TrackParticle*>& trk_list, std::vector<const xAOD::Vertex*>& vx_list) const = 0;
33
36 virtual const xAOD::Vertex* getUniqueMatchVertex(const xAOD::TrackParticle& trk, std::vector<const xAOD::Vertex*> & vx_list) const = 0;
37
39 virtual xAOD::TrackVertexAssociationMap getUniqueMatchMap(std::vector<const xAOD::TrackParticle*>& trk_list, std::vector<const xAOD::Vertex*>& vx_list) const = 0; // return the map of vertex matched with the tracks in the
40 virtual xAOD::TrackVertexAssociationMap getUniqueMatchMap(const xAOD::TrackParticleContainer& trkCont, const xAOD::VertexContainer& vxCont) const = 0 ; // return the map of vertex matched with the tracks in the
41
42 };
43}
44
45#endif
#define ASG_TOOL_INTERFACE(CLASSNAME)
Base class for elements of a container that can have aux data.
virtual xAOD::TrackVertexAssociationMap getUniqueMatchMap(const xAOD::TrackParticleContainer &trkCont, const xAOD::VertexContainer &vxCont) const =0
virtual xAOD::TrackVertexAssociationMap getUniqueMatchMap(std::vector< const xAOD::TrackParticle * > &trk_list, std::vector< const xAOD::Vertex * > &vx_list) const =0
This functions related to the previous functions, will return a 2D vector to store the best matched t...
virtual bool isCompatible(const xAOD::TrackParticle &trk) const =0
virtual const xAOD::Vertex * getUniqueMatchVertex(const xAOD::TrackParticle &trk, std::vector< const xAOD::Vertex * > &vx_list) const =0
virtual ElementLink< xAOD::VertexContainer > getUniqueMatchVertexLink(const xAOD::TrackParticle &trk, const xAOD::VertexContainer &vxCont) const =0
This functions will return the best matched vertex.
virtual bool isCompatible(const xAOD::TrackParticle &trk, const xAOD::Vertex &vx) const =0
This function just return the decision of whether the track is matched to the Vertex Not sure whether...
virtual xAOD::TrackVertexAssociationMap getMatchMap(const xAOD::TrackParticleContainer &trkCont, const xAOD::VertexContainer &vxCont) const =0
virtual xAOD::TrackVertexAssociationMap getMatchMap(std::vector< const xAOD::TrackParticle * > &trk_list, std::vector< const xAOD::Vertex * > &vx_list) const =0
Base class for the dual-use tool interface classes.
Definition IAsgTool.h:41
Select isolated Photons, Electrons and Muons.
std::map< const xAOD::Vertex *, xAOD::TrackVertexAssociationList > TrackVertexAssociationMap
TrackParticle_v1 TrackParticle
Reference the current persistent version:
VertexContainer_v1 VertexContainer
Definition of the current "Vertex container version".
Vertex_v1 Vertex
Define the latest version of the vertex class.
TrackParticleContainer_v1 TrackParticleContainer
Definition of the current "TrackParticle container version".