Skip to content
Snippets Groups Projects
Commit 21a270d8 authored by Frank Winklmeier's avatar Frank Winklmeier
Browse files

Merge branch 'master-no-thinning-without-calo' into 'master'

Calo thinning shouldn't run if there's no Calo

See merge request atlas/athena!40718
parents 95da5e3a 2dd0337d
No related branches found
No related tags found
No related merge requests found
......@@ -1366,10 +1366,10 @@ if rec.doWriteAOD():
from ThinningUtils.ThinGeantTruth import ThinGeantTruth
ThinGeantTruth()
if AODFlags.ThinNegativeEnergyCaloClusters:
if rec.doCalo and AODFlags.ThinNegativeEnergyCaloClusters:
from ThinningUtils.ThinNegativeEnergyCaloClusters import ThinNegativeEnergyCaloClusters
ThinNegativeEnergyCaloClusters()
if AODFlags.ThinNegativeEnergyNeutralPFOs:
if rec.doCalo and AODFlags.ThinNegativeEnergyNeutralPFOs:
from ThinningUtils.ThinNegativeEnergyNeutralPFOs import ThinNegativeEnergyNeutralPFOs
ThinNegativeEnergyNeutralPFOs()
if (AODFlags.ThinInDetForwardTrackParticles() and
......
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