Skip to content

Commit

Permalink
moved/added LogTrace
Browse files Browse the repository at this point in the history
  • Loading branch information
Fedespring committed Jan 31, 2020
1 parent 6733a7f commit 3248598
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions SimMuon/MCTruth/plugins/MuonSimClassifier.cc
Original file line number Diff line number Diff line change
Expand Up @@ -321,10 +321,12 @@ void MuonSimClassifier::produce(edm::Event &iEvent, const edm::EventSetup &iSetu
if (mMom->numberOfMothers() > 0) {
mMom = mMom->motherRef();
} else {
LogTrace("MuonSimClassifier") << "\t\t backtracking mother " << jm << ", pdgId = " << mMom->pdgId()
<< ", status= " << mMom->status();
LogTrace("MuonSimClassifier") << "\t No Mother is found ";
break;
}

LogTrace("MuonSimClassifier") << "\t\t backtracking mother " << jm << ", pdgId = " << mMom->pdgId()
<< ", status= " << mMom->status();
}
genMom = mMom; // redefine genMom
simInfo[i].motherPdgId = genMom->pdgId();
Expand Down

0 comments on commit 3248598

Please sign in to comment.