Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
DD4hep
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
cepc
externals
mirroring
DD4hep
Commits
6c74a73f
Commit
6c74a73f
authored
2 years ago
by
Markus Frank
Committed by
MarkusFrankATcernch
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Fix python style errors
parent
e02ce256
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
examples/ClientTests/scripts/MiniTelEdm4hepWrite.py
+1
-1
1 addition, 1 deletion
examples/ClientTests/scripts/MiniTelEdm4hepWrite.py
examples/DDDigi/scripts/TestEdm4hepInput.py
+3
-1
3 additions, 1 deletion
examples/DDDigi/scripts/TestEdm4hepInput.py
with
4 additions
and
2 deletions
examples/ClientTests/scripts/MiniTelEdm4hepWrite.py
+
1
−
1
View file @
6c74a73f
...
...
@@ -32,7 +32,7 @@ def run():
DDG4
.
setPrintLevel
(
DDG4
.
OutputLevel
.
WARNING
)
m
.
ui
.
Commands
=
[
run
,
'
/ddg4/UI/terminate
'
]
m
.
configure
()
wr
=
m
.
geant4
.
setupEDM4hepOutput
(
'
edm4hep
'
,
'
MiniTel_ddg4_edm4hep.root
'
)
m
.
geant4
.
setupEDM4hepOutput
(
'
edm4hep
'
,
'
MiniTel_ddg4_edm4hep.root
'
)
gen
=
DDG4
.
GeneratorAction
(
kernel
,
'
Geant4GeneratorActionInit/GenerationInit
'
)
kernel
.
generatorAction
().
adopt
(
gen
)
...
...
This diff is collapsed.
Click to expand it.
examples/DDDigi/scripts/TestEdm4hepInput.py
+
3
−
1
View file @
6c74a73f
...
...
@@ -14,7 +14,9 @@ from __future__ import absolute_import
def
run
():
import
DigiTest
digi
=
DigiTest
.
Test
(
geometry
=
None
)
read
=
digi
.
input_action
(
'
DigiEdm4hepInput/SignalReader
'
,
mask
=
0x0
,
input
=
[
'
../ClientTests/MiniTel_ddg4_edm4hep.root
'
])
read
=
digi
.
input_action
(
'
DigiEdm4hepInput/SignalReader
'
,
mask
=
0x0
,
input
=
[
'
../ClientTests/MiniTel_ddg4_edm4hep.root
'
])
dump
=
digi
.
event_action
(
'
DigiStoreDump/StoreDump
'
,
parallel
=
False
)
digi
.
check_creation
([
read
,
dump
])
digi
.
run_checked
(
num_events
=
5
,
num_threads
=
5
,
parallel
=
3
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment