#include <PATPrimaryVertexSelector.h>
Public Types | |
typedef reco::VertexCollection | collection |
typedef container::const_iterator | const_iterator |
typedef std::vector< const reco::Vertex * > | container |
Public Member Functions | |
const_iterator | begin () const |
needed for use with an ObjectSelector More... | |
const_iterator | end () const |
needed for use with an ObjectSelector More... | |
bool | operator() (const reco::Vertex *, const reco::Vertex *) const |
operator used in sorting the selected vertices More... | |
PATPrimaryVertexSelector (const edm::ParameterSet &cfg) | |
void | select (const edm::Handle< collection > &, const edm::Event &, const edm::EventSetup &) |
needed for use with an ObjectSelector More... | |
size_t | size () const |
needed for use with an ObjectSelector More... | |
Private Member Functions | |
bool | acceptTrack (const reco::Track &) const |
track selection More... | |
void | getVertexVariables (const reco::Vertex &, unsigned int &, double &) const |
access to track-related vertex quantities (multiplicity and pt-sum) More... | |
Private Attributes | |
float | chi2Cut_ |
eta cut used for the track selection More... | |
float | dr2Cut_ |
cut on the normalized chi2 More... | |
float | dzCut_ |
cut on the (squared) transverse position More... | |
unsigned int | multiplicityCut_ |
container of selected vertices More... | |
float | ptSumCut_ |
minimum multiplicity of (selected) associated tracks More... | |
container | selected_ |
float | trackEtaCut_ |
minimum pt sum o (selected) associated tracks More... | |
Definition at line 22 of file PATPrimaryVertexSelector.h.
Definition at line 24 of file PATPrimaryVertexSelector.h.
typedef container::const_iterator PATPrimaryVertexSelector::const_iterator |
Definition at line 26 of file PATPrimaryVertexSelector.h.
typedef std::vector<const reco::Vertex*> PATPrimaryVertexSelector::container |
Definition at line 25 of file PATPrimaryVertexSelector.h.
PATPrimaryVertexSelector::PATPrimaryVertexSelector | ( | const edm::ParameterSet & | cfg | ) |
Definition at line 6 of file PATPrimaryVertexSelector.cc.
References dr2Cut_.
|
private |
track selection
|
inline |
needed for use with an ObjectSelector
Definition at line 29 of file PATPrimaryVertexSelector.h.
References selected_.
|
inline |
needed for use with an ObjectSelector
Definition at line 31 of file PATPrimaryVertexSelector.h.
References selected_.
|
private |
access to track-related vertex quantities (multiplicity and pt-sum)
Definition at line 49 of file PATPrimaryVertexSelector.cc.
References trackEtaCut_, reco::Vertex::tracks_begin(), and reco::Vertex::tracks_end().
Referenced by operator()(), and select().
bool PATPrimaryVertexSelector::operator() | ( | const reco::Vertex * | v1, |
const reco::Vertex * | v2 | ||
) | const |
operator used in sorting the selected vertices
Definition at line 38 of file PATPrimaryVertexSelector.cc.
References getVertexVariables().
void PATPrimaryVertexSelector::select | ( | const edm::Handle< collection > & | handle, |
const edm::Event & | event, | ||
const edm::EventSetup & | setup | ||
) |
needed for use with an ObjectSelector
Definition at line 18 of file PATPrimaryVertexSelector.cc.
References SiPixelRawToDigiRegional_cfi::beamSpot, chi2Cut_, dr2Cut_, dzCut_, getVertexVariables(), multiplicityCut_, ptSumCut_, selected_, and python.multivaluedict::sort().
|
inline |
needed for use with an ObjectSelector
Definition at line 35 of file PATPrimaryVertexSelector.h.
References selected_.
|
private |
eta cut used for the track selection
Definition at line 49 of file PATPrimaryVertexSelector.h.
Referenced by select().
|
private |
cut on the normalized chi2
Definition at line 50 of file PATPrimaryVertexSelector.h.
Referenced by PATPrimaryVertexSelector(), and select().
|
private |
cut on the (squared) transverse position
Definition at line 51 of file PATPrimaryVertexSelector.h.
Referenced by select().
|
private |
container of selected vertices
Definition at line 46 of file PATPrimaryVertexSelector.h.
Referenced by select().
|
private |
minimum multiplicity of (selected) associated tracks
Definition at line 47 of file PATPrimaryVertexSelector.h.
Referenced by select().
|
private |
|
private |
minimum pt sum o (selected) associated tracks
Definition at line 48 of file PATPrimaryVertexSelector.h.
Referenced by getVertexVariables().