Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

convert mkfit output warnings to LogInfo #35802

Merged
merged 1 commit into from
Oct 24, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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