Vertex reconstruction tools

Complete: 3

Goal of the page

This page contains several tools not described in other pages that can be useful, either in analyses or in vertex reconstruction itself

The VertexDistance

The VertexDistance classes calculates the distance and compatibility between two vertices. With a momentum vector, it can also calculate the signed distance. It can be used with any combination of reco::Vertex and VertexState. The TransientVertex, CachingVertex and KinematicVertex all provide methods to get the VertexState.


#include "RecoVertex/VertexTools/interface/VertexDistance3D.h"
VertexDistance3D vertTool;
double distance = vertTool.distance(vert1, vert2).value();
double dist_err = vertTool.distance(vert1, vert2).error();
double chi2 = vertTool.compatibility(vert1, vert2);

-- ThomasSpeer - 27 Feb 2009

Edit | Attach | Watch | Print version | History: r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r2 - 2009-02-27 - ThomasSpeer
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    CMSPublic All webs login

This site is powered by the TWiki collaboration platform Powered by PerlCopyright & 2008-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback