Difference between revisions of "MCatNLO Step 2"

From Atlas Wiki
Jump to navigation Jump to search
 
Line 37: Line 37:
  
 
This will create in a directory called Linux the executable called <font color=blue>TTbarNLO_EXE_THISLIB</font>
 
This will create in a directory called Linux the executable called <font color=blue>TTbarNLO_EXE_THISLIB</font>
 +
 +
<b>Copy the executable to the BASIC directory</b>
 +
 +
To have all necessary file together for the event generation, also save the executable in the 'BASIC' directory where you have stored the results from the integration.
 +
<font color=red>
 +
<pre>
 +
cp ./Linux/TTbarNLO_EXE_THISLIB ./../CTEQ5M1_BASICS/
 +
</pre>
 +
</font>
 +
 +
==2) Run the executable (simple try)==
 +
When running the executable, again you are asked for many input variables. To automate
 +
this please create a new input file.
 +
<font color=red>
 +
<pre>
 +
cp ./Integrationstep.inputfile ./Eventgenerationstep.inputfile
 +
</pre>
 +
</font>
 +
 +
As a first run, you only have to say you do not need the integration anymore
 +
In the file you only have to change the values for itmx1 and itmx2:
 +
<font color=blue>
 +
<pre>
 +
  2 2                                                  ! itmx1,itmx2
 +
</pre>
 +
</font>
 +
 +
You can of course also set the Number of events to whatever you like say (100) and plug in your favorite
 +
seed for the random numbers (say 1234567).
 +
 +
<b>running the executable</b>
 +
To run the executable simply do:
 +
<font color=red>
 +
<pre>
 +
./Linux/TTbarNLO_EXE_THISLIB < Eventgenerationstep.inputfile
 +
</pre>
 +
</font>
 +
 +
What will be produced is
 +
 +
==3) Run the executable (the real thing more automated)==

Revision as of 11:17, 8 May 2005

In this step we will have MCatNLo produce events-files. To do this we will:

  • Build the executable
  • Construct the BASIC input files
  • Produce X event files containing Y events each using automated scripts


1) Build the executable

First go the the directory with the MCatNLO code:

cd /MyMCatNLO/EXECUTABLE/

Then construct an input file in the same way as you did for the integration step.

cp MCatNLO.inputs.Integration MCatNLO.inputs.EventGeneration

In this file you only need to change one line:

BASES=OFF

The build the executable, first remove the directory called Linux (this contains the executable that was used for the integration step). After that, simply build the executable:

rm -Rf Linux 
./MCatNLO.inputs.EventGeneration

This will create in a directory called Linux the executable called TTbarNLO_EXE_THISLIB

Copy the executable to the BASIC directory

To have all necessary file together for the event generation, also save the executable in the 'BASIC' directory where you have stored the results from the integration.

cp ./Linux/TTbarNLO_EXE_THISLIB ./../CTEQ5M1_BASICS/

2) Run the executable (simple try)

When running the executable, again you are asked for many input variables. To automate this please create a new input file.

cp ./Integrationstep.inputfile ./Eventgenerationstep.inputfile

As a first run, you only have to say you do not need the integration anymore In the file you only have to change the values for itmx1 and itmx2:

  2 2                                                   ! itmx1,itmx2

You can of course also set the Number of events to whatever you like say (100) and plug in your favorite seed for the random numbers (say 1234567).

running the executable To run the executable simply do:

./Linux/TTbarNLO_EXE_THISLIB < Eventgenerationstep.inputfile

What will be produced is

3) Run the executable (the real thing more automated)