@@ -57,11 +57,16 @@ You can view the command line options by running
...
@@ -57,11 +57,16 @@ You can view the command line options by running
pythia6m -h
pythia6m -h
```
```
It requires the following arguments:
It requires the following arguments:
-`--conf`: a configuration file, see `$PREFIX/src/pythia6m/program/example-config.json` for an example.
-`--conf`: a configuration file, see `$PREFIX/share/pythia6m/example-config.json` for an example.
-`--run`: a run number. This is also used as the random seed for this run
-`--run`: a run number. This is also used as the random seed for this run
-`--events`: the number of events to be generated
-`--events`: the number of events to be generated
-`--out`: the output directory. This is where the output files will be placed
-`--out`: the output directory. This is where the output files will be placed
## Advanced
Instead of running the main executable, you can make your own program in C++ using program/pythia6m.cc as example.
If you do this, you can use `cmake` to directly link to the pythia librariers.
Alternatively, you could also modify the main program directly (located in the program/pythia6m.cc source file). This latter option is only recommended for quick studies.
## Output
## Output
The generated events are written to a ROOT TTree. The following variables are written to the tree for each of the generated events:
The generated events are written to a ROOT TTree. The following variables are written to the tree for each of the generated events:
```c++
```c++
...
@@ -102,4 +107,4 @@ double y; // Generated y
...
@@ -102,4 +107,4 @@ double y; // Generated y
doubleW2;// Generated W2
doubleW2;// Generated W2
int32_tscat_index;// the C-index of the scattered (NOT THE FORTRAN INDEX)
int32_tscat_index;// the C-index of the scattered (NOT THE FORTRAN INDEX)