CMS 3D CMS Logo

selection.h
Go to the documentation of this file.
1 #ifndef __L1Trigger_VertexFinder_selection_h__
2 #define __L1Trigger_VertexFinder_selection_h__
3 
5 
6 #include <vector>
7 
8 namespace l1tVertexFinder {
9 
11  const l1t::Vertex& getPrimaryVertex(const std::vector<l1t::Vertex>& aVertexCollection);
12 
15  const std::vector<l1t::Vertex>& aVertexCollection,
16  const std::function<float(const std::vector<edm::Ptr<l1t::Vertex::Track_t>>&)>& aFunction);
17 
18  // const l1t::Vertex& getPrimaryVertex(const std::vector<l1t::Vertex>& aVertexCollection, const std::function<float (const l1t::Vertex::Track_t&)> aFunction);
19 
20 } // end namespace l1tVertexFinder
21 
22 #endif
l1tVertexFinder
Definition: AlgoSettings.h:10
l1t::Vertex
Definition: Vertex.h:15
l1tVertexFinder::getPrimaryVertex
const l1t::Vertex & getPrimaryVertex(const std::vector< l1t::Vertex > &aVertexCollection)
Returns primary vertex based on default criterion (max sum pT from all constituent tracks); throws if...
Definition: selection.cc:9
trackerHitRTTI::vector
Definition: trackerHitRTTI.h:21
edm::Ptr
Definition: AssociationVector.h:31
HiBiasedCentrality_cfi.function
function
Definition: HiBiasedCentrality_cfi.py:4
Vertex.h