Skip to content
Snippets Groups Projects
Commit 37379a25 authored by Edward Moyse's avatar Edward Moyse
Browse files

Merge branch 'MCTruthClassifier_add_extra_info_in_warning' into 'master'

MCTruthClassifier , expand WARNING so as to know the charge e.g if is Neutral or Charged

See merge request atlas/athena!37876
parents f9a380b6 9e4e2503
No related branches found
No related tags found
No related merge requests found
...@@ -358,8 +358,9 @@ MCTruthClassifier::genPartToCalo(const xAOD::CaloCluster* clus, ...@@ -358,8 +358,9 @@ MCTruthClassifier::genPartToCalo(const xAOD::CaloCluster* clus,
extensionOK = EtaPhiCaloHelper(caloExtension.get(), sample, etaCalo, phiCalo); extensionOK = EtaPhiCaloHelper(caloExtension.get(), sample, etaCalo, phiCalo);
} }
if (!extensionOK) { if (!extensionOK) {
ATH_MSG_WARNING("extrapolation of Truth Particle with eta " << thePart->eta() << " and Pt " << thePart->pt() ATH_MSG_WARNING("extrapolation of Truth Particle with eta "
<< " to calo failed"); << thePart->eta() << " , charge " << thePart->charge()
<< " , Pt " << thePart->pt() << " to calo failed");
return false; return false;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment