Class to take care of exporting a set of matrix elements to MadEvent
format.
|
convert_model(self,
model,
wanted_lorentz=[ ] ,
wanted_couplings=[ ] )
Create a full valid MG4 model from a MG5 model (coming from UFO) |
source code
|
|
|
copy_python_file(self)
copy the python file require for the Template |
source code
|
|
|
|
|
|
|
finalize(self,
matrix_elements,
history,
mg5options,
flaglist)
Finalize ME v4 directory by creating jpeg diagrams, html
pages,proc_card_mg5.dat and madevent.tar.gz. |
source code
|
|
|
generate_subprocess_directory(self,
matrix_element,
fortran_model,
me_number)
Generate the Pxxxxx directory for a subprocess in MG4 madevent,
including the necessary matrix.f and various helper files |
source code
|
|
|
link_files_in_SubProcess(self,
Ppath)
Create the necessary links in the P* directory path Ppath |
source code
|
|
|
read_write_good_hel(self,
ncomb)
return the code to read/write the good_hel common_block |
source code
|
|
|
write_addmothers(self,
writer)
Write the SubProcess/addmothers.f |
source code
|
|
|
write_auto_dsig_file(self,
writer,
matrix_element,
proc_id='
' )
Write the auto_dsig.f file for the differential cross section
calculation, includes pdf call information |
source code
|
|
|
write_coloramps_file(self,
writer,
mapconfigs,
matrix_element)
Write the coloramps.inc file for MadEvent |
source code
|
|
|
write_colors_file(self,
writer,
matrix_elements)
Write the get_color.f file for MadEvent, which returns color for all
particles used in the matrix element. |
source code
|
|
|
write_combine_events(self,
writer,
nb_proc=100)
Write the SubProcess/driver.f file for MG4 |
source code
|
|
|
write_config_nqcd_file(self,
writer,
nqcd_list)
Write the config_nqcd.inc with the number of QCD couplings for each
config |
source code
|
|
|
write_config_subproc_map_file(self,
writer,
s_and_t_channels)
Write a dummy config_subproc.inc file for MadEvent |
source code
|
|
|
|
|
|
|
write_decayBW_file(self,
writer,
s_and_t_channels)
Write the decayBW.inc file for MadEvent |
source code
|
|
|
write_default_mg_sym_file(self,
writer)
Write the mg.sym file for MadEvent. |
source code
|
|
|
write_dname_file(self,
writer,
dir_name)
Write the dname.mg file for MG4 |
source code
|
|
|
write_driver(self,
writer,
ncomb,
n_grouped_proc,
v5=True)
Write the SubProcess/driver.f file for MG4 |
source code
|
|
|
write_iproc_file(self,
writer,
me_number)
Write the iproc.dat file for MG4 |
source code
|
|
|
write_matrix_element_v4(self,
writer,
matrix_element,
fortran_model,
proc_id='
' ,
config_map=[ ] ,
subproc_number='
' )
Export a matrix element to a matrix.f file in MG4 madevent format |
source code
|
|
|
write_maxconfigs_file(self,
writer,
matrix_elements)
Write the maxconfigs.inc file for MadEvent |
source code
|
|
|
write_mg_sym_file(self,
writer,
matrix_element)
Write the mg.sym file for MadEvent. |
source code
|
|
|
write_ncombs_file(self,
writer,
nexternal)
Write the ncombs.inc file for MadEvent. |
source code
|
|
|
write_processes_file(self,
writer,
subproc_group)
Write the processes.dat file with info about the subprocesses in this
group. |
source code
|
|
|
write_run_config_file(self,
writer)
Write the run_configs.inc file for MadEvent |
source code
|
|
|
write_subproc(self,
writer,
subprocdir)
Append this subprocess to the subproc.mg file for MG4 |
source code
|
|
|
write_symfact_file(self,
writer,
symmetry)
Write the files symfact.dat for MG4 by comparing diagrams using the
internal matrix element value functionality. |
source code
|
|
|
write_symmetry(self,
writer,
v5=True)
Write the SubProcess/driver.f file for ME |
source code
|
|
|
write_symperms_file(self,
writer,
perms)
Write the symperms.inc file for subprocess group, used for symmetric
configurations |
source code
|
|
|
write_symswap_file(self,
writer,
ident_perms)
Write the file symswap.inc for MG4 by comparing diagrams using the
internal matrix element value functionality. |
source code
|
|
Inherited from ProcessExporterFortran :
__init__ ,
coeff ,
create_MA5_cards ,
create_default_madanalysis5_cards ,
create_proc_charac ,
create_run_card ,
export_helas ,
export_processes ,
format_integer_list ,
get_JAMP_coefs ,
get_JAMP_lines ,
get_JAMP_lines_split_order ,
get_amp2_lines ,
get_color_data_lines ,
get_den_factor_line ,
get_helicity_lines ,
get_ic_line ,
get_icolamp_lines ,
get_leshouche_lines ,
get_mg5_info_lines ,
get_pdf_lines ,
get_process_info_lines ,
get_source_libraries_list ,
get_split_orders_lines ,
make_model_symbolic_link ,
make_source_links ,
modify_grouping ,
pass_information_from_cmd ,
replace_make_opt_c_compiler ,
replace_make_opt_f_compiler ,
set_chosen_SO_index ,
set_compiler ,
set_cpp_compiler ,
set_fortran_compiler ,
write_helamp_madspin ,
write_leshouche_file ,
write_maxamps_file ,
write_maxparticles_file ,
write_nexternal_file ,
write_nexternal_madspin ,
write_ngraphs_file ,
write_pdf_opendata ,
write_pmass_file ,
write_procdef_mg5 ,
write_props_file ,
write_source_makefile
Inherited from object :
__delattr__ ,
__format__ ,
__getattribute__ ,
__hash__ ,
__new__ ,
__reduce__ ,
__reduce_ex__ ,
__repr__ ,
__setattr__ ,
__sizeof__ ,
__str__ ,
__subclasshook__
|