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