\documentclass[10pt]{article}

\usepackage{fullpage}
\usepackage{setspace}
\usepackage{parskip}
\usepackage{titlesec}
\usepackage[section]{placeins}
\usepackage{xcolor}
\usepackage{breakcites}
\usepackage{lineno}
\usepackage{hyphenat}





\PassOptionsToPackage{hyphens}{url}
\usepackage[colorlinks = true,
            linkcolor = blue,
            urlcolor  = blue,
            citecolor = blue,
            anchorcolor = blue]{hyperref}
\usepackage{etoolbox}
\makeatletter
\patchcmd\@combinedblfloats{\box\@outputbox}{\unvbox\@outputbox}{}{%
  \errmessage{\noexpand\@combinedblfloats could not be patched}%
}%
\makeatother


\usepackage[round]{natbib}
\let\cite\citep




\renewenvironment{abstract}
  {{\bfseries\noindent{\abstractname}\par\nobreak}\footnotesize}
  {\bigskip}

\titlespacing{\section}{0pt}{*3}{*1}
\titlespacing{\subsection}{0pt}{*2}{*0.5}
\titlespacing{\subsubsection}{0pt}{*1.5}{0pt}


\usepackage{authblk}


\usepackage{graphicx}
\usepackage[space]{grffile}
\usepackage{latexsym}
\usepackage{textcomp}
\usepackage{longtable}
\usepackage{tabulary}
\usepackage{booktabs,array,multirow}
\usepackage{amsfonts,amsmath,amssymb}
\providecommand\citet{\cite}
\providecommand\citep{\cite}
\providecommand\citealt{\cite}
% You can conditionalize code for latexml or normal latex using this.
\newif\iflatexml\latexmlfalse
\providecommand{\tightlist}{\setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}%

\AtBeginDocument{\DeclareGraphicsExtensions{.pdf,.PDF,.eps,.EPS,.png,.PNG,.tif,.TIF,.jpg,.JPG,.jpeg,.JPEG}}

\usepackage[utf8]{inputenc}
\usepackage[english]{babel}










\begin{document}

\title{Introduction to MadGraph}



\author[1]{Sungmook Lee}%
\author[1]{Dhong Yeon Cheong}%
\affil[1]{Yonsei University}%


\vspace{-1em}



  
  \date{May 07, 2024}


\begingroup
\let\center\flushleft
\let\endcenter\endflushleft
\maketitle
\endgroup








\sloppy


\section*{Initializing}

{\label{683259}}

1) `HEP\_TOOLS -\textgreater{} MG5\_aMC -\textgreater{}bin'

2) Launch MadGraph

\texttt{./mg5\_aMC}\selectlanguage{english}
\begin{figure}[h!]
\begin{center}
\includegraphics[width=0.70\columnwidth]{figures/11/11}
\caption{{This is a caption
{\label{169667}}%
}}
\end{center}
\end{figure}

\section*{Calculating
ee-\textgreater{}\textbackslash{}mu\textbackslash{}mu scattering cross
section}

{\label{946542}}

(note) When you type

\texttt{help}

you can easily find the commands you need.

\par\null

4) Begin `tutorial'

\texttt{tutorial}\selectlanguage{english}
\begin{figure}[h!]
\begin{center}
\includegraphics[width=0.70\columnwidth]{figures/tutorial/tutorial}
\caption{{This is a caption
{\label{414972}}%
}}
\end{center}
\end{figure}

\par\null

5) Generate a process.

~~~~Here we will generate the process given in the tutorial first.
('\textasciitilde{}' symbol after the particle stands for
'anti'particle)~

\texttt{generate\ p\ p\ \textgreater{}\ t\ t\textasciitilde{}}\selectlanguage{english}
\begin{figure}[h!]
\begin{center}
\includegraphics[width=0.70\columnwidth]{figures/generate/generate}
\caption{{This is a caption
{\label{904827}}%
}}
\end{center}
\end{figure}

\par\null\par\null

6) Export the process.

~~~~The format is output for MadEvent. We will give the name `test'

\texttt{output\ test}\selectlanguage{english}
\begin{figure}[h!]
\begin{center}
\includegraphics[width=0.70\columnwidth]{figures/output/output}
\caption{{This is a caption
{\label{536657}}%
}}
\end{center}
\end{figure}

7) Launch the process.

\texttt{launch\ test}

Then, you will be asked whether you want to change options for
parameters and running.

Now, we do not want to change the options.

When you want to change,~ see Appendix.

\par\null

Therefore, type `Enter'.

\par\null

You will be asked something again. Also type `Enter' without changing.

\par\null

8) See the result

Then the firefox browser pops up and gives the result of the simulation.\selectlanguage{english}
\begin{figure}[h!]
\begin{center}
\includegraphics[width=0.70\columnwidth]{figures/firefox/firefox}
\caption{{This is a caption
{\label{574019}}%
}}
\end{center}
\end{figure}

9) Escape from MadGraph

\texttt{quit}

\section*{Loading the previous
results}

{\label{846467}}

You might need the result of the previous simulation.

\par\null

10) Go to /HEP\_Tools/MG5\_aMC/bin

~~~~There are several directories including your output ones. Go to the
directory which you want to load.

\texttt{firefox\ index.html}\selectlanguage{english}
\begin{figure}[h!]
\begin{center}
\includegraphics[width=1.00\columnwidth]{figures/index/index}
\caption{{This is a caption
{\label{709034}}%
}}
\end{center}
\end{figure}

When you click `Results and Event Database', you can see the previous
results.

\par\null

\section*{Appendix) How to change the
options}

{\label{794959}}

Simulation contains a lot of options to change. Here, you can see how to
change the momenta of colliding particles, as an simple example.

\par\null

The previous processes are identical. We are right after the `launch'

\par\null

1)~ Launch the process.

~ ~ After this you will be asked like this:\selectlanguage{english}
\begin{figure}[h!]
\begin{center}
\includegraphics[width=0.70\columnwidth]{figures/1111/1111}
\caption{{This is a caption
{\label{898583}}%
}}
\end{center}
\end{figure}

\par\null

2) Determine whether programs are run or not.~

~ ~ For example, When you want to make the shower `on', type `1'. You
may check the shower options changes as `shower = Pythia8'\selectlanguage{english}
\begin{figure}[h!]
\begin{center}
\includegraphics[width=0.70\columnwidth]{figures/2222/2222}
\caption{{This is a caption
{\label{280020}}%
}}
\end{center}
\end{figure}

You might want to off the shower again. Then type `1', once again.

\par\null

When you are done, press `Enter'.

\par\null

Here, we will not change this options.

\par\null

3) Edit a card

~~~~You will be asked once again as follows.\selectlanguage{english}
\begin{figure}[h!]
\begin{center}
\includegraphics[width=0.70\columnwidth]{figures/333/333}
\caption{{This is a caption
{\label{959538}}%
}}
\end{center}
\end{figure}

\par\null

To change energies of colliding particles, type `2'\selectlanguage{english}
\begin{figure}[h!]
\begin{center}
\includegraphics[width=0.70\columnwidth]{figures/44444/44444}
\caption{{This is a caption
{\label{164405}}%
}}
\end{center}
\end{figure}

To go to insert mode, type `i'. Then you can change the script. Let us
change 6500.0-\textgreater{}1000.0.

When you are done, type `esc-\textgreater{}:wq'

\par\null

Now you have changed the script, press `Enter' to run.

\par\null

4) Result

~~~~You can get another line for new results. Note that the cross
section increased, as expected.\selectlanguage{english}
\begin{figure}[h!]
\begin{center}
\includegraphics[width=1.00\columnwidth]{figures/new/new}
\caption{{This is a caption
{\label{680374}}%
}}
\end{center}
\end{figure}



`vi test v y p

`

\selectlanguage{english}
\FloatBarrier
\end{document}

