CMS 3D CMS Logo

Namespaces | Functions
selection.h File Reference
#include "DataFormats/L1Trigger/interface/Vertex.h"
#include <vector>

Go to the source code of this file.

Namespaces

 l1tVertexFinder
 

Functions

const l1t::Vertexl1tVertexFinder::getPrimaryVertex (const std::vector< l1t::Vertex > &aVertexCollection)
 Returns primary vertex based on default criterion (max sum pT from all constituent tracks); throws if given empty collection. More...
 
const l1t::Vertexl1tVertexFinder::getPrimaryVertex (const std::vector< l1t::Vertex > &aVertexCollection, const std::function< float(const std::vector< edm::Ptr< l1t::Vertex::Track_t >> &)> &aFunction)
 Returns vertex for which parameter 'aFunction' returns the highest value; throws if given empty collection. More...