Introduction to MadGraph/MadEvent:
Florian Bonnet
January 21st 2011
INFN - Sezione di Padova
an informal tutorial
What I will do
Why using MadGraph/MadEvent (MG/ME) Getting familiar with the MG/ME environment One example from A to Z Introduction to model building
What I will not do
Discuss the physics inside the program Discuss technical details (compilers ...)
http://madgraph.roma2.infn.ithttp://madgraph.hep.uiucc.eduhttp://madgraph.phys.ucl.ac.be
F. Bonnet MadGraph/MadEvent 21/01/2011
Making discoveries at the LHC
Finding excesses over the SM backgrounds
need to be well measured from data
need to be well described by MC
Use the peculiar features of signals (mass distributions, kinematics, angular distributions...) to:
Improve signal/background ratio Identify the quantum numbers of new particles
F. Bonnet MadGraph/MadEvent 21/01/2011
Making discoveries at the LHC
Finding excesses over the SM backgrounds
need to be well measured from data
need to be well described by MC
Use the peculiar features of signals (mass distributions, kinematics, angular distributions...) to:
Improve signal/background ratio Identify the quantum numbers of new particles
need to be well described by MC
F. Bonnet MadGraph/MadEvent 21/01/2011
Why MadGraph/MadEvent ?
Idea : a MC code for theorists to talk to experimentalists
A huge amount of BSM models Data
?
F. Bonnet MadGraph/MadEvent 21/01/2011
Why MadGraph/MadEvent ?
Idea : a MC code for theorists to talk to experimentalists
A huge amount of BSM models Data
?
Lagrangian
Automatized Feynman Rules
Signal & Background Events (parton level)
Parton shower & hadronization
Detector simulation
F. Bonnet MadGraph/MadEvent 21/01/2011
Why MadGraph/MadEvent ?
Idea : a MC code for theorists to talk to experimentalists
A huge amount of BSM models Data
?
Lagrangian
Automatized Feynman Rules
Signal & Background Events (parton level)
Parton shower & hadronization
Detector simulation
MadGraph
MadEvent
PYHTIA
PGS
F. Bonnet MadGraph/MadEvent 21/01/2011
MadGraph/MadEvent
On-line web interface Install whole package on your computer
Two ways to run MG/ME:
Let’s go to MG/ME directory!
F. Bonnet MadGraph/MadEvent 21/01/2011
MadGraph/MadEvent
MG/ME directory: Core
Basis of avalaible models
PYTHIA & PGS
Analysis ToolPlots
Working Module
F. Bonnet MadGraph/MadEvent 21/01/2011
MadGraph/MadEvent
Template directory:
Core
Storage of events
Core CoreCore
Binaries
Inputs
F. Bonnet MadGraph/MadEvent 21/01/2011
Cards directory:
proc_card.dat param_card.dat run_card.dat pythia_card.dat pgs_card.dat
processesmodel parametersrunning parametersPYTHIA optionsDetector charateristics
MadGraph/MadEvent
F. Bonnet MadGraph/MadEvent 21/01/2011
MadGraph/MadEvent
proc_card.dat param_card.dat run_card.dat pythia_card.dat pgs_card.dat
MadGraph MadEvent PYTHIA PGS
Feyn. diagramsAmplitudes Parton-level events Hadron-level
eventsDetector-level
events
F. Bonnet MadGraph/MadEvent 21/01/2011
Example
Signal: pp > h > mu+ e- ve~ vmg
g
Background: pp > w+w- > mu+ e- ve~ vm/h
F. Bonnet MadGraph/MadEvent 21/01/2011
Example
proc_card.dat
process ID
F. Bonnet MadGraph/MadEvent 21/01/2011
Example
proc_card.dat
highest order in couplings
F. Bonnet MadGraph/MadEvent 21/01/2011
Example
proc_card.dat model
F. Bonnet MadGraph/MadEvent 21/01/2011
Example
proc_card.dat
F. Bonnet MadGraph/MadEvent 21/01/2011
Example
./bin/newprocess.........
gunzip madevent.tar.gztar -xvf madevent.tar
Source code for the processes
F. Bonnet MadGraph/MadEvent 21/01/2011
Example
param_card.dat !parameters are not
independant: USE A CALCULATOR
Used by PYTHIA,Needed for any new
particle,you can use BRIDGEhttp://lepp.cornell.edu/public/theory/BRIDGE/index.html
F. Bonnet MadGraph/MadEvent 21/01/2011
Example
run_card.dat
+ PRIMARY CUTS
F. Bonnet MadGraph/MadEvent 21/01/2011
Example
./bin/survey./bin/refine
Calculating cross-sections:
./bin/generate_events Generating events:
XXX_unweighted_events.lhe XXX_pythia_events.lhe XXX_pgs_events.lhco
F. Bonnet MadGraph/MadEvent 21/01/2011
Example
Analysis: MadAnalysis (simpler) or ROOT (more complete)
F. Bonnet MadGraph/MadEvent 21/01/2011
Example
Analysis: MadAnalysis (simpler)
Define classes of particles using PDG code
ma_card.dat
F. Bonnet MadGraph/MadEvent 21/01/2011
Example
Analysis: MadAnalysis (simpler)
Define cuts on events
ma_card.dat
F. Bonnet MadGraph/MadEvent 21/01/2011
Example
Analysis: MadAnalysis (simpler)
Define plots
ma_card.dat
F. Bonnet MadGraph/MadEvent 21/01/2011
Example
Analysis: MadAnalysis (simpler)
./plot_events
plots.top
signalbackground
F. Bonnet MadGraph/MadEvent 21/01/2011
Model building
Model =
Particles
Interactions
Couplings
F. Bonnet MadGraph/MadEvent 21/01/2011
Model building
Model =
Particles
Interactions
Couplings
particles.dat
interactions.dat
couplings.f
MadGraph
F. Bonnet MadGraph/MadEvent 21/01/2011
Model building
Model directory:
usrmod: old version usrmodFR: new version,
F. Bonnet MadGraph/MadEvent 21/01/2011
Model building
Model directory:
usrmod: old version
compatible with FeynRules
Mathematica package
Lagrangian FeynRulesparticles.datinteractions.datcouplings.f
Madgraph
usrmodFR: new version,
FeynRules
usrmodFR
FeynRulesmodel
modify cards usrmodFR new
model MadGraph
(feynrules.phys.ulc.ac.be)
F. Bonnet MadGraph/MadEvent 21/01/2011
Model building
Copy sm_FR directory and rename it NewModel
F. Bonnet MadGraph/MadEvent 21/01/2011
Model building
python2.5 ../usrmod_FR/usrmod.py save
F. Bonnet MadGraph/MadEvent 21/01/2011
Model building
Model =
Particles
Interactions
Couplings
particles.dat
interactions.dat
couplings.f
MadGraph
F. Bonnet MadGraph/MadEvent 21/01/2011
Model building
particles.dat
interactions.dat
couplings.f
name
F. Bonnet MadGraph/MadEvent 21/01/2011
Model building
particles.dat
interactions.dat
couplings.f
Fermion, Scalar, Vector ...
F. Bonnet MadGraph/MadEvent 21/01/2011
Model building
particles.dat
interactions.dat
couplings.f
Type of line in Feynman diagram
F. Bonnet MadGraph/MadEvent 21/01/2011
Model building
particles.dat
interactions.dat
couplings.f
Mass
F. Bonnet MadGraph/MadEvent 21/01/2011
Model building
particles.dat
interactions.dat
couplings.f
Width
F. Bonnet MadGraph/MadEvent 21/01/2011
Model building
particles.dat
interactions.dat
couplings.f
Color charge
F. Bonnet MadGraph/MadEvent 21/01/2011
Model building
particles.dat
interactions.dat
couplings.f
Name in Feynman diagram
F. Bonnet MadGraph/MadEvent 21/01/2011
Model building
particles.dat
interactions.dat
couplings.f
PDG code
F. Bonnet MadGraph/MadEvent 21/01/2011
Model building
particles.dat
interactions.dat
couplings.f
Majorana particles non existing code
F. Bonnet MadGraph/MadEvent 21/01/2011
Model building
particles.dat
interactions.dat
couplings.f
order: see HELAS libraries!Murayama et al., KEK-91-11, 1992
F. Bonnet MadGraph/MadEvent 21/01/2011
Model building
particles.dat
interactions.dat
couplings.f
name of coupling
F. Bonnet MadGraph/MadEvent 21/01/2011
Model building
particles.dat
interactions.dat
couplings.f
type of coupling
F. Bonnet MadGraph/MadEvent 21/01/2011
Model building
particles.dat
interactions.dat
couplings.f
F. Bonnet MadGraph/MadEvent 21/01/2011
Model building
python2.5 ../usrmod_FR/usrmod.py create
F. Bonnet MadGraph/MadEvent 21/01/2011
Model building
particles.dat
interactions.dat
couplings.f
GWEN(1)*PL + GWEN(2)*PR
F. Bonnet MadGraph/MadEvent 21/01/2011
Model building
particles.dat
interactions.dat
couplings.f
F. Bonnet MadGraph/MadEvent 21/01/2011
Model building
particles.dat
interactions.dat
couplings.f
input.incintparam_definition.inc
internal param.
F. Bonnet MadGraph/MadEvent 21/01/2011
Model building
particles.dat
interactions.dat
couplings.f
input.incintparam_definition.inc
internal param.
ident_card.datparam_card.dat external param.
F. Bonnet MadGraph/MadEvent 21/01/2011
Model building
make testprog./testprog
F. Bonnet MadGraph/MadEvent 21/01/2011
Model building
Model =
Particles
Interactions
Couplings
particles.dat
interactions.dat
couplings.f
ident_card.datparam_card.dat
input.incintparam_definition.inc
external param.
internal param.
MadGraph
F. Bonnet MadGraph/MadEvent 21/01/2011
Model building
FeynRules(feynrules.phys.ulc.ac.be)
F. Bonnet MadGraph/MadEvent 21/01/2011
Model building
Open and go into SM
F. Bonnet MadGraph/MadEvent 21/01/2011
Model building
Definition of model Output interface
F. Bonnet MadGraph/MadEvent 21/01/2011
Model building
SM.fr Indices Gauge Indices External Parameters Internal Parameters Gauge Groups Particles Lagrangian
param_card.dat
F. Bonnet MadGraph/MadEvent 21/01/2011
Model building
SM.fr Indices Gauge Indices External Parameters Internal Parameters Gauge Groups Particles Lagrangian
Internal parameters to write Lagrangian
F. Bonnet MadGraph/MadEvent 21/01/2011
Model building
SM.fr Indices Gauge Indices External Parameters Internal Parameters Gauge Groups Particles Lagrangian
particles.dat
F. Bonnet MadGraph/MadEvent 21/01/2011
Model building
SM.fr Indices Gauge Indices External Parameters Internal Parameters Gauge Groups Particles Lagrangian couplings.f
Let’s do a new model !
F. Bonnet MadGraph/MadEvent 21/01/2011
Model building
TypeI.fr
SM Type I
F. Bonnet MadGraph/MadEvent 21/01/2011
Model building
TypeI.fr
SM Type I
SM parametersSM parameters
+Type I new parameters
F. Bonnet MadGraph/MadEvent 21/01/2011
Model building
TypeI.fr
SM Type I
F. Bonnet MadGraph/MadEvent 21/01/2011
Model building
TypeI.fr
SM Type I
in the param_card.dat
F. Bonnet MadGraph/MadEvent 21/01/2011
Model building
TypeI.fr
SM Type I
Name of block in the param_card.dat
F. Bonnet MadGraph/MadEvent 21/01/2011
Model building
TypeI.fr
SM Type I
Default value
F. Bonnet MadGraph/MadEvent 21/01/2011
Model building
TypeI.fr
SM Type I
Ordering
F. Bonnet MadGraph/MadEvent 21/01/2011
Model building
TypeI.fr
SM Type I
F. Bonnet MadGraph/MadEvent 21/01/2011
Model building
TypeI.fr
SM Type I
Intermediate parameters to help
writing the Lagrangian
Mathematica -> Matrices allowed
F. Bonnet MadGraph/MadEvent 21/01/2011
Model building
TypeI.fr
SM Type I
F. Bonnet MadGraph/MadEvent 21/01/2011
Model building
TypeI.fr
SM Type I
Intermediate parameters to help
writing the Lagrangian
F. Bonnet MadGraph/MadEvent 21/01/2011
Model building
TypeI.fr
SM Type I
F. Bonnet MadGraph/MadEvent 21/01/2011
Model building
TypeI.fr
SM Type I
Kinetic terms
Vector in flavor space
F. Bonnet MadGraph/MadEvent 21/01/2011
Model building
TypeI.fr
SM Type I
Kinetic terms
Gamma Matrices
F. Bonnet MadGraph/MadEvent 21/01/2011
Model building
TypeI.fr
SM Type I
Kinetic terms
Partial derivative
F. Bonnet MadGraph/MadEvent 21/01/2011
Model building
TypeI.fr
SM Type I
Kinetic terms Kinetic terms
F. Bonnet MadGraph/MadEvent 21/01/2011
Model building
TypeI.fr
SM Type I
Gauge Interactions Gauge Interactions
F. Bonnet MadGraph/MadEvent 21/01/2011
Model building
TypeI.fr
SM Type I
Gauge Interactions Gauge Interactions
F. Bonnet MadGraph/MadEvent 21/01/2011
Model building
TypeI.fr
SM Type I
Yukawa Interactions Yukawa Interactions
F. Bonnet MadGraph/MadEvent 21/01/2011
Model building
TypeI.nb
F. Bonnet MadGraph/MadEvent 21/01/2011
Model building
TypeI.nb
TypeI
F. Bonnet MadGraph/MadEvent 21/01/2011
Model building
TypeI.nb
F. Bonnet MadGraph/MadEvent 21/01/2011
Model building
TypeI.nb
TypeI.fr
F. Bonnet MadGraph/MadEvent 21/01/2011
Model building
TypeI.nb
F. Bonnet MadGraph/MadEvent 21/01/2011
MadGraph 5
F. Bonnet MadGraph/MadEvent 21/01/2011
FeynRules MadGraph4 MadEvent PYTHIA PGS
MadGraph5
MadGraph 5
F. Bonnet MadGraph/MadEvent 21/01/2011
New features: New diagram generation (faster) New color structures Unlimited decay chains Compatible with PYTHIA 8 Automatic generation of HELAS routines
UFOUniversal FeynRules Output
ALOHAAutomatic Language-independent
Output of Helicity Ampltudes
self-contained Python code not tied to any matrix element generator
Automatic generation of the necessary HELAS code for any new model
Vertices with any Lorentz structure Effective vertices with any # particles
What I didn’t have time to talk about
ROOT (Tree & leaves, ExRootAnalysis etc) DELPHES (alternative to PGS) BRIDGE (Tool to calculte BR and width)
F. Bonnet MadGraph/MadEvent 21/01/2011
Summary
User-friendly MC: from Lagrangian to events Every level of simulation: cross-sections, parton-level, hadron-
level, detector level Compatible with FeynRules MadGraph 5 very exciting for BSM phenomenology.
If you have any question I’m in office 313, otherwise:
http://madgraph.roma2.infn.ithttp://madgraph.hep.uiucc.eduhttp://madgraph.phys.ucl.ac.befeynrules.phys.ulc.ab.be
F. Bonnet MadGraph/MadEvent 21/01/2011