Verified Commit 2f88bedf authored by Tadej Novak's avatar Tadej Novak
Browse files

Store a pickle file in the InDetOverlay tests

parent 0af0f257
Pipeline #3125342 passed with stage
in 0 seconds
...@@ -37,5 +37,9 @@ acc.merge(CopyMcEventCollectionCfg(ConfigFlags)) ...@@ -37,5 +37,9 @@ acc.merge(CopyMcEventCollectionCfg(ConfigFlags))
# Add BCM overlay # Add BCM overlay
acc.merge(BCMOverlayCfg(ConfigFlags)) acc.merge(BCMOverlayCfg(ConfigFlags))
# Dump the pickle
with open("BCMOverlayCfg.pkl", "wb") as f:
acc.store(f)
# Print and run # Print and run
sys.exit(printAndRun(acc, ConfigFlags, args)) sys.exit(printAndRun(acc, ConfigFlags, args))
...@@ -37,5 +37,9 @@ acc.merge(CopyMcEventCollectionCfg(ConfigFlags)) ...@@ -37,5 +37,9 @@ acc.merge(CopyMcEventCollectionCfg(ConfigFlags))
# Add Pixel overlay # Add Pixel overlay
acc.merge(PixelOverlayCfg(ConfigFlags)) acc.merge(PixelOverlayCfg(ConfigFlags))
# Dump the pickle
with open("PixelOverlayCfg.pkl", "wb") as f:
acc.store(f)
# Print and run # Print and run
sys.exit(printAndRun(acc, ConfigFlags, args)) sys.exit(printAndRun(acc, ConfigFlags, args))
...@@ -37,5 +37,9 @@ acc.merge(CopyMcEventCollectionCfg(ConfigFlags)) ...@@ -37,5 +37,9 @@ acc.merge(CopyMcEventCollectionCfg(ConfigFlags))
# Add SCT overlay # Add SCT overlay
acc.merge(SCTOverlayCfg(ConfigFlags)) acc.merge(SCTOverlayCfg(ConfigFlags))
# Dump the pickle
with open("SCTOverlayCfg.pkl", "wb") as f:
acc.store(f)
# Print and run # Print and run
sys.exit(printAndRun(acc, ConfigFlags, args)) sys.exit(printAndRun(acc, ConfigFlags, args))
...@@ -37,5 +37,9 @@ acc.merge(CopyMcEventCollectionCfg(ConfigFlags)) ...@@ -37,5 +37,9 @@ acc.merge(CopyMcEventCollectionCfg(ConfigFlags))
# Add TRT overlay # Add TRT overlay
acc.merge(TRTOverlayCfg(ConfigFlags)) acc.merge(TRTOverlayCfg(ConfigFlags))
# Dump the pickle
with open("TRTOverlayCfg.pkl", "wb") as f:
acc.store(f)
# Print and run # Print and run
sys.exit(printAndRun(acc, ConfigFlags, args)) sys.exit(printAndRun(acc, ConfigFlags, args))
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment