1
2
3
4
5
6
7
8
9
10
11
12
13
14
15 import string
16
17
18 mg4_template = string.Template("""\
19 #*********************************************************************
20 # MadGraph/MadEvent *
21 # http://madgraph.hep.uiuc.edu *
22 # *
23 # proc_card.dat *
24 #*********************************************************************
25 # *
26 # This Files is generated by MADGRAPH 5 *
27 # *
28 # WARNING: This Files is generated for MADEVENT (compatibility issue)*
29 # This files is NOT a valid MG4 proc_card.dat *
30 # Running this in MG4 will NEVER reproduce the result of MG5*
31 # *
32 #*********************************************************************
33 #*********************************************************************
34 # Process(es) requested : mg2 input *
35 #*********************************************************************
36 # Begin PROCESS # This is TAG. Do not modify this line
37 $process
38 done # this tells MG there are no more procs
39 # End PROCESS # This is TAG. Do not modify this line
40 #*********************************************************************
41 # Model information *
42 #*********************************************************************
43 # Begin MODEL # This is TAG. Do not modify this line
44 $model
45 # End MODEL # This is TAG. Do not modify this line
46 #*********************************************************************
47 # Start multiparticle definitions *
48 #*********************************************************************
49 # Begin MULTIPARTICLES # This is TAG. Do not modify this line
50 $multiparticle
51 # End MULTIPARTICLES # This is TAG. Do not modify this line
52 """)
53
54 process_template = string.Template("""\
55 $process #Process
56 # Be carefull the coupling are here in MG5 convention
57 $coupling
58 end_coup # End the couplings input
59 """)
60