Skip to content

Commit

Permalink
Merge pull request #35802 from slava77/patch-108
Browse files Browse the repository at this point in the history
convert mkfit output warnings to LogInfo
  • Loading branch information
cmsbuild authored Oct 24, 2021
2 parents d8f9360 + 724a53f commit 7bfdc71
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions RecoTracker/MkFit/plugins/MkFitOutputConverter.cc
Original file line number Diff line number Diff line change
Expand Up @@ -288,8 +288,8 @@ TrackCandidateCollection MkFitOutputConverter::convertCandidates(const MkFitOutp
GlobalPoint(param[0], param[1], param[2]), GlobalVector(param[3], param[4], param[5]), state.charge, &mf),
CurvilinearTrajectoryError(cov));
if (!fts.curvilinearError().posDef()) {
edm::LogWarning("MkFitOutputConverter") << "Curvilinear error not pos-def\n"
<< fts.curvilinearError().matrix() << "\ncandidate ignored";
edm::LogInfo("MkFitOutputConverter") << "Curvilinear error not pos-def\n"
<< fts.curvilinearError().matrix() << "\ncandidate ignored";
continue;
}

Expand All @@ -298,7 +298,7 @@ TrackCandidateCollection MkFitOutputConverter::convertCandidates(const MkFitOutp
? convertInnermostState(fts, recHits, propagatorAlong, propagatorOpposite)
: backwardFit(fts, recHits, propagatorAlong, propagatorOpposite, hitCloner, lastHitInvalid, lastHitChanged);
if (!tsosDet.first.isValid()) {
edm::LogWarning("MkFitOutputConverter")
edm::LogInfo("MkFitOutputConverter")
<< "Backward fit of candidate " << candIndex << " failed, ignoring the candidate";
continue;
}
Expand Down

0 comments on commit 7bfdc71

Please sign in to comment.