47
MadGraph5 Tutorial Olivier Mattelaer UCL Johan Alwall FermiLab Fabio Maltoni UCL Michel Herquet NIKHEF* Tim Stelzer UIUC mercredi 18 janvier 2012

MadGraph5 Tutorial - UCLouvaincp3.irmp.ucl.ac.be/~omatt/MG5_TUTO.pdf · project development hosting service using the Bazaar ver-sion control system. The new code structure and new

  • Upload
    others

  • View
    3

  • Download
    0

Embed Size (px)

Citation preview

Page 1: MadGraph5 Tutorial - UCLouvaincp3.irmp.ucl.ac.be/~omatt/MG5_TUTO.pdf · project development hosting service using the Bazaar ver-sion control system. The new code structure and new

MadGraph5Tutorial

Olivier MattelaerUCL

Johan AlwallFermiLab

Fabio MaltoniUCL

Michel HerquetNIKHEF*

Tim StelzerUIUC

mercredi 18 janvier 2012

Page 2: MadGraph5 Tutorial - UCLouvaincp3.irmp.ucl.ac.be/~omatt/MG5_TUTO.pdf · project development hosting service using the Bazaar ver-sion control system. The new code structure and new

Madgraph5

From Theory to Detector

2

Lagrangian

Detector events

mercredi 18 janvier 2012

Page 3: MadGraph5 Tutorial - UCLouvaincp3.irmp.ucl.ac.be/~omatt/MG5_TUTO.pdf · project development hosting service using the Bazaar ver-sion control system. The new code structure and new

Madgraph5

From Theory to Detector

2

Lagrangian

Detector events

FeynRules

FeynmanRules

mercredi 18 janvier 2012

Page 4: MadGraph5 Tutorial - UCLouvaincp3.irmp.ucl.ac.be/~omatt/MG5_TUTO.pdf · project development hosting service using the Bazaar ver-sion control system. The new code structure and new

Madgraph5

From Theory to Detector

2

Lagrangian

Detector events

matrix-element

MadGraph

FeynRules

FeynmanRules

mercredi 18 janvier 2012

Page 5: MadGraph5 Tutorial - UCLouvaincp3.irmp.ucl.ac.be/~omatt/MG5_TUTO.pdf · project development hosting service using the Bazaar ver-sion control system. The new code structure and new

Madgraph5

From Theory to Detector

2

Lagrangian

Detector events

matrix-element

parton events

MadGraph

MadGraph

FeynRules

FeynmanRules

mercredi 18 janvier 2012

Page 6: MadGraph5 Tutorial - UCLouvaincp3.irmp.ucl.ac.be/~omatt/MG5_TUTO.pdf · project development hosting service using the Bazaar ver-sion control system. The new code structure and new

Madgraph5

From Theory to Detector

2

Lagrangian

Detector events

matrix-element

parton events

hadronize events

MadGraph

MadGraph

Pythia

Delphes

FeynRules

FeynmanRules

mercredi 18 janvier 2012

Page 7: MadGraph5 Tutorial - UCLouvaincp3.irmp.ucl.ac.be/~omatt/MG5_TUTO.pdf · project development hosting service using the Bazaar ver-sion control system. The new code structure and new

Madgraph5

From Theory to Detector

2

Lagrangian

Detector events

Fully Automated

matrix-element

parton events

hadronize events

MadGraph

MadGraph

Pythia

Delphes

FeynRules

FeynmanRules

mercredi 18 janvier 2012

Page 8: MadGraph5 Tutorial - UCLouvaincp3.irmp.ucl.ac.be/~omatt/MG5_TUTO.pdf · project development hosting service using the Bazaar ver-sion control system. The new code structure and new

Madgraph5

PLAN

How to install

2 Common situation

1 Full chain

Focus on MG5 command / behavior

3

mercredi 18 janvier 2012

Page 9: MadGraph5 Tutorial - UCLouvaincp3.irmp.ucl.ac.be/~omatt/MG5_TUTO.pdf · project development hosting service using the Bazaar ver-sion control system. The new code structure and new

Installation

mercredi 18 janvier 2012

Page 10: MadGraph5 Tutorial - UCLouvaincp3.irmp.ucl.ac.be/~omatt/MG5_TUTO.pdf · project development hosting service using the Bazaar ver-sion control system. The new code structure and new

Madgraph5

Requirements

