Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
atlas-physics
pmg
MC Job Options
Commits
7cd03422
Commit
7cd03422
authored
Apr 22, 2021
by
Spyros Argyropoulos
Committed by
Christian Gutschow
Apr 22, 2021
Browse files
Add checks for modifications of particle properties by Pythia
parent
a673c7be
Pipeline
#2524621
passed with stages
in 1 minute and 30 seconds
Changes
1
Pipelines
2
Show whitespace changes
Inline
Side-by-side
scripts/logParser.py
View file @
7cd03422
...
...
@@ -34,7 +34,8 @@ generatorDict={
'Setting nevents'
:[],
'No pdf base fragment'
:[],
'Generating events from gridpack'
:[],
'Integration grid files found locally. Event generation shall continue'
:[]
'Integration grid files found locally. Event generation shall continue'
:[],
'You asked Pythia8 to modify properties for particle'
:[]
}
testHepMCDict
=
{
...
...
@@ -272,6 +273,8 @@ def pythia8Checks(logFile,generatorName):
if
"Powheg"
in
generatorName
and
not
usesCorrectPowheg
:
logerr
(
"ERROR:"
,
generatorName
+
" used with incorrect include file. Please use Pythia8_Powheg_Main31.py"
)
errors
=
True
if
len
(
generatorDict
[
'You asked Pythia8 to modify properties for particle'
])
!=
0
:
logwarn
(
"WARNING: modification of particle properties requested: "
,
''
.
join
(
generatorDict
[
'You asked Pythia8 to modify properties for particle'
]))
if
not
errors
:
loggood
(
"INFO: Pythia 8 checks:"
,
"Passed"
)
...
...
@@ -373,6 +376,7 @@ def main():
checkLine
(
line
,
'Py:MadGraphUtils'
,
generatorDict
,
'='
)
checkLine
(
line
,
'Py:MadGraphSysUtils'
,
generatorDict
,
'WARNING !!!'
)
checkLine
(
line
,
'Py:PowhegControl'
,
generatorDict
,
'INFO'
)
checkLine
(
line
,
'Py:newP8util'
,
generatorDict
,
'WARNING'
)
# This is a slight abuse (extract inputGeneratorFile printed from H7 interface and put it into transform dictionary)
checkLine
(
line
,
'Py:Herwig7_i/Herwig7_LHEF.py'
,
generateTfDict
,
'inputGeneratorFile'
)
# Again an abuse to extract number of events for MadGraph which are printed like "05:14:02 Nb of events : 20000"
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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