Skip to content
Snippets Groups Projects
Commit d6c00150 authored by scott snyder's avatar scott snyder Committed by scott snyder
Browse files

JetRec: Fix test.

The JetRecAlgTestCfg test was failing because the JetContainer
property of JetClusterMomentsTool was never initialized
parent e0b82d7d
No related branches found
No related tags found
No related merge requests found
......@@ -123,7 +123,8 @@ def JetBuildAlgCfg(ConfigFlags,buildjetsname):
# This should get its own dictionary.
# Add a simple jet modifier to the JetRecAlg
jclsmoms = CompFactory.JetClusterMomentsTool("clsmoms")
jclsmoms = CompFactory.JetClusterMomentsTool("clsmoms",
JetContainer = buildjetsname)
# Create the JetRecAlg, configure it to use the builder
# using constructor syntax instead
......@@ -153,7 +154,8 @@ def JetCopyAlgCfg(ConfigFlags,buildjetsname,copyjetsname):
jcopy.InputJets = buildjetsname
# Add a simple jet modifier to the JetRecAlg
jclsmoms = CompFactory.JetClusterMomentsTool("clsmoms")
jclsmoms = CompFactory.JetClusterMomentsTool("clsmoms",
JetContainer = copyjetsname)
# Create the JetRecAlg, configure it to use the copier
# using constructor syntax instead
......
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