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
ea1ed765
Commit
ea1ed765
authored
2 years ago
by
Markus Frank
Committed by
MarkusFrankATcernch
2 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Remove python style errors
parent
c3b46278
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
DDDigi/python/dddigi.py
+2
-1
2 additions, 1 deletion
DDDigi/python/dddigi.py
examples/DDDigi/scripts/TestIPMove.py
+1
-1
1 addition, 1 deletion
examples/DDDigi/scripts/TestIPMove.py
examples/DDG4/scripts/TestStacking.py
+1
-3
1 addition, 3 deletions
examples/DDG4/scripts/TestStacking.py
with
4 additions
and
5 deletions
DDDigi/python/dddigi.py
+
2
−
1
View file @
ea1ed765
...
...
@@ -264,7 +264,8 @@ def _adopt_sequence_action(self, name, **options):
def
_adopt_processor
(
self
,
action
,
containers
):
proc
=
Interface
.
toContainerProcessor
(
_get_action
(
action
))
attr
=
getattr
(
_get_action
(
self
),
'
__adopt_processor
'
)(
proc
,
containers
)
attr
=
getattr
(
_get_action
(
self
),
'
__adopt_processor
'
)
attr
(
proc
,
containers
)
# ---------------------------------------------------------------------------
...
...
This diff is collapsed.
Click to expand it.
examples/DDDigi/scripts/TestIPMove.py
+
1
−
1
View file @
ea1ed765
...
...
@@ -26,7 +26,7 @@ def run():
move_seq
=
signal
.
adopt_action
(
'
DigiContainerSequenceAction/MoveSignal
'
,
parallel
=
True
,
input_mask
=
0x0
,
input_segment
=
'
inputs
'
)
mover
=
digi
.
create_action
(
'
DigiIPMover/MoveIPSignal
'
)
mover
.
adopt_property
(
set_ip
,
"
interaction_point
"
,
"
interaction_point
"
)
;
mover
.
adopt_property
(
set_ip
,
"
interaction_point
"
,
"
interaction_point
"
)
conts
=
[
c
for
c
in
digi
.
containers
()]
conts
.
append
(
'
MCParticles
'
)
move_seq
.
adopt_container_processor
(
mover
,
conts
)
...
...
This diff is collapsed.
Click to expand it.
examples/DDG4/scripts/TestStacking.py
+
1
−
3
View file @
ea1ed765
...
...
@@ -99,9 +99,7 @@ def run():
ph
.
enableUI
()
phys
.
adopt
(
ph
)
phys
.
dump
()
phys
.
dump
()
# Start the engine...
geant4
.
execute
()
...
...
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