Go to the documentation of this file. 1 #ifndef PatAlgos_PATPrimaryVertexSelector_H_
2 #define PatAlgos_PATPrimaryVertexSelector_H_
reco::VertexCollection collection
const_iterator begin() const
needed for use with an ObjectSelector
void select(const edm::Handle< collection > &, const edm::Event &, const edm::EventSetup &)
needed for use with an ObjectSelector
float dr2Cut_
cut on the normalized chi2
float dzCut_
cut on the (squared) transverse position
std::vector< Vertex > VertexCollection
collection of Vertex objects
bool acceptTrack(const reco::Track &) const
track selection
float ptSumCut_
minimum multiplicity of (selected) associated tracks
float trackEtaCut_
minimum pt sum o (selected) associated tracks
const_iterator end() const
needed for use with an ObjectSelector
float chi2Cut_
eta cut used for the track selection
void getVertexVariables(const reco::Vertex &, unsigned int &, double &) const
access to track-related vertex quantities (multiplicity and pt-sum)
unsigned int multiplicityCut_
container of selected vertices
std::vector< const reco::Vertex * > container
bool operator()(const reco::Vertex *, const reco::Vertex *) const
operator used in sorting the selected vertices
size_t size() const
needed for use with an ObjectSelector
container::const_iterator const_iterator
PATPrimaryVertexSelector(const edm::ParameterSet &cfg, edm::ConsumesCollector &&iC)