CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
pat::PATPrimaryVertexSelector Class Reference

#include "PhysicsTools/PatAlgos/interface/PATPrimaryVertexSelector.h"

Detailed Description

The PATPrimaryVertexSelector is used together with an ObjectSelector to clean and sort a collection of primary vertices. The code is very close to what is done in SusyAnalyzer: it allows a selection based on the (normalized) chi2 of the vertex fit, the position, the multiplicity and the pt-sum of the associated tracks. The tracks entering in the calculation of the last two quantities can be restricted in eta. The output collection is sorted by the sum of the track pts.