Python 2.6 (default on mac 10.6)

5

For Madevent Output

fortran 77 compiler

bash

perl 5.8 (or higher)

For C++ OutputC++ compiler

Note: MadGraph/MadEvent are available online

mercredi 18 janvier 2012

Page 11: MadGraph5 Tutorial - UCLouvaincp3.irmp.ucl.ac.be/~omatt/MG5_TUTO.pdf · project development hosting service using the Bazaar ver-sion control system. The new code structure and new

Madgraph5

Where to find the code

For user:

http://madgraph.hep.uiuc.edu/

http://madgraph.phys.ucl.ac.be/

https://launchpad.net/madgraph5

For develloper:

install bazaar

$> bzr branch lp:madgraph5

dev in https://code.launchpad.net/madgraph5

6

mercredi 18 janvier 2012

Page 12: MadGraph5 Tutorial - UCLouvaincp3.irmp.ucl.ac.be/~omatt/MG5_TUTO.pdf · project development hosting service using the Bazaar ver-sion control system. The new code structure and new

Madgraph5

How to install/start?$> tar -xzpvf MadGraph5_v1.1.0.tar.gz

$> cd MadGraph5_v1_1_0/

$> ./bin/mg5

7

MadGraph5 is running Now!

mg5> help

mg5> tutorial

For Learning MadGraph5:

mercredi 18 janvier 2012

Page 13: MadGraph5 Tutorial - UCLouvaincp3.irmp.ucl.ac.be/~omatt/MG5_TUTO.pdf · project development hosting service using the Bazaar ver-sion control system. The new code structure and new

Madgraph5

How to install/start?$> tar -xzpvf MadGraph5_v1.1.0.tar.gz

$> cd MadGraph5_v1_1_0/

$> ./bin/mg5

7

MadGraph5 is running Now!

mg5> help

mg5> tutorial

For Learning MadGraph5:

Important to learn MG5

mercredi 18 janvier 2012

Page 14: MadGraph5 Tutorial - UCLouvaincp3.irmp.ucl.ac.be/~omatt/MG5_TUTO.pdf · project development hosting service using the Bazaar ver-sion control system. The new code structure and new

Standard Model Example

mercredi 18 janvier 2012

Page 15: MadGraph5 Tutorial - UCLouvaincp3.irmp.ucl.ac.be/~omatt/MG5_TUTO.pdf · project development hosting service using the Bazaar ver-sion control system. The new code structure and new

Madgraph5

GoalW jet cross-section

9

u d~ > w+ g QED=1 page 1/1

Diagrams made by MadGraph5

u

1

w+

3

d~

2

g

4

d

diagram 1 QED=1, QCD=1

u

1

g

4

d~

2

w+

3

u

diagram 2 QED=1, QCD=1

g c > w+ s QED=1 page 1/1

Diagrams made by MadGraph5

g

1

c

2

w+

3

s

4

c

diagram 1 QED=1, QCD=1

g

1

s

4

c

2

w+

3

s~

diagram 2 QED=1, QCD=1

mercredi 18 janvier 2012

Page 16: MadGraph5 Tutorial - UCLouvaincp3.irmp.ucl.ac.be/~omatt/MG5_TUTO.pdf · project development hosting service using the Bazaar ver-sion control system. The new code structure and new

Madgraph5

List of command

10

Note:By default QED is set to its minimal value

To launch pythia/pgs, you need to installthe pythia-pgs package. (They are an install command)

only 3 commandIt’s very easy!

mg5> generate p p > w+ jmg5> output madeventmg5> launch

mercredi 18 janvier 2012

Page 17: MadGraph5 Tutorial - UCLouvaincp3.irmp.ucl.ac.be/~omatt/MG5_TUTO.pdf · project development hosting service using the Bazaar ver-sion control system. The new code structure and new

Madgraph5

Generate Command

11

mercredi 18 janvier 2012

Page 18: MadGraph5 Tutorial - UCLouvaincp3.irmp.ucl.ac.be/~omatt/MG5_TUTO.pdf · project development hosting service using the Bazaar ver-sion control system. The new code structure and new

Madgraph5

Generate Commandrequire s-channel: p p > W+ > e+ ve

11

mercredi 18 janvier 2012

Page 19: MadGraph5 Tutorial - UCLouvaincp3.irmp.ucl.ac.be/~omatt/MG5_TUTO.pdf · project development hosting service using the Bazaar ver-sion control system. The new code structure and new

