Definition at line 118 of file GhostTrackComputer.cc.
140 std::pair<double, double> vertexDist2D, vertexDist3D;
141 std::pair<double, double> tracksDist2D, tracksDist3D;
144 unsigned int nVertexTracks = 0;
148 bool hasRefittedTracks =
vertex.hasRefittedTracks();
157 bool isTrackVertex = (
n == 1);
163 TrackKinematics &kin = isTrackVertex ? trackKinematics : vertexKinematics;
168 if (hasRefittedTracks) {
170 kin.add(actualTrack,
w);
186 vertexDist2D.first += tracksDist2D.first;
187 vertexDist2D.second += tracksDist2D.second;
188 vertexDist3D.first += tracksDist3D.first;
189 vertexDist3D.second += tracksDist3D.second;
190 vertexKinematics += trackKinematics;
200 vertexKinematics = trackKinematics;
220 for (
unsigned int i = 0;
i <
indices.size();
i++) {
222 const btag::TrackIPData &
data = ipData[
idx];
239 for (
unsigned int j = 0;
j <
indices.size();
j++) {
244 const btag::TrackIPData &pairTrackData = ipData[pairIdx];
246 const Track &pairTrack = *pairTrackRef;
251 trackPairV0Test[1] = pairTrackRef;
263 double trackMag =
std::sqrt(trackMom.Mag2());
References reco::TrackKinematics::add(), addMeas(), data, electronAnalyzer_cfi::DeltaR, PbPb_ZMuSkimMuonDPG_cff::deltaR, reco::btau::etaRel(), reco::TemplatedSecondaryVertexTagInfo< IPTI, VTX >::flightDirection(), reco::TemplatedSecondaryVertexTagInfo< IPTI, VTX >::flightDistance(), reco::btau::flightDistance2dSig, reco::btau::flightDistance2dVal, reco::btau::flightDistance3dSig, reco::btau::flightDistance3dVal, mps_fire::i, heavyIonCSV_trainingSettings::idx, reco::IPTagInfo< Container, Base >::impactParameterData(), bTagCombinedSVVariables_cff::indices, reco::btag::IP2DSig, electrons_cff::ip3d, reco::btag::IP3DSig, edm::Ref< C, T, F >::isNonnull(), dqmiolumiharvest::j, metsig::jet, reco::btau::jetEta, reco::btau::jetNSecondaryVertices, reco::btau::jetNSingleTrackVertices, reco::btau::jetPt, minTrackWeight, reco::TrackBase::momentum(), dqmiodumpmetadata::n, reco::btag::Vertices::NoVertex, BeamSpotPI::nTracks, reco::TrackKinematics::numberOfTracks(), reco::TemplatedSecondaryVertexTagInfo< IPTI, VTX >::nVertices(), TrackCollections2monitor_cff::nVertices, convertSQLiteXML::ok, reco::IPTagInfo< Container, Base >::primaryVertex(), reco::btag::Vertices::PseudoVertex, MetAnalyzer::pv(), reco::btag::Vertices::RecoVertex, reco::TemplatedSecondaryVertexTagInfo< IPTI, VTX >::secondaryVertex(), reco::IPTagInfo< Container, Base >::selectedTracks(), Measurement1D::significance(), sortCriterium, reco::IPTagInfo< Container, Base >::sortedIndexes(), mathSSE::sqrt(), threshTrack(), HLT_FULL_cff::track, reco::btau::trackChi2, reco::btau::trackDecayLenVal, reco::btau::trackDeltaR, reco::btau::trackEta, reco::btau::trackEtaRel, reco::btau::trackGhostTrackDistSig, reco::btau::trackGhostTrackDistVal, reco::btau::trackGhostTrackWeight, reco::btau::trackJetDistVal, reco::btau::trackMomentum, reco::btau::trackNPixelHits, reco::btau::trackNTotalHits, trackPairV0Filter, reco::btau::trackPtRel, PDWG_EXOHSCP_cff::tracks, trackSelector, reco::btau::trackSip2dSig, reco::btau::trackSip2dSigAboveCharm, reco::btau::trackSip2dVal, reco::btau::trackSip3dSig, reco::btau::trackSip3dSigAboveCharm, reco::btau::trackSip3dVal, reco::btau::trackSumJetDeltaR, reco::btau::trackSumJetEtRatio, reco::TemplatedSecondaryVertexTagInfo< IPTI, VTX >::trackWeight(), Measurement1D::value(), reco::TrackKinematics::vectorSum(), bphysicsOniaDQM_cfi::vertex, reco::btau::vertexCategory, reco::btau::vertexEnergyRatio, reco::btau::vertexJetDeltaR, reco::btau::vertexMass, reco::btau::vertexNTracks, reco::TemplatedSecondaryVertexTagInfo< IPTI, VTX >::vertexTracks(), and w.