Skip to content

Commit

Permalink
convert mkfit output warnings to LogInfo
Browse files Browse the repository at this point in the history
  • Loading branch information
mmasciov committed Oct 29, 2021
1 parent fa159b6 commit a2cd98c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 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,8 +298,8 @@ 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")
<< "Backward fit of candidate " << candIndex << " failed, ignoring the candidate";
edm::LogInfo("MkFitOutputConverter")
<< "Backward fit of candidate " << candIndex << " failed, ignoring the candidate";
continue;
}

Expand Down

0 comments on commit a2cd98c

Please sign in to comment.