Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Tadej Novak
athena
Commits
2f88bedf
Verified
Commit
2f88bedf
authored
Oct 14, 2021
by
Tadej Novak
Browse files
Store a pickle file in the InDetOverlay tests
parent
0af0f257
Pipeline
#3125342
passed with stage
in 0 seconds
Changes
4
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
InnerDetector/InDetRawAlgs/InDetOverlay/test/BCMOverlayConfig_test.py
View file @
2f88bedf
...
...
@@ -37,5 +37,9 @@ acc.merge(CopyMcEventCollectionCfg(ConfigFlags))
# Add BCM overlay
acc
.
merge
(
BCMOverlayCfg
(
ConfigFlags
))
# Dump the pickle
with
open
(
"BCMOverlayCfg.pkl"
,
"wb"
)
as
f
:
acc
.
store
(
f
)
# Print and run
sys
.
exit
(
printAndRun
(
acc
,
ConfigFlags
,
args
))
InnerDetector/InDetRawAlgs/InDetOverlay/test/PixelOverlayConfig_test.py
View file @
2f88bedf
...
...
@@ -37,5 +37,9 @@ acc.merge(CopyMcEventCollectionCfg(ConfigFlags))
# Add Pixel overlay
acc
.
merge
(
PixelOverlayCfg
(
ConfigFlags
))
# Dump the pickle
with
open
(
"PixelOverlayCfg.pkl"
,
"wb"
)
as
f
:
acc
.
store
(
f
)
# Print and run
sys
.
exit
(
printAndRun
(
acc
,
ConfigFlags
,
args
))
InnerDetector/InDetRawAlgs/InDetOverlay/test/SCTOverlayConfig_test.py
View file @
2f88bedf
...
...
@@ -37,5 +37,9 @@ acc.merge(CopyMcEventCollectionCfg(ConfigFlags))
# Add SCT overlay
acc
.
merge
(
SCTOverlayCfg
(
ConfigFlags
))
# Dump the pickle
with
open
(
"SCTOverlayCfg.pkl"
,
"wb"
)
as
f
:
acc
.
store
(
f
)
# Print and run
sys
.
exit
(
printAndRun
(
acc
,
ConfigFlags
,
args
))
InnerDetector/InDetRawAlgs/InDetOverlay/test/TRTOverlayConfig_test.py
View file @
2f88bedf
...
...
@@ -37,5 +37,9 @@ acc.merge(CopyMcEventCollectionCfg(ConfigFlags))
# Add TRT overlay
acc
.
merge
(
TRTOverlayCfg
(
ConfigFlags
))
# Dump the pickle
with
open
(
"TRTOverlayCfg.pkl"
,
"wb"
)
as
f
:
acc
.
store
(
f
)
# Print and run
sys
.
exit
(
printAndRun
(
acc
,
ConfigFlags
,
args
))
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment