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
bb4e3837
Commit
bb4e3837
authored
7 years ago
by
Ete Remi
Committed by
Andre Sailer
6 years ago
Browse files
Options
Downloads
Patches
Plain Diff
Moved cmd line arguments to a Meta helper
parent
22fa541a
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
DDSim/Helper/Meta.py
+20
-0
20 additions, 0 deletions
DDSim/Helper/Meta.py
with
20 additions
and
0 deletions
DDSim/Helper/Meta.py
0 → 100644
+
20
−
0
View file @
bb4e3837
"""
Helper object for configuring the LCIO output file (meta)
"""
from
DDSim.Helper.ConfigHelper
import
ConfigHelper
class
Meta
(
ConfigHelper
):
"""
Configuration for the LCIO output file settings
"""
def
__init__
(
self
):
super
(
Meta
,
self
).
__init__
()
self
.
_eventParameters_EXTRA
=
{
'
help
'
:
"
Event parameters to write in every event.
"
\
"
Use C/F/I ids to specify parameter type. E.g parameterName/F=0.42 to set a float parameter
"
,
'
nargs
'
:
'
+
'
}
self
.
eventParameters
=
[]
self
.
_runNumberOffset_EXTRA
=
{
'
help
'
:
"
The run number offset to write in slcio output file.
"
\
"
E.g setting it to 42 will start counting runs from 42 instead of 0
"
}
self
.
runNumberOffset
=
0
self
.
_eventNumberOffset_EXTRA
=
{
'
help
'
:
"
The event number offset to write in slcio output file.
"
\
"
E.g setting it to 42 will start counting events from 42 instead of 0
"
}
self
.
eventNumberOffset
=
0
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