Skip to content
Snippets Groups Projects
Commit 13534d57 authored by Walter Lampl's avatar Walter Lampl
Browse files

Merge branch 'dupe.IsolationAlgs-20180925' into 'master'

IsolationAlgs: Avoid duplicated algorithm.

See merge request atlas/athena!14511
parents 4bc3a1b5 38a3a828
No related branches found
No related tags found
No related merge requests found
...@@ -51,7 +51,8 @@ if recAlgs.doEFlow() : ...@@ -51,7 +51,8 @@ if recAlgs.doEFlow() :
# PseudoJetGetters are now run in their own dedicated algs # PseudoJetGetters are now run in their own dedicated algs
from JetRec.JetRecConf import PseudoJetAlgorithm from JetRec.JetRecConf import PseudoJetAlgorithm
# EMTopo (non-origin corrected) clusters # EMTopo (non-origin corrected) clusters
topSequence += PseudoJetAlgorithm("pjalg_"+jtm.emget.Label,PJGetter=jtm.emget) if not hasattr(topSequence, "pjalg_"+jtm.emget.Label):
topSequence += PseudoJetAlgorithm("pjalg_"+jtm.emget.Label,PJGetter=jtm.emget)
# EM Neutral PFOs # EM Neutral PFOs
topSequence += PseudoJetAlgorithm("pjalg_"+emnpflowget.Label,PJGetter=emnpflowget) topSequence += PseudoJetAlgorithm("pjalg_"+emnpflowget.Label,PJGetter=emnpflowget)
......
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