Back to home page

sPhenix code displayed by LXR

 
 

    


Warning, /pythia6/README.pythiaeRHIC is written in an unsupported language. File is not indexed.

0001 # pythiaeRHIC
0002 
0003 
0004 --- Overview ---
0005 
0006 This is the eRHIC implementation of PYTHIA, with radiative
0007 corrections by Radgen. Output is generated as both an ASCII
0008 file and a ROOT file (using the eic-smear EventPythia structure).
0009 The ROOT file is equivalent to running the EIC BuildTree routine
0010 on the ASCII file.
0011 
0012 --- Dependencies ---
0013 
0014 1) cernlib: http://cernlib.web.cern.ch/cernlib/
0015 2) LHAPDF: http://lhapdf.hepforge.org/
0016 3) ROOT: http://root.cern.ch/drupal/
0017 4) eic-smear: https://wiki.bnl.gov/eic/index.php/Eic-smear
0018 
0019 --- Building ---
0020 
0021 pythiaeRHIC is built using configure and make.
0022 Autotools must be available on your system.
0023 
0024 1) In the top-level source directory (containing configure.ac) run
0025       autoreconf -f -i
0026 2) In a build directory (this does not need to be the top-level
0027    source directory) run
0028       /path/to/configure [arguments]
0029    To see a full list of arguments run configure --help.
0030    Note particularly the arguments to specify the locations of
0031    external packages, all of which are required by pythiaeRHIC:
0032       --with-cern-libdir
0033       --with-lhapdf-incdir
0034       --with-lhapdf-libdir
0035       --with-eic-incdir
0036       --with-eic-libdir
0037 3) To build pythiaeRHIC run
0038       make
0039 
0040 A note on Fortran compiler:
0041 
0042 A modern Fortran compiler (like gfortran) is recommended.
0043 If using an older compiler additional flags may need to be
0044 passed to configure. For example, if using g77 you may need
0045 to pass -fno-second-underscore for successful linking:
0046 
0047 configure [--with...] FFLAGS=-fno-second-underscore
0048 
0049 --- Running ---
0050 
0051 To run the program, use
0052 
0053 pythiaeRHIC < input
0054 
0055 where 'input' is a configuration file. See the example input
0056 bundled with the distribution for an example.
0057 
0058 A ROOT file is always generated. The name can be specified via
0059 the option --out=<file name>. ASCII output is also enabled
0060 by default, but can be suppressed with the option --noascii.
0061 Note that the ASCII file name is set via the input file.
0062 
0063 For example:
0064 
0065 pythiaeRHIC --out=pythia.root --noascii < input
0066 
0067 will generate a ROOT file named "pythia.root" and no ASCII file,
0068 while
0069 
0070 pythiaeRHIC --out=pythia.root < input
0071 
0072 will generate the ROOT file, plus an ASCII file, named via input.