Main Page
Namespaces
Classes
Package Documentation
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Properties
Friends
Macros
Pages
RecoVertex
PrimaryVertexProducer
src
PrimaryVertexSorter.cc
Go to the documentation of this file.
1
#include "
RecoVertex/PrimaryVertexProducer/interface/PrimaryVertexSorter.h
"
2
#include "
DataFormats/VertexReco/interface/Vertex.h
"
3
#include "
RecoVertex/PrimaryVertexProducer/interface/VertexHigherPtSquared.h
"
4
5
using namespace
reco
;
6
7
VertexCollection
8
PrimaryVertexSorter::sortedList
(
const
VertexCollection
& unsortedPVColl)
const
9
{
10
VertexCollection
pvs = unsortedPVColl;
11
sort
(pvs.begin(), pvs.end(),
VertexHigherPtSquared
());
12
return
pvs;
13
}
python.multivaluedict.sort
def sort
Definition:
multivaluedict.py:161
PrimaryVertexSorter::sortedList
std::vector< reco::Vertex > sortedList(const reco::VertexCollection &primaryVertex) const
Definition:
PrimaryVertexSorter.cc:8
reco::VertexCollection
std::vector< Vertex > VertexCollection
collection of Vertex objects
Definition:
VertexFwd.h:9
VertexHigherPtSquared
Definition:
VertexHigherPtSquared.h:13
dt_dqm_sourceclient_common_cff.reco
tuple reco
Definition:
dt_dqm_sourceclient_common_cff.py:106
VertexHigherPtSquared.h
Vertex.h
PrimaryVertexSorter.h
Generated for CMSSW Reference Manual by
1.8.5