#include <TrackWithVertexSelector.h>
Public Member Functions | |
bool | operator() (const reco::Track &t, const edm::Event &iEvent) const |
bool | operator() (const reco::Track &t, const reco::VertexCollection &vtxs) const |
bool | testTrack (const reco::Track &t) const |
bool | testVertices (const reco::Track &t, const reco::VertexCollection &vtxs) const |
TrackWithVertexSelector (const edm::ParameterSet &) | |
~TrackWithVertexSelector () | |
Private Types | |
typedef math::XYZPoint | Point |
Private Attributes | |
double | d0Max_ |
double | dzMax_ |
double | etaMax_ |
double | etaMin_ |
double | normalizedChi2_ |
uint32_t | numberOfLostHits_ |
uint32_t | numberOfValidHits_ |
uint32_t | numberOfValidPixelHits_ |
uint32_t | nVertices_ |
double | ptErrorCut_ |
double | ptMax_ |
double | ptMin_ |
std::string | quality_ |
double | rhoVtx_ |
edm::InputTag | vertexTag_ |
bool | vtxFallback_ |
double | zetaVtx_ |
Definition at line 16 of file TrackWithVertexSelector.h.
|
private |
Definition at line 39 of file TrackWithVertexSelector.h.
|
explicit |
Definition at line 6 of file TrackWithVertexSelector.cc.
TrackWithVertexSelector::~TrackWithVertexSelector | ( | ) |
Definition at line 26 of file TrackWithVertexSelector.cc.
bool TrackWithVertexSelector::operator() | ( | const reco::Track & | t, |
const edm::Event & | iEvent | ||
) | const |
Definition at line 65 of file TrackWithVertexSelector.cc.
References edm::Event::getByLabel(), nVertices_, testTrack(), testVertices(), and vertexTag_.
bool TrackWithVertexSelector::operator() | ( | const reco::Track & | t, |
const reco::VertexCollection & | vtxs | ||
) | const |
Definition at line 73 of file TrackWithVertexSelector.cc.
References nVertices_, testTrack(), and testVertices().
bool TrackWithVertexSelector::testTrack | ( | const reco::Track & | t | ) | const |
Definition at line 28 of file TrackWithVertexSelector.cc.
References abs, reco::TrackBase::d0(), d0Max_, reco::TrackBase::dz(), dzMax_, reco::TrackBase::eta(), etaMax_, etaMin_, reco::TrackBase::hitPattern(), max(), reco::TrackBase::normalizedChi2(), normalizedChi2_, reco::TrackBase::numberOfLostHits(), numberOfLostHits_, reco::TrackBase::numberOfValidHits(), numberOfValidHits_, reco::HitPattern::numberOfValidPixelHits(), numberOfValidPixelHits_, reco::TrackBase::pt(), reco::TrackBase::ptError(), ptErrorCut_, ptMax_, ptMin_, reco::TrackBase::quality(), quality_, and reco::TrackBase::qualityByName().
Referenced by operator()().
bool TrackWithVertexSelector::testVertices | ( | const reco::Track & | t, |
const reco::VertexCollection & | vtxs | ||
) | const |
Definition at line 47 of file TrackWithVertexSelector.cc.
References abs, reco::TrackBase::dxy(), reco::TrackBase::dz(), nVertices_, convertSQLiteXML::ok, rhoVtx_, reco::TrackBase::vertex(), vtxFallback_, and zetaVtx_.
Referenced by operator()().
|
private |
Definition at line 30 of file TrackWithVertexSelector.h.
Referenced by testTrack().
|
private |
Definition at line 30 of file TrackWithVertexSelector.h.
Referenced by testTrack().
|
private |
Definition at line 29 of file TrackWithVertexSelector.h.
Referenced by testTrack().
|
private |
Definition at line 29 of file TrackWithVertexSelector.h.
Referenced by testTrack().
|
private |
Definition at line 28 of file TrackWithVertexSelector.h.
Referenced by testTrack().
|
private |
Definition at line 27 of file TrackWithVertexSelector.h.
Referenced by testTrack().
|
private |
Definition at line 25 of file TrackWithVertexSelector.h.
Referenced by testTrack().
|
private |
Definition at line 26 of file TrackWithVertexSelector.h.
Referenced by testTrack().
|
private |
Definition at line 34 of file TrackWithVertexSelector.h.
Referenced by operator()(), and testVertices().
|
private |
Definition at line 31 of file TrackWithVertexSelector.h.
Referenced by testTrack().
|
private |
Definition at line 29 of file TrackWithVertexSelector.h.
Referenced by testTrack().
|
private |
Definition at line 29 of file TrackWithVertexSelector.h.
Referenced by testTrack().
|
private |
Definition at line 32 of file TrackWithVertexSelector.h.
Referenced by testTrack().
|
private |
Definition at line 37 of file TrackWithVertexSelector.h.
Referenced by testVertices().
|
private |
Definition at line 35 of file TrackWithVertexSelector.h.
Referenced by operator()().
|
private |
Definition at line 36 of file TrackWithVertexSelector.h.
Referenced by testVertices().
|
private |
Definition at line 37 of file TrackWithVertexSelector.h.
Referenced by testVertices().