Skip to content
Snippets Groups Projects
Commit 4689158e authored by Carlo Varni's avatar Carlo Varni
Browse files

Minor changes

parent ff816f91
No related branches found
No related tags found
No related merge requests found
...@@ -151,12 +151,12 @@ def PrepareStandAloneBTagCfg(inputFlags): ...@@ -151,12 +151,12 @@ def PrepareStandAloneBTagCfg(inputFlags):
def BTagRecoCfg(inputFlags, JetCollection = ['AntiKt4EMTopo'], **kwargs): def BTagRecoCfg(inputFlags, JetCollection = ['AntiKt4EMTopo'], **kwargs):
seqName = "TopAlg" result=None
from AthenaCommon.ConcurrencyFlags import jobproperties from AthenaCommon.ConcurrencyFlags import jobproperties
if jobproperties.ConcurrencyFlags.NumThreads() >= 1 : if jobproperties.ConcurrencyFlags.NumThreads() >= 1 :
seqName = "AthAlgSeq" result=ComponentAccumulator()
else:
result=ComponentAccumulator( seqName ) result=ComponentAccumulator( "TopAlg" )
taggerList = inputFlags.BTagging.run2TaggersList taggerList = inputFlags.BTagging.run2TaggersList
result.merge(JetTagCalibCfg(inputFlags, TaggerList = taggerList, **kwargs)) result.merge(JetTagCalibCfg(inputFlags, TaggerList = taggerList, **kwargs))
......
...@@ -10,13 +10,14 @@ from BTagging.BTagToolConfig import BTagToolCfg ...@@ -10,13 +10,14 @@ from BTagging.BTagToolConfig import BTagToolCfg
JetBTaggerAlg=CompFactory.Analysis.JetBTaggerAlg JetBTaggerAlg=CompFactory.Analysis.JetBTaggerAlg
def JetBTaggerAlgCfg(ConfigFlags, JetCollection="", PrimaryVertexCollectionName="", TaggerList=[], SetupScheme="", **options): def JetBTaggerAlgCfg(ConfigFlags, JetCollection="", PrimaryVertexCollectionName="", TaggerList=[], SetupScheme="", **options):
seqName = "TopAlg" acc=None
from AthenaCommon.ConcurrencyFlags import jobproperties from AthenaCommon.ConcurrencyFlags import jobproperties
if jobproperties.ConcurrencyFlags.NumThreads() >= 1 : if jobproperties.ConcurrencyFlags.NumThreads() >= 1 :
seqName = "AthAlgSeq" acc=ComponentAccumulator()
else:
acc=ComponentAccumulator( "TopAlg" )
acc=ComponentAccumulator( seqName )
jetcol = JetCollection jetcol = JetCollection
# setup the Analysis__BTagTrackAssociation tool # setup the Analysis__BTagTrackAssociation tool
......
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