Definition at line 141 of file TrackVertexArbitration.h.
145 using namespace reco;
155 std::vector<VTX> recoVertices;
159 std::unordered_map<unsigned int, Measurement1D> cachedIP;
162 const bool svHasTime = svTimeCov > 0.;
169 std::vector<reco::TransientTrack> selTracks;
170 for (
unsigned int itrack = 0; itrack <
selectedTracks.size(); itrack++) {
177 if (cachedIP.count(itrack)) {
178 ipv = cachedIP[itrack];
181 cachedIP[itrack] = ipvp.second;
191 GlobalError refPointErr = tsos.cartesianError().position();
202 timeSig =
std::abs(
tt.timeExt() - svTime) / tError;
215 selTracks.push_back(
tt);
225 selTracks.push_back(
tt);
238 std::cout <<
"t : " << itrack <<
" ref " << ref.key() <<
" w: " <<
w <<
" svip: " << isv.
significance() <<
" "
240 <<
tt.track().residualX(0) <<
"," <<
tt.track().residualY(0)
247 std::cout <<
" . t : " << itrack <<
" ref " << ref.key() <<
" w: " <<
w
254 if (selTracks.size() >= 2) {
256 singleFitVertex = theAdaptiveFitter.vertex(selTracks, ssv);
258 if (singleFitVertex.
isValid()) {
259 if (
pv.covariance(3, 3) > 0.)
261 recoVertices.push_back(VTX(singleFitVertex));
264 const VTX &extVertex = recoVertices.back();
References funct::abs(), IPTools::absoluteImpactParameter3D(), pwdgSkimBPark_cfi::beamSpot, RecoVertex::convertError(), RecoVertex::convertPos(), gather_cfg::cout, svhelper::cov33(), PbPb_ZMuSkimMuonDPG_cff::deltaR, HLTMuonOfflineAnalyzer_cfi::deltaR2, VertexDistance3D::distance(), MaterialEffects_cfi::distCut, HLT_FULL_cff::dLenFraction, HGC3DClusterGenMatchSelector_cfi::dR, HLT_FULL_cff::dRCut, HLT_FULL_cff::fitterRatio, HLT_FULL_cff::fitterSigmacut, HLT_FULL_cff::fitterTini, edm::isFinite(), TransientVertex::isValid(), HLT_FULL_cff::maxTimeSignificance, funct::pow(), MetAnalyzer::pv(), HLT_FULL_cff::secondaryVertices, TrackCollections2monitor_cff::selectedTracks, HLT_FULL_cff::sigCut, Validation_hcalonly_cfi::sign, Measurement1D::significance(), mathSSE::sqrt(), pfDeepBoostedJetPreprocessParams_cfi::sv, trackWeight(), groupFilesInBlocks::tt, svhelper::updateVertexTime(), Measurement1D::value(), AdaptiveVertexFitter::vertex(), and w.