Package madgraph :: Package iolibs :: Package template_files :: Module mg4_proc_card
[hide private]
[frames] | no frames]

Source Code for Module madgraph.iolibs.template_files.mg4_proc_card

 1  ################################################################################ 
 2  # 
 3  # Copyright (c) 2010 The MadGraph5_aMC@NLO Development team and Contributors 
 4  # 
 5  # This file is a part of the MadGraph5_aMC@NLO project, an application which  
 6  # automatically generates Feynman diagrams and matrix elements for arbitrary 
 7  # high-energy processes in the Standard Model and beyond. 
 8  # 
 9  # It is subject to the MadGraph5_aMC@NLO license which should accompany this  
10  # distribution. 
11  # 
12  # For more information, visit madgraph.phys.ucl.ac.be and amcatnlo.web.cern.ch 
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