Changes between Initial Version and Version 1 of MC4BSM2013


Ignore:
Timestamp:
Apr 18, 2013, 6:26:38 PM (11 years ago)
Author:
Priscila de Aquino
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • MC4BSM2013

    v1 v1  
     1 == Installation instructions and pre-workshop exercises ==
     2
     3 === Install on Windows ===
     4The different program are foreseen to run on !Linux/Mac. If you don't have Linux or Mac, the best solution is to install Linux (I would advice to install Ubuntu) in dual boot and follow the instructions for Linux.
     5This video might help you to do so: http://video.google.com/videoplay?docid=-2369893842637434537
     6virtual machine are fine, but quite often the library readline is not present on the system. This package is not mandatory but allozs mg5 to have history and nice auto-completions.
     7So you might consider to install that library first and the compile python2.6.
     8
     9
     10 === Install on Linux ===
     11
     12  * '''python 2.6/2.7'''[[BR]]
     13    !MadGraph 5 requires python 2.6 or python 2.7. In order to check your version of python, you can type:
     14    python --version. Some of the repositories are still on python 2.5. So if updating python via your repository manager didn't work.
     15    you can download directly python from the following link:
     16    http://www.python.org/download/
     17    and follow instructions.
     18  * '''Madgraph5'''[[BR]]
     19    You will find madgraph5 package on the following page:  https://launchpad.net/madgraph5.
     20    For this program, you just need to untar it.
     21    To check if mg5 is correctly install you directly try to run it by doing:
     22    ./bin/mg5
     23    If you don't have a valid python version. It will fail directly.
     24  * '''MadAnalysis'''[[BR]]
     25    This programs is not mandatory but allows to have partonic distributions done automatically.
     26    In order to install this program, you need to launch mg5 (./bin/mg5) and then type
     27{{{
     28   install MadAnalysis
     29}}}
     30
     31 === Install on !MacOs ===
     32
     331. '''Basic program'''
     34  * perl
     35  * bash [[BR]]
     36  Those programs are by default present in any Mac distribution,
     37  but just in case you should check that they are all installed in your computer (by doing perl --version).
     38  * gmake [[BR]]
     39  By default, makefile are not recognize on mac. In order to check, you can do 'make --version'. If it says:
     40  -bash: make: command not found
     41  then you should install it. The easiest is to install the xcode.
     42     1. For !MacOs 10.5: https://connect.apple.com/cgi-bin/WebObjects/MemberSite.woa/wa/getSoftware?bundleID=20414
     43     2. For !MacOs 10.6: http://connect.apple.com/cgi-bin/WebObjects/MemberSite.woa/wa/getSoftware?bundleID=20792
     44     3. For !MacOs 10.7: http://itunes.apple.com/us/app/xcode/id448457090?mt=12
     45  In order to be able to download it, you will need to a apple developer account (which is free)
     46  * gfortran 4.x (To check the version do gfortran do: gfortran --version)
     47  This program is often not included in standard mac version. In order to download it, you can download it from:
     48    a.  http://prdownloads.sourceforge.net/hpc/gcc-lion.tar.gz?download for !MacOs 10.7
     49    b.  http://prdownloads.sourceforge.net/hpc/gcc-snwleo-intel-bin.tar.gz?download for !MacOs 10.6
     50    c.  http://sourceforge.net/projects/hpc/files/hpc/gcc/gcc-leopard-intel-bin.tar.gz/download for !MacOs 10.5
     51
     522. '''!MadGraph5'''
     53  * '''python'''
     54    a. The default python version of !MacOs 10.6 is python 2.6 and is (in 99% of the case) fully working with Madgraph5, so nothing to install for you.
     55    b. The python version of !MacOs 10.7 is python 2.7. And this one works perfectly, so nothing to install for you.
     56    c. For other version of MacOS, you will need to install python2.7 from the python web site: http://www.python.org/download/
     57  * '''Madgraph5'''[[BR]]
     58    You will find madgraph5 package on the following page:  https://launchpad.net/madgraph5.
     59    For this program, you just need to untar it.
     60    To check if mg5 is correctly install you directly try to run it by doing:
     61    ./bin/mg5
     62    If you don't have a valid python version. It will fail directly.
     63  * '''MadAnalysis'''[[BR]]
     64    This programs is not mandatory but allows to have partonic distributions done automatically.
     65    In order to install this program, you need to launch mg5 (./bin/mg5) and then type
     66{{{
     67   install MadAnalysis
     68}}}
     69
     70 == Instructions for the tutorial exercise ==
     71
     72   * If you haven't ran the '''tutorial''' before the lectures please do it now.
     73     Please launch mg5
     74     ./bin/mg5
     75     and type the following command:
     76{{{
     77   tutorial
     78}}}
     79and follow the tutorial instructions on the screen.
     80
     81   * The exercice of this tutorial is to
     82     1. Use the model generatedby Feynrules
     83     2. generate $ p p \to U \bar U $
     84     3. generate some events
     85     4. pass the events to Pythia
     86     5. Restart the chain but this time by including all the decay chain in MG5.
     87
     88   Note that in order to have the correct cross-sections in the second cases or to have the correct branching ratio computed by Pythia in the first case, we need first to compute the width and the branching ratio of the non standard model particles.
     89 
     90   * '''The model'''[[BR]]
     91     The simple way to have access to a model in MG5 is to put in the directory: MG5_DIR/models
     92     after that you can simply import it in MG5 by doing
     93{{{
     94   import model MODELNAME
     95}}}
     96     or
     97{{{
     98   import model MODELNAME --modelname
     99}}}
     100     The option --modelname tells MG5 to use the name of the particles defines in the UFO model, and not the usual MG5 conventions for the particles of the SM and the MSSM. In principle this shouldn't change anything in the model that you load.
     101     The first time that you import a new model, it is a good moment to test it! For this
     102     1. You can run MG5 in debug mode (./bin/mg5 --debug)
     103     2. You can test the Lorentz invariance/Gauge invariance/... of at least a couple of processes. This is one examples:
     104{{{
     105   import model MODELNAME
     106   check p p > a a
     107}}}
     108
     109  * '''Generation of events (Decay done in pythia)'''
     110{{{
     111   import model MODELNAME
     112   generate p p  > a a
     113   output
     114   launch
     115}}}   
     116    One of the questions will be to ask you if you want to edit the param_card. At this stage, you can enter the path of the previously created param_card.dat.
     117 
     118  * '''Generation of events (Decay done in MG5)'''
     119    Add the decay in MG5 (such that the full spin correlation is taken into-account) and generate events.
     120    In order to learn the syntax of the decay chain. Please type
     121{{{
     122    help generate
     123}}}
     124    Solution in attachments.
     125
     126