#include <TrackWithVertexSelector.h>
Public Member Functions | |
void | init (const edm::Event &event, const edm::EventSetup &) |
void | init (const edm::Event &event) |
bool | operator() (const reco::Track &t) const |
bool | operator() (const reco::Track &t, const edm::Event &iEvent) |
bool | operator() (const reco::TrackRef &t) const |
bool | operator() (const reco::TrackRef &t, const edm::Event &iEvent) |
bool | testTrack (const reco::Track &t) const |
bool | testTrack (const reco::TrackRef &t) const |
bool | testVertices (const reco::Track &t, const reco::VertexCollection &vtxs) const |
bool | testVertices (const reco::TrackRef &t, const reco::VertexCollection &vtxs) const |
TrackWithVertexSelector (const edm::ParameterSet &iConfig, edm::ConsumesCollector &&iC) | |
TrackWithVertexSelector (const edm::ParameterSet &iConfig, edm::ConsumesCollector &iC) | |
~TrackWithVertexSelector () | |
Private Types | |
typedef math::XYZPoint | Point |
Private Attributes | |
double | d0Max_ |
double | dzMax_ |
double | etaMax_ |
double | etaMin_ |
double | normalizedChi2_ |
double | nSigmaDtVertex_ |
uint32_t | numberOfLostHits_ |
uint32_t | numberOfValidHits_ |
uint32_t | numberOfValidPixelHits_ |
uint32_t | nVertices_ |
double | ptErrorCut_ |
double | ptMax_ |
double | ptMin_ |
std::string | quality_ |
double | rhoVtx_ |
edm::ValueMap< float > const * | timeresoscoll_ = nullptr |
edm::EDGetTokenT< edm::ValueMap< float > > | timeResosToken_ |
edm::ValueMap< float > const * | timescoll_ = nullptr |
edm::EDGetTokenT< edm::ValueMap< float > > | timesToken_ |
reco::VertexCollection const * | vcoll_ = nullptr |
edm::EDGetTokenT< reco::VertexCollection > | vertexToken_ |
bool | vtxFallback_ |
double | zetaVtx_ |
Definition at line 17 of file TrackWithVertexSelector.h.
|
private |
Definition at line 63 of file TrackWithVertexSelector.h.
|
inlineexplicit |
Definition at line 19 of file TrackWithVertexSelector.h.
|
explicit |
Definition at line 11 of file TrackWithVertexSelector.cc.
TrackWithVertexSelector::~TrackWithVertexSelector | ( | ) |
Definition at line 33 of file TrackWithVertexSelector.cc.
|
inline |
Definition at line 24 of file TrackWithVertexSelector.h.
References init().
Referenced by init(), and operator()().
void TrackWithVertexSelector::init | ( | const edm::Event & | event | ) |
Definition at line 35 of file TrackWithVertexSelector.cc.
References edm::HandleBase::isValid(), nVertices_, edm::Handle< T >::product(), timeresoscoll_, timeResosToken_, timescoll_, timesToken_, vcoll_, and vertexToken_.
bool TrackWithVertexSelector::operator() | ( | const reco::Track & | t | ) | const |
Definition at line 116 of file TrackWithVertexSelector.cc.
References nVertices_, submitPVValidationJobs::t, testTrack(), testVertices(), and vcoll_.
|
inline |
Definition at line 28 of file TrackWithVertexSelector.h.
References iEvent, init(), and submitPVValidationJobs::t.
bool TrackWithVertexSelector::operator() | ( | const reco::TrackRef & | t | ) | const |
Definition at line 124 of file TrackWithVertexSelector.cc.
References nVertices_, testTrack(), testVertices(), and vcoll_.
|
inline |
Definition at line 34 of file TrackWithVertexSelector.h.
References iEvent, init(), and submitPVValidationJobs::t.
bool TrackWithVertexSelector::testTrack | ( | const reco::Track & | t | ) | const |
Definition at line 49 of file TrackWithVertexSelector.cc.
References funct::abs(), d0Max_, dzMax_, etaMax_, etaMin_, SiStripPI::max, normalizedChi2_, numberOfLostHits_, numberOfValidHits_, numberOfValidPixelHits_, ptErrorCut_, ptMax_, ptMin_, quality_, and submitPVValidationJobs::t.
Referenced by operator()(), and testTrack().
bool TrackWithVertexSelector::testTrack | ( | const reco::TrackRef & | t | ) | const |
Definition at line 62 of file TrackWithVertexSelector.cc.
References testTrack().
bool TrackWithVertexSelector::testVertices | ( | const reco::Track & | t, |
const reco::VertexCollection & | vtxs | ||
) | const |
Definition at line 64 of file TrackWithVertexSelector.cc.
References funct::abs(), ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, nVertices_, convertSQLiteXML::ok, rhoVtx_, submitPVValidationJobs::t, vtxFallback_, and zetaVtx_.
Referenced by operator()().
bool TrackWithVertexSelector::testVertices | ( | const reco::TrackRef & | t, |
const reco::VertexCollection & | vtxs | ||
) | const |
Definition at line 82 of file TrackWithVertexSelector.cc.
References funct::abs(), MillePedeFileConverter_cfg::e, edm::isNotFinite(), ALPAKA_ACCELERATOR_NAMESPACE::vertexFinder::it, nSigmaDtVertex_, nVertices_, convertSQLiteXML::ok, rhoVtx_, mathSSE::sqrt(), submitPVValidationJobs::t, hcalRecHitTable_cff::time, timeresoscoll_, timescoll_, vtxFallback_, and zetaVtx_.
|
private |
Definition at line 50 of file TrackWithVertexSelector.h.
Referenced by testTrack().
|
private |
Definition at line 50 of file TrackWithVertexSelector.h.
Referenced by testTrack().
|
private |
Definition at line 49 of file TrackWithVertexSelector.h.
Referenced by testTrack().
|
private |
Definition at line 49 of file TrackWithVertexSelector.h.
Referenced by testTrack().
|
private |
Definition at line 48 of file TrackWithVertexSelector.h.
Referenced by testTrack().
|
private |
Definition at line 58 of file TrackWithVertexSelector.h.
Referenced by testVertices().
|
private |
Definition at line 47 of file TrackWithVertexSelector.h.
Referenced by testTrack().
|
private |
Definition at line 45 of file TrackWithVertexSelector.h.
Referenced by testTrack().
|
private |
Definition at line 46 of file TrackWithVertexSelector.h.
Referenced by testTrack().
|
private |
Definition at line 54 of file TrackWithVertexSelector.h.
Referenced by init(), operator()(), and testVertices().
|
private |
Definition at line 51 of file TrackWithVertexSelector.h.
Referenced by testTrack().
|
private |
Definition at line 49 of file TrackWithVertexSelector.h.
Referenced by testTrack().
|
private |
Definition at line 49 of file TrackWithVertexSelector.h.
Referenced by testTrack().
|
private |
Definition at line 52 of file TrackWithVertexSelector.h.
Referenced by testTrack().
|
private |
Definition at line 58 of file TrackWithVertexSelector.h.
Referenced by testVertices().
|
private |
Definition at line 62 of file TrackWithVertexSelector.h.
Referenced by init(), and testVertices().
|
private |
Definition at line 56 of file TrackWithVertexSelector.h.
Referenced by init().
|
private |
Definition at line 61 of file TrackWithVertexSelector.h.
Referenced by init(), and testVertices().
|
private |
Definition at line 56 of file TrackWithVertexSelector.h.
Referenced by init().
|
private |
Definition at line 60 of file TrackWithVertexSelector.h.
Referenced by init(), and operator()().
|
private |
Definition at line 55 of file TrackWithVertexSelector.h.
Referenced by init().
|
private |
Definition at line 57 of file TrackWithVertexSelector.h.
Referenced by testVertices().
|
private |
Definition at line 58 of file TrackWithVertexSelector.h.
Referenced by testVertices().