Madgraph5

Generate Commandrequire s-channel: p p > W+ > e+ ve

forbids s-channel: p p > e+ ve $ w+

11

mercredi 18 janvier 2012

Page 20: MadGraph5 Tutorial - UCLouvaincp3.irmp.ucl.ac.be/~omatt/MG5_TUTO.pdf · project development hosting service using the Bazaar ver-sion control system. The new code structure and new

Madgraph5

Generate Commandrequire s-channel: p p > W+ > e+ ve

forbids s-channel: p p > e+ ve $ w+

forbids particles: p p > j j / z

11

mercredi 18 janvier 2012

Page 21: MadGraph5 Tutorial - UCLouvaincp3.irmp.ucl.ac.be/~omatt/MG5_TUTO.pdf · project development hosting service using the Bazaar ver-sion control system. The new code structure and new

Madgraph5

Generate Commandrequire s-channel: p p > W+ > e+ ve

forbids s-channel: p p > e+ ve $ w+

forbids particles: p p > j j / z

alternate s-channel: p p > w+ | h+ > ta+ vt

11

mercredi 18 janvier 2012

Page 22: MadGraph5 Tutorial - UCLouvaincp3.irmp.ucl.ac.be/~omatt/MG5_TUTO.pdf · project development hosting service using the Bazaar ver-sion control system. The new code structure and new

Madgraph5

Generate Commandrequire s-channel: p p > W+ > e+ ve

forbids s-channel: p p > e+ ve $ w+

forbids particles: p p > j j / z

alternate s-channel: p p > w+ | h+ > ta+ vt

11

Possibility of decay chain

p p > t t~,

(t > b w+, w+ > j j),

(t~ > b~ w-, w- > mu- vm~)

mercredi 18 janvier 2012

Page 23: MadGraph5 Tutorial - UCLouvaincp3.irmp.ucl.ac.be/~omatt/MG5_TUTO.pdf · project development hosting service using the Bazaar ver-sion control system. The new code structure and new

Madgraph5

Generate Commandrequire s-channel: p p > W+ > e+ ve

forbids s-channel: p p > e+ ve $ w+

forbids particles: p p > j j / z

alternate s-channel: p p > w+ | h+ > ta+ vt

11

Possibility of decay chain

p p > t t~,

(t > b w+, w+ > j j),

(t~ > b~ w-, w- > mu- vm~)

Minimal QED order is taken by default

p p > t t~ is the same as p p > t t~ QED=0!

mercredi 18 janvier 2012

Page 24: MadGraph5 Tutorial - UCLouvaincp3.irmp.ucl.ac.be/~omatt/MG5_TUTO.pdf · project development hosting service using the Bazaar ver-sion control system. The new code structure and new

Madgraph5

Output Commandmg5> output OUTPUT_TYPE PATH

12

OUTPUT_TYPE:

madevent (default)

standalone

standalone_cpp

pythia8

mercredi 18 janvier 2012

Page 25: MadGraph5 Tutorial - UCLouvaincp3.irmp.ucl.ac.be/~omatt/MG5_TUTO.pdf · project development hosting service using the Bazaar ver-sion control system. The new code structure and new

default PATH is the last created directory

possibility to choose to run in cluster/multi cpu mode

Can launch pythia/pgs (if install)

Madgraph5

launch commandmg5> launch PATH [options]

13

$> cd PATH

$> ./bin/generate_events

This is in addition to “old” way

mercredi 18 janvier 2012

Page 26: MadGraph5 Tutorial - UCLouvaincp3.irmp.ucl.ac.be/~omatt/MG5_TUTO.pdf · project development hosting service using the Bazaar ver-sion control system. The new code structure and new

MSSM Example

mercredi 18 janvier 2012

Page 27: MadGraph5 Tutorial - UCLouvaincp3.irmp.ucl.ac.be/~omatt/MG5_TUTO.pdf · project development hosting service using the Bazaar ver-sion control system. The new code structure and new

Madgraph5

Goalsquark pair production

15

u~ u~ > ul~ ul~ QED=0 page 1/1

Diagrams made by MadGraph5

u~

1

ul~

3

go

u~

2ul~

4

diagram 1 QED=0, QCD=2

u~

1

ul~

4

go

u~

2ul~

3

diagram 2 QED=0, QCD=2

mercredi 18 janvier 2012

Page 28: MadGraph5 Tutorial - UCLouvaincp3.irmp.ucl.ac.be/~omatt/MG5_TUTO.pdf · project development hosting service using the Bazaar ver-sion control system. The new code structure and new

Madgraph5

List of command

16

mg5> import model mssmmg5> define su = ur ur~ ul ul~ mg5> generate p p > su sumg5> define sd = dr dr~ dl dl~ mg5> add process p p > sd sdmg5> outputmg5> launch

mercredi 18 janvier 2012

Page 29: MadGraph5 Tutorial - UCLouvaincp3.irmp.ucl.ac.be/~omatt/MG5_TUTO.pdf · project development hosting service using the Bazaar ver-sion control system. The new code structure and new

Madgraph5

import commandmg5> import MODE PATH

17

MODEmodel

model_v4

proc_v4

command

mercredi 18 janvier 2012

Page 30: MadGraph5 Tutorial - UCLouvaincp3.irmp.ucl.ac.be/~omatt/MG5_TUTO.pdf · project development hosting service using the Bazaar ver-sion control system. The new code structure and new

Decay chain Example

mercredi 18 janvier 2012

Page 31: MadGraph5 Tutorial - UCLouvaincp3.irmp.ucl.ac.be/~omatt/MG5_TUTO.pdf · project development hosting service using the Bazaar ver-sion control system. The new code structure and new

Madgraph5

Decay Chain

g g > t t~ QED=0, (t > w+ b QED=1, w+ > mu+ vm QED=2), (t~ > w- b~ QED=1, w- > e- ve~ QED=2) page 1/1

Diagrams made by MadGraph5

ve~

7

e- 6w-

b~

8

t~

mu+

3

vm4

w+

b

5t

g

1

g

2

g

diagram 1

ve~7

e-6

w-

b~

8

t~

mu+

3

vm 4w+

b

5

t

g

1

t~

g

2

diagram 2

ve~

7

e- 6w-

b~

8

t~

g

1

t

mu+3

vm4

w+

b

5

t

g

2

diagram 3

Generate standalone output for those three diagrams(top quark pair production)

Advice:help generatehelp output

19

mercredi 18 janvier 2012

Page 32: MadGraph5 Tutorial - UCLouvaincp3.irmp.ucl.ac.be/~omatt/MG5_TUTO.pdf · project development hosting service using the Bazaar ver-sion control system. The new code structure and new

Madgraph5

Solution

import model sm

generate p p > t t~, \(t > w+ b, w+>mu+ vm ), \(t~ > w- b~ , w- > e- ve~)

output standalone

20

mercredi 18 janvier 2012

Page 33: MadGraph5 Tutorial - UCLouvaincp3.irmp.ucl.ac.be/~omatt/MG5_TUTO.pdf · project development hosting service using the Bazaar ver-sion control system. The new code structure and new

Madgraph5

Decay chain

paranthesis are for allowing sub-level

Decay-chain forces the particles to be onshell.

This is defined by the BW_cut

The $ command is the opposite of the decay chain. i.e the particles is forbidden to be onshell.

21

|m! !m0| " BWcut #Width

mercredi 18 janvier 2012

Page 34: MadGraph5 Tutorial - UCLouvaincp3.irmp.ucl.ac.be/~omatt/MG5_TUTO.pdf · project development hosting service using the Bazaar ver-sion control system. The new code structure and new

Madgraph5

other command

22

mercredi 18 janvier 2012

Page 35: MadGraph5 Tutorial - UCLouvaincp3.irmp.ucl.ac.be/~omatt/MG5_TUTO.pdf · project development hosting service using the Bazaar ver-sion control system. The new code structure and new

Madgraph5

other command

Define : define a multi-particles

22

mercredi 18 janvier 2012

Page 36: MadGraph5 Tutorial - UCLouvaincp3.irmp.ucl.ac.be/~omatt/MG5_TUTO.pdf · project development hosting service using the Bazaar ver-sion control system. The new code structure and new

Madgraph5

other command

Define : define a multi-particles

add process : same as generate but add a process

22

mercredi 18 janvier 2012

Page 37: MadGraph5 Tutorial - UCLouvaincp3.irmp.ucl.ac.be/~omatt/MG5_TUTO.pdf · project development hosting service using the Bazaar ver-sion control system. The new code structure and new

Madgraph5

other command

Define : define a multi-particles

add process : same as generate but add a process

set : some configuration

22

mercredi 18 janvier 2012

Page 38: MadGraph5 Tutorial - UCLouvaincp3.irmp.ucl.ac.be/~omatt/MG5_TUTO.pdf · project development hosting service using the Bazaar ver-sion control system. The new code structure and new

Madgraph5

other command

Define : define a multi-particles

add process : same as generate but add a process

set : some configuration

check : validation of processs

22

mercredi 18 janvier 2012

Page 39: MadGraph5 Tutorial - UCLouvaincp3.irmp.ucl.ac.be/~omatt/MG5_TUTO.pdf · project development hosting service using the Bazaar ver-sion control system. The new code structure and new

Madgraph5

other command

Define : define a multi-particles

add process : same as generate but add a process

set : some configuration

check : validation of processs

display : status of diagram / model / ...

22

mercredi 18 janvier 2012

Page 40: MadGraph5 Tutorial - UCLouvaincp3.irmp.ucl.ac.be/~omatt/MG5_TUTO.pdf · project development hosting service using the Bazaar ver-sion control system. The new code structure and new

Madgraph5

other command

Define : define a multi-particles

add process : same as generate but add a process

set : some configuration

check : validation of processs

display : status of diagram / model / ...

history : look at what you have done

22

mercredi 18 janvier 2012

Page 41: MadGraph5 Tutorial - UCLouvaincp3.irmp.ucl.ac.be/~omatt/MG5_TUTO.pdf · project development hosting service using the Bazaar ver-sion control system. The new code structure and new

Madgraph5

other command

Define : define a multi-particles

add process : same as generate but add a process

set : some configuration

check : validation of processs

display : status of diagram / model / ...

history : look at what you have done

open : open a file

22

mercredi 18 janvier 2012

Page 42: MadGraph5 Tutorial - UCLouvaincp3.irmp.ucl.ac.be/~omatt/MG5_TUTO.pdf · project development hosting service using the Bazaar ver-sion control system. The new code structure and new

Madgraph5

other command

Define : define a multi-particles

add process : same as generate but add a process

set : some configuration

check : validation of processs

display : status of diagram / model / ...

history : look at what you have done

open : open a file

shell : execute a shell command (or !)

22

mercredi 18 janvier 2012

Page 43: MadGraph5 Tutorial - UCLouvaincp3.irmp.ucl.ac.be/~omatt/MG5_TUTO.pdf · project development hosting service using the Bazaar ver-sion control system. The new code structure and new

Madgraph5

other command

Define : define a multi-particles

add process : same as generate but add a process

set : some configuration

check : validation of processs

display : status of diagram / model / ...

history : look at what you have done

open : open a file

shell : execute a shell command (or !)

install: install optional package

22

mercredi 18 janvier 2012

Page 44: MadGraph5 Tutorial - UCLouvaincp3.irmp.ucl.ac.be/~omatt/MG5_TUTO.pdf · project development hosting service using the Bazaar ver-sion control system. The new code structure and new

The Full Chain

mercredi 18 janvier 2012

Page 45: MadGraph5 Tutorial - UCLouvaincp3.irmp.ucl.ac.be/~omatt/MG5_TUTO.pdf · project development hosting service using the Bazaar ver-sion control system. The new code structure and new

Madgraph5

Objectivesgenerate events for chromo-magnetic operator

24

14 Johan Alwall et al.: MadGraph 5 : Going Beyond

g

1

g

2

t

3

t~

4

diagram 1 NP=2, QCD=1

t

2

t~

3

g1

diagram 2 NP=2

g

1

g

2

t

3

t~ 4

h

5

diagram 3 NP=2, QED=1, QCD=1

t

2

t~ 3

h

4

g1

diagram 4 NP=2, QED=1

Fig. 6. Interactions induced by the chromomagnetic operator.

called chromo-magnetic operator:

L =(HQ)!µ!TAtGA

µ!

"2+ h.c.,

where " represents the cuto! of the e!ective theory. Addingsuch a term to the Lagrangian of the standard model leadsto additional interactions, see Fig. 6. For consistency, anymatrix element should be computed up to order "!2 andtherefore requiring one and only one e!ective coupling toenter at the squared matrix element level. This can be ob-tained by defining a third type of coupling (in addition toQED and QCD) associated to the new interactions.

Again the automation of the HELAS routines and thepossibility for MadGraph 5 to deal with vertices witharbitrary number of legs, allows a straightforward treat-ment of such operators. The validation of this model hasbeen performed by comparing the MadGraph 5 resultsto those obtained in a private (and not fully automatic)implementation of this model inside the MadGraph 4framework. In addition to automatically providing the ma-trix element for any process involving the new operators,the evalutation of the cross sections are approximativelyfour times faster than the previous version.

7 Conclusions ad Outlook

The complete rewriting of the MadGraph matrix-elementgenerator in Python has allowed us to build on the twentyyears of experience gained with the Fortran version andpush the code as well as its functionalities to a new level.The resulting code, modular in structure and with embed-ded robustness and sanity checks, is naturally organized asa collaborative platform. Any su"ciently skilled user canexploit, modify and extend the functionalities of the cur-rent version. The code is available via a major open-source

project development hosting service using the Bazaar ver-sion control system.

The new code structure and new functionalities openthe way to developments in three main directions: BSM,NLO, and merging with shower/hadronisation codes. Thedirect link between the FeynRules model database willallow quick and robust implementation of not only of newphysics models but also of any type of 1-loop countert-erms, essential ingredients to achieve NLO automatic com-putations in the SM and beyond. Work in all these direc-tions is in progress.

Acknowledgements

It is a great pleasure for us to thank all the people who,directly or indirectly, help and support our e!orts and ser-vices to the high-energy community and all our users fortheir continuous and patient feedback. In particular, forthe help in the extensive testing of the new version, wethank Alexis Kalogeropoulos; for the validation of newphysics models (and much more) we thank the Feyn-Rules core authors (Neil Christensen, Claude Duhr, Ben-jamin Fuks) and associates (Celine Degrande, Priscila deAquino); for our cluster management we are grateful toVincent Boucher, Jerome de Favereau, Pavel Demin, andLarry Nelson; for the great physics work and the fun, wethank our colleagues and collaborators: Pierre Artoise-nent, Simon de Visscher, Rikkert Frederix, Nicolas Greiner,Valentin Hirschi, Stefano Frixione, Roberto Pittau, TilmanPlehn, Kentarou Mawatari, Junichi Kanzaki, Kaoru Hagi-wara, Qiang Li, Marco Zaro. This work is partially sup-ported by the Belgian Federal O"ce for Scientific, Techni-cal and Cultural A!airs through the ’Interuniversity At-traction Pole Program - Belgium Science Policy’ P6/11-Pand by the IISN “MadGraph” convention 4.4511.10.

A Installation and Web Version

MadGraph 5 can be either used on the web or in a localversion. In order to run MadGraph 5 locally, you willneed to have Python 2.6 or higher (but not Python 3.x)installed. The code is downloadable at web page: https://launchpad.net/madgraph5. It doesn’t require any sortof compilation or configuration, you simply have to unpackit and launch the main script:

tar -xzpvf MadGraph_v5.x.x.tgzcd madgraph5./bin/mg5

In order to learn how MadGraph 5 works you can thenenter tutorial in the shell command interface. The fulllist of valid command are described in App. B.

The user can also use MadGraph 5 on the web (afterfree registration). We currently have three public cluster:

– http://madgraph.phys.ucl.ac.be/– http://madgraph.hep.uiuc.edu/– http://madgraph.roma2.infn.it/

14 Johan Alwall et al.: MadGraph 5 : Going Beyond

g

1

g

2

t

3

t~

4

diagram 1 NP=2, QCD=1

t

2

t~

3

g1

diagram 2 NP=2

g

1

g

2

t

3

t~ 4

h

5

diagram 3 NP=2, QED=1, QCD=1

t

2

t~ 3

h

4

g1

diagram 4 NP=2, QED=1

Fig. 6. Interactions induced by the chromomagnetic operator.

called chromo-magnetic operator:

L =(HQ)!µ!TAtGA

µ!

"2+ h.c.,

where " represents the cuto! of the e!ective theory. Addingsuch a term to the Lagrangian of the standard model leadsto additional interactions, see Fig. 6. For consistency, anymatrix element should be computed up to order "!2 andtherefore requiring one and only one e!ective coupling toenter at the squared matrix element level. This can be ob-tained by defining a third type of coupling (in addition toQED and QCD) associated to the new interactions.

Again the automation of the HELAS routines and thepossibility for MadGraph 5 to deal with vertices witharbitrary number of legs, allows a straightforward treat-ment of such operators. The validation of this model hasbeen performed by comparing the MadGraph 5 resultsto those obtained in a private (and not fully automatic)implementation of this model inside the MadGraph 4framework. In addition to automatically providing the ma-trix element for any process involving the new operators,the evalutation of the cross sections are approximativelyfour times faster than the previous version.

7 Conclusions ad Outlook

The complete rewriting of the MadGraph matrix-elementgenerator in Python has allowed us to build on the twentyyears of experience gained with the Fortran version andpush the code as well as its functionalities to a new level.The resulting code, modular in structure and with embed-ded robustness and sanity checks, is naturally organized asa collaborative platform. Any su"ciently skilled user canexploit, modify and extend the functionalities of the cur-rent version. The code is available via a major open-source

project development hosting service using the Bazaar ver-sion control system.

The new code structure and new functionalities openthe way to developments in three main directions: BSM,NLO, and merging with shower/hadronisation codes. Thedirect link between the FeynRules model database willallow quick and robust implementation of not only of newphysics models but also of any type of 1-loop countert-erms, essential ingredients to achieve NLO automatic com-putations in the SM and beyond. Work in all these direc-tions is in progress.

Acknowledgements

It is a great pleasure for us to thank all the people who,directly or indirectly, help and support our e!orts and ser-vices to the high-energy community and all our users fortheir continuous and patient feedback. In particular, forthe help in the extensive testing of the new version, wethank Alexis Kalogeropoulos; for the validation of newphysics models (and much more) we thank the Feyn-Rules core authors (Neil Christensen, Claude Duhr, Ben-jamin Fuks) and associates (Celine Degrande, Priscila deAquino); for our cluster management we are grateful toVincent Boucher, Jerome de Favereau, Pavel Demin, andLarry Nelson; for the great physics work and the fun, wethank our colleagues and collaborators: Pierre Artoise-nent, Simon de Visscher, Rikkert Frederix, Nicolas Greiner,Valentin Hirschi, Stefano Frixione, Roberto Pittau, TilmanPlehn, Kentarou Mawatari, Junichi Kanzaki, Kaoru Hagi-wara, Qiang Li, Marco Zaro. This work is partially sup-ported by the Belgian Federal O"ce for Scientific, Techni-cal and Cultural A!airs through the ’Interuniversity At-traction Pole Program - Belgium Science Policy’ P6/11-Pand by the IISN “MadGraph” convention 4.4511.10.

A Installation and Web Version

MadGraph 5 can be either used on the web or in a localversion. In order to run MadGraph 5 locally, you willneed to have Python 2.6 or higher (but not Python 3.x)installed. The code is downloadable at web page: https://launchpad.net/madgraph5. It doesn’t require any sortof compilation or configuration, you simply have to unpackit and launch the main script:

tar -xzpvf MadGraph_v5.x.x.tgzcd madgraph5./bin/mg5

In order to learn how MadGraph 5 works you can thenenter tutorial in the shell command interface. The fulllist of valid command are described in App. B.

The user can also use MadGraph 5 on the web (afterfree registration). We currently have three public cluster:

– http://madgraph.phys.ucl.ac.be/– http://madgraph.hep.uiuc.edu/– http://madgraph.roma2.infn.it/

mercredi 18 janvier 2012

Page 46: MadGraph5 Tutorial - UCLouvaincp3.irmp.ucl.ac.be/~omatt/MG5_TUTO.pdf · project development hosting service using the Bazaar ver-sion control system. The new code structure and new

Madgraph5

WorkSheet

Write the Lagrangian in FR

Write the UFO (WriteUFO command)

mg5> import model Chromo

mg5> display interactions

mg5> check full p p > t t~ NP=2

mg5> generate p p > t t~ NP=2

output

launch

25

mercredi 18 janvier 2012

Page 47: MadGraph5 Tutorial - UCLouvaincp3.irmp.ucl.ac.be/~omatt/MG5_TUTO.pdf · project development hosting service using the Bazaar ver-sion control system. The new code structure and new

Madgraph5

Note

FeynRules creates the UFO model (see FR talk)

UFO model is the new type of model for MG5

ALOHA creates automaticaly the HELAS routine (see talk on UFO/ALOHA)

26

The Full chain is automatic for BSM

mercredi 18 janvier 2012