ATLAS Offline Software
Public Member Functions | Static Public Member Functions | List of all members
ITrkToLeptonPV Class Referenceabstract

#include <ITrkToLeptonPV.h>

Inheritance diagram for ITrkToLeptonPV:
Collaboration diagram for ITrkToLeptonPV:

Public Member Functions

virtual std::unique_ptr< xAOD::VertexmatchTrkToPV (const xAOD::TrackParticle *, const xAOD::Vertex *, const xAOD::EventInfo *=0) const =0
 Method to match any tracks to a known Primary Vertex. More...
 
virtual std::unique_ptr< xAOD::VertexnpartVertex (const std::vector< const xAOD::TrackParticle * > &, const xAOD::EventInfo *=0) const =0
 Method to create a Primary Vertex using N(>=2) identified tracks (e.g. More...
 

Static Public Member Functions

static const InterfaceID & interfaceID ()
 

Detailed Description

Interaface class for xAOD/DAOD tools to match a track to a vertex assumed to be a Primary Vertex. This PV can be taken elsewhere or obtained with the tool itsels. Example: check compatibility of a track to PV obtained with 2 energetic leptons from Z decay. See README for more details

xAOD::EventInfo object is needed only in case of DxAOD, for xAOD case it can be omitted

Author: Vadim Kostyukhin vadim.nosp@m..kos.nosp@m.tyukh.nosp@m.in@c.nosp@m.ern.c.nosp@m.h

Definition at line 34 of file ITrkToLeptonPV.h.

Member Function Documentation

◆ interfaceID()

static const InterfaceID& ITrkToLeptonPV::interfaceID ( )
inlinestatic

Definition at line 36 of file ITrkToLeptonPV.h.

36 { return IID_TrkToLeptonPV;}

◆ matchTrkToPV()

virtual std::unique_ptr<xAOD::Vertex> ITrkToLeptonPV::matchTrkToPV ( const xAOD::TrackParticle ,
const xAOD::Vertex ,
const xAOD::EventInfo = 0 
) const
pure virtual

Method to match any tracks to a known Primary Vertex.

A combined PV+track vertex is returned. Track compatibility to PV can be estimated with Chi2 of the PV+track vertex (NDF=2)

Implemented in TrkToLeptonPVTool.

◆ npartVertex()

virtual std::unique_ptr<xAOD::Vertex> ITrkToLeptonPV::npartVertex ( const std::vector< const xAOD::TrackParticle * > &  ,
const xAOD::EventInfo = 0 
) const
pure virtual

Method to create a Primary Vertex using N(>=2) identified tracks (e.g.

leptons) and beam constraint, The obtained N-track PV can be used as input for matchTrkToPV() to check another track. However, better way to check another track compatibility is to call again npartVertex() with N+1 tracks and check the obtained Chi2 (NDF=2*N_trk-1)

Implemented in TrkToLeptonPVTool.


The documentation for this class was generated from the following file: