ATLAS Offline Software
|
#include <ITrkToLeptonPV.h>
Public Member Functions | |
virtual std::unique_ptr< xAOD::Vertex > | matchTrkToPV (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::Vertex > | npartVertex (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 () |
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 .kos tyukh in@c ern.c h
Definition at line 34 of file ITrkToLeptonPV.h.
|
inlinestatic |
Definition at line 36 of file ITrkToLeptonPV.h.
|
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.
|
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.