Go to the source code of this file.
Namespaces | |
l1tVertexFinder | |
Functions | |
const l1t::Vertex & | l1tVertexFinder::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::Vertex & | l1tVertexFinder::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... | |