From 5c28160dc3d95197e943bd2ec9f7fb89ff5bf4e0 Mon Sep 17 00:00:00 2001 From: jean-roch Date: Fri, 14 Oct 2022 10:37:36 +0200 Subject: [PATCH] removed commented-out statements --- DataFormats/PatCandidates/src/PackedCandidate.cc | 7 ------- 1 file changed, 7 deletions(-) diff --git a/DataFormats/PatCandidates/src/PackedCandidate.cc b/DataFormats/PatCandidates/src/PackedCandidate.cc index 0d7ee67a616e0..0271b99782a36 100644 --- a/DataFormats/PatCandidates/src/PackedCandidate.cc +++ b/DataFormats/PatCandidates/src/PackedCandidate.cc @@ -166,12 +166,10 @@ float pat::PackedCandidate::dz(const Point &p) const { } const reco::Track pat::PackedCandidate::pseudoPosDefTrack() const { - //if (posdeftrack_) return *posdeftrack_; // perform the regular unpacking of the track if (!track_) unpackTrk(); - // std::cout<<"unpacking enforcing positive-definite cov matrix"<(0, 0).Det(det) || det < 0) || @@ -179,7 +177,6 @@ const reco::Track pat::PackedCandidate::pseudoPosDefTrack() const { (!(*m_).Sub(0, 0).Det(det) || det < 0) || (!(*m_).Det(det) || det < 0); if (notPosDef) { - // std::cout << "during unpacking, the determinant is: " << det << std::endl; reco::TrackBase::CovarianceMatrix m(*m_); //if not positive-definite, alter values to allow for pos-def TMatrixDSym eigenCov(5); @@ -200,10 +197,6 @@ const reco::Track pat::PackedCandidate::pseudoPosDefTrack() const { m(i, i) += delta - minEigenValue; } - // bool notPosDef = (!m.Sub(0, 0).Det(det) || det < 0) || - // (!m.Sub(0, 0).Det(det) || det < 0) || - // (!m.Sub(0, 0).Det(det) || det < 0) || (!m.Det(det) || det < 0); - // std::cout << " the determinant of the corrected covariance matrix is: " << det << std::endl; // make a track object with pos def covariance matrix return reco::Track(normalizedChi2_ * (*track_).ndof(), (*track_).ndof(),