Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 

README.md

The usage of HERWIG7 with the O2 machinery is presented in this short manual. The example generates HEPMC3 data using the Herwig executable and then reads the data via the hepmc generator defined in o2-sim.

Files description

Two files are provided in the folder:

  • runo2sim.sh → allows the generation of events using o2-sim
  • LHC.in → example input file for the configuration of the HERWIG generator

runo2sim.sh

The script works after loading any O2sim version containing HERWIG7 as a package (dependence of AliGenO2).

If no parameters are provided, the script will run with default values (energy and nEvents provided in the LHC.in file), but few flags are available to change the settings on-the-fly:

  • -m , --more → feeds the simulation with advanced parameters provided to the configuration key flags
  • -n , --nevents → changes the number of events in the .in file or gets the one in the file if no events are provided
  • -i , --input → .in filename for HERWIG7 configuration
  • -j , --jobs → sets the number of workers (2 jobs by default)
  • -e , --ecm → sets the center-of-mass energy in the input file
  • -h , --help → prints usage instructions