Implements BPHHistoSpecificDecay::CandidateSelect.
Definition at line 318 of file BPHHistoSpecificDecay.cc.
References VertexAnalysis::cAlpha(), reco::Vertex::chi2(), ChiSquaredProbability(), VertexAnalysis::dist2D(), EgHLTOffHistBins_cfi::mass, ALCARECOPromptCalibProdSiPixelAli0T_cff::mode, reco::Vertex::ndof(), ALCARECOTkAlMinBias_cff::pMin, multPhiCorr_741_25nsDY_cfi::px, multPhiCorr_741_25nsDY_cfi::py, run3scouting_cff::sMin, PV3DBase< T, VectorTag, FrameTag >::x(), and PV3DBase< T, VectorTag, FrameTag >::y().
Referenced by esMonitoring.FDJsonServer::handle_accept().
327 svtx = BPHUserData::get<reco::Vertex>(
cand,
"vertex");
333 svtx = BPHUserData::get<reco::Vertex>(
cand,
"fitVertex");
336 BPHUserData::get<Vector3DBase<float, GlobalTag> >(
cand,
"fitMomentum");
342 if (!
cand.hasUserFloat(
"fitMass"))
373 dTest = ctauPV / ctauErrPV;
static void dist2D(const reco::Vertex *pvtx, const reco::Vertex *svtx, float px, float py, float mass, double &ctauPV, double &ctauErrPV)
float ChiSquaredProbability(double chiSquared, double nrDOF)
static double cAlpha(const reco::Vertex *pvtx, const reco::Vertex *svtx, float px, float py)
double chi2() const
chi-squares