TypeError : descriptor 'writelines' requires a 'file' object but received a 'FortranWriter'
Hello,
I am running maddump using MG version 2.9.3 using the DM_spin1 simplified DM model. I run the following
generate production p p > xd xd~
define darkmatter xd
add process interaction @DIS
output DM_Spin1
During the output stage of running I get the following error:
TypeError : descriptor 'writelines' requires a 'file' object but received a 'FortranWriter'
What does this error mean and how can I fix it? I've attached the MG5_debug below. It seems that the error is associated with madgraph/
Please let me know how to resolve this.
Thank you!
Douglas
-------
#******
#* MadGraph5_aMC@NLO *
#* *
#* * * *
#* * * * * *
#* * * * * 5 * * * * *
#* * * * * *
#* * * *
#* *
#* *
#* VERSION 2.9.3 2021-03-25 *
#* *
#* The MadGraph5_aMC@NLO Development Team - Find us at *
#* https:/
#* *
#******
#* *
#* Command File for MadGraph5_aMC@NLO *
#* *
#* run as ./bin/mg5_aMC filename *
#* *
#******
set group_subprocesses Auto
set ignore_
set max_t_for_channel 99
set loop_optimized_
set low_mem_
set default_
set zerowidth_tchannel True
set loop_color_flows False
set gauge unitary
set complex_mass_scheme False
set max_npoint_
import model sm
define p = g u c d s u~ c~ d~ s~
define j = g u c d s u~ c~ d~ s~
define l+ = e+ mu+
define l- = e- mu-
define vl = ve vm vt
define vl~ = ve~ vm~ vt~
import model DMsimp_s_spin1
define p = 21 2 4 1 3 -2 -4 -1 -3 5 -5 # pass to 5 flavors
define j = p
generate production p p > xd xd~
define darkmatter xd
add process interaction @DIS
output Runs/DM_
Traceback (most recent call last):
File "/Users/
return self.onecmd_
File "/Users/
return func(arg, **opt)
File "/Users/
super(
File "/Users/
self.
File "/Users/
self.
File "/Users/
ff.
File "/Users/
file.
TypeError: descriptor 'writelines' requires a 'file' object but received a 'FortranWriter'
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- maddump Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Revision history for this message
|
#1 |
Are you using python3? I do not think that maddump is already pythonn3 compatible.
So I would advise to use python2.
Cheers,
Olivier
> On 10 Jun 2021, at 22:25, Douglas Tuckler <email address hidden> wrote:
>
> New question #697485 on maddump:
> https:/
>
> Hello,
>
> I am running maddump using MG version 2.9.3 using the DM_spin1 simplified DM model. I run the following
>
>
> generate production p p > xd xd~
> define darkmatter xd
> add process interaction @DIS
> output DM_Spin1
>
> During the output stage of running I get the following error:
>
> TypeError : descriptor 'writelines' requires a 'file' object but received a 'FortranWriter'
>
> What does this error mean and how can I fix it? I've attached the MG5_debug below. It seems that the error is associated with madgraph/
>
> Please let me know how to resolve this.
> Thank you!
> Douglas
>
>
> -------
> #******
> #* MadGraph5_aMC@NLO *
> #* *
> #* * * *
> #* * * * * *
> #* * * * * 5 * * * * *
> #* * * * * *
> #* * * *
> #* *
> #* *
> #* VERSION 2.9.3 2021-03-25 *
> #* *
> #* The MadGraph5_aMC@NLO Development Team - Find us at *
> #* https:/
> #* *
> #******
> #* *
> #* Command File for MadGraph5_aMC@NLO *
> #* *
> #* run as ./bin/mg5_aMC filename *
> #* *
> #******
> set group_subprocesses Auto
> set ignore_
> set max_t_for_channel 99
> set loop_optimized_
> set low_mem_
> set default_
> set zerowidth_tchannel True
> set loop_color_flows False
> set gauge unitary
> set complex_mass_scheme False
> set max_npoint_
> import model sm
> define p = g u c d s u~ c~ d~ s~
> define j = g u c d s u~ c~ d~ s~
> define l+ = e+ mu+
> define l- = e- mu-
> define vl = ve vm vt
> define vl~ = ve~ vm~ vt~
> import model DMsimp_s_spin1
> define p = 21 2 4 1 3 -2 -4 -1 -3 5 -5 # pass to 5 flavors
> define j = p
> generate production p p > xd xd~
> define darkmatter xd
> add process interaction @DIS
> output Runs/DM_
> Traceback (most recent call last):
> File "/Users/
> return self.onecmd_
> File "/Users/
> return func(arg, **opt)
> File "/Users/
> super(MadDump_
> File "/Users/
> self.cmd.
> File "/Users/
> self._curr_
> File "/Users/
> ff.remove_
> File "/Users/
> file.writelines
> TypeError: descriptor 'writelines' requires a 'file' object but received a 'FortranWriter'
>
>
>
>
> --
> You received this question notification because you are an answer
> contact for maddump.
Revision history for this message
|
#2 |
Hi Olivier,
I am using python 2. I set up a virtual environment with python 2 so that maddump would be able to run.
> On Jun 10, 2021, at 5:01 PM, Olivier Mattelaer <email address hidden> wrote:
>
> Your question #697485 on maddump changed:
> https:/
>
> Status: Open => Answered
>
> Olivier Mattelaer proposed the following answer:
> Are you using python3? I do not think that maddump is already pythonn3 compatible.
> So I would advise to use python2.
>
> Cheers,
>
> Olivier
>
>> On 10 Jun 2021, at 22:25, Douglas Tuckler <<email address hidden> <mailto:<email address hidden>>> wrote:
>>
>> New question #697485 on maddump:
>> https:/
>>
>> Hello,
>>
>> I am running maddump using MG version 2.9.3 using the DM_spin1 simplified DM model. I run the following
>>
>>
>> generate production p p > xd xd~
>> define darkmatter xd
>> add process interaction @DIS
>> output DM_Spin1
>>
>> During the output stage of running I get the following error:
>>
>> TypeError : descriptor 'writelines' requires a 'file' object but received a 'FortranWriter'
>>
>> What does this error mean and how can I fix it? I've attached the MG5_debug below. It seems that the error is associated with madgraph/
>>
>> Please let me know how to resolve this.
>> Thank you!
>> Douglas
>>
>>
>> -------
>> #******
>> #* MadGraph5_aMC@NLO *
>> #* *
>> #* * * *
>> #* * * * * *
>> #* * * * * 5 * * * * *
>> #* * * * * *
>> #* * * *
>> #* *
>> #* *
>> #* VERSION 2.9.3 2021-03-25 *
>> #* *
>> #* The MadGraph5_aMC@NLO Development Team - Find us at *
>> #* https:/
>> #* *
>> #******
>> #* *
>> #* Command File for MadGraph5_aMC@NLO *
>> #* *
>> #* run as ./bin/mg5_aMC filename *
>> #* *
>> #******
>> set group_subprocesses Auto
>> set ignore_
>> set max_t_for_channel 99
>> set loop_optimized_
>> set low_mem_
>> set default_
>> set zerowidth_tchannel True
>> set loop_color_flows False
>> set gauge unitary
>> set complex_mass_scheme False
>> set max_npoint_
>> import model sm
>> define p = g u c d s u~ c~ d~ s~
>> define j = g u c d s u~ c~ d~ s~
>> define l+ = e+ mu+
>> define l- = e- mu-
>> define vl = ve vm vt
>> define vl~ = ve~ vm~ vt~
>> import model DMsimp_s_spin1
>> define p = 21 2 4 1 3 -2 -4 -1 -3 5 -5 # pass to 5 flavors
>> define j = p
>> generate production p p > xd xd~
>> define darkmatter xd
>> add process interaction @DIS
>> output Runs/DM_
>> Traceback (most recent call last):
>> File "/Users/
>> return self.onecmd_
>> File "/Users/
>> return func(arg, **opt)
>> File "/Users/
>> super(MadDump_
>> File "/Users/
>> self.cmd.
>> File "/Users/
>> self._curr_
>> File "/Users/
>> ff.remove_
>> File "/Users/
>> file.writelines
>> TypeError: descriptor 'writelines' requires a 'file' object but received a 'FortranWriter'
>>
>>
>>
>>
>> --
>> You received this question notification because you are an answer
>> contact for maddump.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https:/
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https:/
>
> You received this question notification because you asked the question.
Revision history for this message
|
#3 |
Ok,
This is a bug on the madgraph side. You will find the associated patch here:
https:/
Cheers,
Olivier
Revision history for this message
|
#4 |
Hi Olivier,
That fixed that particular issue but now I am having some other issues. I will just mention it here but if I should submit a new question please let me know.
The issue I’m having now is when I want to do a displaced decay. I’m considered the same spin 1 mediator model but now I run the following:
generate production p p > y1
add process displace_decay y1
output
Then I set the various parameters similar to the scalar GeV mediator example in appendix D.2 of https:/
After I set the parameters and try to run I get the following error:
AttributeError : 'MADDUMPRunCmd' object has no attribute 'proc_character
Please report this bug to developers
Here is the content of the debug file:
Traceback (most recent call last):
File "/Users/
return self.onecmd_
File "/Users/
return func(arg, **opt)
File "/Users/
self.
File "/Users/
stop = Cmd.onecmd_
File "/Users/
return func(arg, **opt)
File "/Users/
self.
File "/Users/
self.
File "/Users/
self.ask, first_cmd=
File "/Users/
cards=cards, mode=mode, **opt)
File "/Users/
fct=
File "/Users/
result = fct(question)
File "/Users/
return self.cmdloop()
File "/Users/
super(
File "/Users/
stop = self.postcmd(stop, line)
File "/Users/
self.
File "/Users/
super(
File "/Users/
proc_charac = self.mother_
AttributeError: 'MADDUMPRunCmd' object has no attribute 'proc_character
#######
## PARAM_CARD AUTOMATICALY GENERATED BY MG5 FOLLOWING UFO MODEL ####
#######
## ##
## Width set on Auto will be computed following the information ##
## present in the decay.py files of the model. ##
## See arXiv:1402.1178 for more details. ##
## ##
#######
#######
## INFORMATION FOR LOOP
#######
Block loop
1 9.118800e+01 # MU_R
#######
## INFORMATION FOR MASS
#######
Block mass
5 4.700000e+00 # MB
6 1.733000e+02 # MT
15 1.777000e+00 # MTA
23 9.118760e+01 # MZ
25 1.257000e+02 # MH
9990012 3.000000e+02 # mN1
9990014 5.000000e+02 # mN2
9990016 1.000000e+03 # mN3
## Dependent parameters, given by model restrictions.
## Those values should be edited following the
## analytical expression. MG5 ignores those values
## but they are important for interfacing the output of MG5
## to external program such as Pythia.
1 0.000000e+00 # d : 0.0
2 0.000000e+00 # u : 0.0
3 0.000000e+00 # s : 0.0
4 0.000000e+00 # c : 0.0
11 0.000000e+00 # e- : 0.0
12 0.000000e+00 # ve : 0.0
13 0.000000e+00 # mu- : 0.0
14 0.000000e+00 # vm : 0.0
16 0.000000e+00 # vt : 0.0
21 0.000000e+00 # g : 0.0
22 0.000000e+00 # a : 0.0
24 7.995123e+01 # w+ : cmath.sqrt(
9000002 9.118760e+01 # ghz : MZ
9000003 7.995123e+01 # ghwp : MW
9000004 7.995123e+01 # ghwm : MW
#######
## INFORMATION FOR NUMIXING
#######
Block numixing
1 1.000000e+00 # VeN1
2 0.000000e+00 # VeN2
3 0.000000e+00 # VeN3
4 0.000000e+00 # VmuN1
5 1.000000e+00 # VmuN2
6 0.000000e+00 # VmuN3
7 0.000000e+00 # VtaN1
8 0.000000e+00 # VtaN2
9 1.000000e+00 # VtaN3
#######
## INFORMATION FOR SMINPUTS
#######
Block sminputs
1 1.279400e+02 # aEWM1
2 1.174560e-05 # Gf
3 1.184000e-01 # aS
#######
## INFORMATION FOR YUKAWA
#######
Block yukawa
5 4.700000e+00 # ymb
6 1.733000e+02 # ymt
15 1.777000e+00 # ymtau
#######
## INFORMATION FOR DECAY
#######
DECAY 6 1.350000e+00 # WT
DECAY 23 2.495200e+00 # WZ
DECAY 24 2.085000e+00 # WW
DECAY 25 4.170000e-03 # WH
DECAY 9990012 3.030000e-01 # WN1
DECAY 9990014 1.500000e+00 # WN2
DECAY 9990016 1.230000e+01 # WN3
## Dependent parameters, given by model restrictions.
## Those values should be edited following the
## analytical expression. MG5 ignores those values
## but they are important for interfacing the output of MG5
## to external program such as Pythia.
DECAY 1 0.000000e+00 # d : 0.0
DECAY 2 0.000000e+00 # u : 0.0
DECAY 3 0.000000e+00 # s : 0.0
DECAY 4 0.000000e+00 # c : 0.0
DECAY 5 0.000000e+00 # b : 0.0
DECAY 11 0.000000e+00 # e- : 0.0
DECAY 12 0.000000e+00 # ve : 0.0
DECAY 13 0.000000e+00 # mu- : 0.0
DECAY 14 0.000000e+00 # vm : 0.0
DECAY 15 0.000000e+00 # ta- : 0.0
DECAY 16 0.000000e+00 # vt : 0.0
DECAY 21 0.000000e+00 # g : 0.0
DECAY 22 0.000000e+00 # a : 0.0
DECAY 9000002 2.495200e+00 # ghz : WZ
DECAY 9000003 2.085000e+00 # ghwp : WW
DECAY 9000004 2.085000e+00 # ghwm : WW
#======
# QUANTUM NUMBERS OF NEW STATE(S) (NON SM PDG CODE)
#======
Block QNUMBERS 9000001 # gha
1 0 # 3 times electric charge
2 1 # number of spin states (2S+1)
3 1 # colour rep (1: singlet, 3: triplet, 8: octet)
4 1 # Particle/
Block QNUMBERS 9000002 # ghz
1 0 # 3 times electric charge
2 1 # number of spin states (2S+1)
3 1 # colour rep (1: singlet, 3: triplet, 8: octet)
4 1 # Particle/
Block QNUMBERS 9000003 # ghwp
1 3 # 3 times electric charge
2 1 # number of spin states (2S+1)
3 1 # colour rep (1: singlet, 3: triplet, 8: octet)
4 1 # Particle/
Block QNUMBERS 9000004 # ghwm
1 -3 # 3 times electric charge
2 1 # number of spin states (2S+1)
3 1 # colour rep (1: singlet, 3: triplet, 8: octet)
4 1 # Particle/
Block QNUMBERS 82 # ghg
1 0 # 3 times electric charge
2 1 # number of spin states (2S+1)
3 8 # colour rep (1: singlet, 3: triplet, 8: octet)
4 1 # Particle/
Block QNUMBERS 9990012 # n1
1 0 # 3 times electric charge
2 2 # number of spin states (2S+1)
3 1 # colour rep (1: singlet, 3: triplet, 8: octet)
4 1 # Particle/
Block QNUMBERS 9990014 # n2
1 0 # 3 times electric charge
2 2 # number of spin states (2S+1)
3 1 # colour rep (1: singlet, 3: triplet, 8: octet)
4 1 # Particle/
Block QNUMBERS 9990016 # n3
1 0 # 3 times electric charge
2 2 # number of spin states (2S+1)
3 1 # colour rep (1: singlet, 3: triplet, 8: octet)
4 1 # Particle/
#******
# MadGraph5_aMC@NLO *
# *
# run_card.dat MadEvent *
# *
# This file is used to set the parameters of the run. *
# *
# Some notation/
# *
# Lines starting with a '# ' are info or comments *
# *
# mind the format: value = variable ! comment *
# *
# To display more options, you can type the command: *
# update full_run_card *
#******
#
#******
# Running parameters
#******
#
#******
# Tag name for the run (one word) *
#******
tag_1 = run_tag ! name of the run
#******
# Number of events and rnd seed *
# Warning: Do not generate more than 1M events in a single run *
#******
10000 = nevents ! Number of unweighted events requested
0 = iseed ! rnd seed (0=assigned automatically=
#******
# Collider type and energy *
# lpp: 0=No PDF, 1=proton, -1=antiproton, 2=photon from proton, *
# 3=photon from electron *
#******
1 = lpp1 ! beam 1 type
1 = lpp2 ! beam 2 type
6500.0 = ebeam1 ! beam 1 total energy in GeV
6500.0 = ebeam2 ! beam 2 total energy in GeV
# To see polarised beam options: type "update beam_pol"
#******
# PDF CHOICE: this automatically fixes also alpha_s and its evol. *
#******
nn23lo1 = pdlabel ! PDF set
230000 = lhaid ! if pdlabel=lhapdf, this is the lhapdf number
# To see heavy ion options: type "update ion_pdf"
#******
# Renormalization and factorization scales *
#******
False = fixed_ren_scale ! if .true. use fixed ren scale
False = fixed_fac_scale ! if .true. use fixed fac scale
91.188 = scale ! fixed ren scale
91.188 = dsqrt_q2fact1 ! fixed fact scale for pdf1
91.188 = dsqrt_q2fact2 ! fixed fact scale for pdf2
-1 = dynamical_
1.0 = scalefact ! scale factor for event-by-event scales
#******
# Type and output format
#******
False = gridpack !True = setting up the grid pack
-1.0 = time_of_flight ! threshold (in mm) below which the invariant livetime is not written (-1 means not written)
3.0 = lhe_version ! Change the way clustering information pass to shower.
True = clusinfo ! include clustering tag in output
average = event_norm ! average/sum. Normalization of the weight in the LHEF
#******
# Matching parameter (MLM only)
#******
0 = ickkw ! 0 no matching, 1 MLM
1.0 = alpsfact ! scale factor for QCD emission vx
False = chcluster ! cluster only according to channel diag
4 = asrwgtflavor ! highest quark flavor for a_s reweight
False = auto_ptj_mjj ! Automatic setting of ptj and mjj if xqcut >0
0.0 = xqcut ! minimum kt jet measure between partons
#******
#
#******
# handling of the helicities:
# 0: sum over all helicities
# 1: importance sampling over helicities
#******
0 = nhel ! using helicities importance sampling or not.
#******
# Generation bias, check the wiki page below for more information: *
# 'cp3.irmp.
#******
None = bias_module ! Bias type of bias, [None, ptj_bias, -custom_folder-]
{} = bias_parameters ! Specifies the parameters of the module.
#
#******
# Parton level cuts definition *
#******
#
#
#******
# BW cutoff (M+/-bwcutoff*
#******
15.0 = bwcutoff ! (M+/-bwcutoff*
#******
# Apply pt/E/eta/
# (note that etmiss/
#******
False = cut_decays ! Cut decay products
#******
# Standard Cuts *
#******
# Minimum and maximum pt's (for max, -1 means no cut) *
#******
20.0 = ptj ! minimum pt for the jets
0.0 = ptb ! minimum pt for the b
10.0 = pta ! minimum pt for the photons
10.0 = ptl ! minimum pt for the charged leptons
0.0 = misset ! minimum missing Et (sum of neutrino's momenta)
-1.0 = ptjmax ! maximum pt for the jets
-1.0 = ptbmax ! maximum pt for the b
-1.0 = ptamax ! maximum pt for the photons
-1.0 = ptlmax ! maximum pt for the charged leptons
-1.0 = missetmax ! maximum missing Et (sum of neutrino's momenta)
{} = pt_min_pdg ! pt cut for other particles (use pdg code). Applied on particle and anti-particle
{} = pt_max_pdg ! pt cut for other particles (syntax e.g. {6: 100, 25: 50})
#
# For display option for energy cut in the partonic center of mass frame type 'update ecut'
#
#******
# Maximum and minimum absolute rapidity (for max, -1 means no cut) *
#******
5.0 = etaj ! max rap for the jets
-1.0 = etab ! max rap for the b
2.5 = etaa ! max rap for the photons
2.5 = etal ! max rap for the charged leptons
0.0 = etajmin ! min rap for the jets
0.0 = etabmin ! min rap for the b
0.0 = etaamin ! min rap for the photons
0.0 = etalmin ! main rap for the charged leptons
{} = eta_min_pdg ! rap cut for other particles (use pdg code). Applied on particle and anti-particle
{} = eta_max_pdg ! rap cut for other particles (syntax e.g. {6: 2.5, 23: 5})
#******
# Minimum and maximum DeltaR distance *
#******
0.4 = drjj ! min distance between jets
0.0 = drbb ! min distance between b's
0.4 = drll ! min distance between leptons
0.4 = draa ! min distance between gammas
0.0 = drbj ! min distance between b and jet
0.4 = draj ! min distance between gamma and jet
0.4 = drjl ! min distance between jet and lepton
0.0 = drab ! min distance between gamma and b
0.0 = drbl ! min distance between b and lepton
0.4 = dral ! min distance between gamma and lepton
-1.0 = drjjmax ! max distance between jets
-1.0 = drbbmax ! max distance between b's
-1.0 = drllmax ! max distance between leptons
-1.0 = draamax ! max distance between gammas
-1.0 = drbjmax ! max distance between b and jet
-1.0 = drajmax ! max distance between gamma and jet
-1.0 = drjlmax ! max distance between jet and lepton
-1.0 = drabmax ! max distance between gamma and b
-1.0 = drblmax ! max distance between b and lepton
-1.0 = dralmax ! maxdistance between gamma and lepton
#******
# Minimum and maximum invariant mass for pairs *
# WARNING: for four lepton final state mmll cut require to have *
# different lepton masses for each flavor! *
#******
0.0 = mmjj ! min invariant mass of a jet pair
0.0 = mmbb ! min invariant mass of a b pair
0.0 = mmaa ! min invariant mass of gamma gamma pair
0.0 = mmll ! min invariant mass of l+l- (same flavour) lepton pair
-1.0 = mmjjmax ! max invariant mass of a jet pair
-1.0 = mmbbmax ! max invariant mass of a b pair
-1.0 = mmaamax ! max invariant mass of gamma gamma pair
-1.0 = mmllmax ! max invariant mass of l+l- (same flavour) lepton pair
{} = mxx_min_pdg ! min invariant mass of a pair of particles X/X~ (e.g. {6:250})
{'default': False} = mxx_only_
#******
# Minimum and maximum invariant mass for all letpons *
#******
0.0 = mmnl ! min invariant mass for all letpons (l+- and vl)
-1.0 = mmnlmax ! max invariant mass for all letpons (l+- and vl)
#******
# Minimum and maximum pt for 4-momenta sum of leptons *
#******
0.0 = ptllmin ! Minimum pt for 4-momenta sum of leptons(l and vl)
-1.0 = ptllmax ! Maximum pt for 4-momenta sum of leptons(l and vl)
#******
# Inclusive cuts *
#******
0.0 = ptheavy ! minimum pt for at least one heavy final state
0.0 = xptj ! minimum pt for at least one jet
0.0 = xptb ! minimum pt for at least one b
0.0 = xpta ! minimum pt for at least one photon
0.0 = xptl ! minimum pt for at least one charged lepton
#******
# Control the pt's of the jets sorted by pt *
#******
0.0 = ptj1min ! minimum pt for the leading jet in pt
0.0 = ptj2min ! minimum pt for the second jet in pt
0.0 = ptj3min ! minimum pt for the third jet in pt
0.0 = ptj4min ! minimum pt for the fourth jet in pt
-1.0 = ptj1max ! maximum pt for the leading jet in pt
-1.0 = ptj2max ! maximum pt for the second jet in pt
-1.0 = ptj3max ! maximum pt for the third jet in pt
-1.0 = ptj4max ! maximum pt for the fourth jet in pt
0 = cutuse ! reject event if fails any (0) / all (1) jet pt cuts
#******
# Control the pt's of leptons sorted by pt *
#******
0.0 = ptl1min ! minimum pt for the leading lepton in pt
0.0 = ptl2min ! minimum pt for the second lepton in pt
0.0 = ptl3min ! minimum pt for the third lepton in pt
0.0 = ptl4min ! minimum pt for the fourth lepton in pt
-1.0 = ptl1max ! maximum pt for the leading lepton in pt
-1.0 = ptl2max ! maximum pt for the second lepton in pt
-1.0 = ptl3max ! maximum pt for the third lepton in pt
-1.0 = ptl4max ! maximum pt for the fourth lepton in pt
#******
# Control the Ht(k)=Sum of k leading jets *
#******
0.0 = htjmin ! minimum jet HT=Sum(jet pt)
-1.0 = htjmax ! maximum jet HT=Sum(jet pt)
0.0 = ihtmin !inclusive Ht for all partons (including b)
-1.0 = ihtmax !inclusive Ht for all partons (including b)
0.0 = ht2min ! minimum Ht for the two leading jets
0.0 = ht3min ! minimum Ht for the three leading jets
0.0 = ht4min ! minimum Ht for the four leading jets
-1.0 = ht2max ! maximum Ht for the two leading jets
-1.0 = ht3max ! maximum Ht for the three leading jets
-1.0 = ht4max ! maximum Ht for the four leading jets
#******
# Photon-isolation cuts, according to hep-ph/9801442 *
# When ptgmin=0, all the other parameters are ignored *
# When ptgmin>0, pta and draj are not going to be used *
#******
0.0 = ptgmin ! Min photon transverse momentum
0.4 = R0gamma ! Radius of isolation code
1.0 = xn ! n parameter of eq.(3.4) in hep-ph/9801442
1.0 = epsgamma ! epsilon_gamma parameter of eq.(3.4) in hep-ph/9801442
True = isoEM ! isolate photons from EM energy (photons and leptons)
#******
# WBF cuts *
#******
0.0 = xetamin ! minimum rapidity for two jets in the WBF case
0.0 = deltaeta ! minimum rapidity for two jets in the WBF case
#******
# Turn on either the ktdurham or ptlund cut to activate *
# CKKW(L) merging with Pythia8 [arXiv:1410.3012, arXiv:1109.4829] *
#******
-1.0 = ktdurham
0.4 = dparameter
-1.0 = ptlund
1, 2, 3, 4, 5, 6, 21, 82 = pdgs_for_
#******
# maximal pdg code for quark to be considered as a light jet *
# (otherwise b cuts are applied) *
#******
4 = maxjetflavor ! Maximum jet pdg code
#******
#
#******
# Store info for systematics studies *
# WARNING: Do not use for interference type of computation *
#******
True = use_syst ! Enable systematics studies
#
systematics = systematics_program ! none, systematics [python], SysCalc [depreceted, C++]
['--mur=0.5,1,2', '--muf=0.5,1,2', '--pdf=errorset'] = systematics_
# Syscalc is deprecated but to see the associate options type'update syscalc'
> On Jun 11, 2021, at 2:30 AM, Olivier Mattelaer <email address hidden> wrote:
>
> Your question #697485 on maddump changed:
> https:/
>
> Status: Open => Answered
>
> Olivier Mattelaer proposed the following answer:
> Ok,
>
> This is a bug on the madgraph side. You will find the associated patch here:
> https:/
>
> Cheers,
>
> Olivier
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https:/
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https:/
>
> You received this question notification because you asked the question.
Revision history for this message
|
#5 |
Please open a new bug report for that.
This one is on the maddump side and therefore I can not handle it (and looks like that the code shipped with madgraph is not in sync with the version on launchpad so i will not try to fix stuff).
In principle this fix is enough to fix that issue:
=== modified file 'new_interface/
--- new_interface/
+++ new_interface/
@@ -10,6 +10,7 @@
import logging
#import MadSpin.decay as decay
import madgraph.
+import madgraph.
import MadSpin.
import lhe_to_
import displaced_decay as displ_decay
@@ -93,6 +94,7 @@
+ self.proc_
# def check_param_
# """
But you will face more issue after that. So please open a bug report.
Can you help with this problem?
Provide an answer of your own, or ask Douglas Tuckler for more information if necessary.