JETPHOX version 1.0


Jetphox has been tested with the compilers f77 (DEC compiler), g77 and pgf77 (Portland compiler)..

Structure of the program

jetphox
working src frag pdfs pawres read_ntuple basesv5.1
Directory which contains the files: "Makefile", "parameter.indat", "param_histo.indat" and "start.pl" Directories containing all the source files Directory containing the fragmentation functions of partons into photon of Bourhis et al. and partons into hadron of BKK, KKP and Kretzer Directory containing the pdfs mrst99, mrst01, mrst04, cteq5, cteq6 and BBS (Bourrely Brucella Soffer) Directory where the ntuple and/or histograms will be put Directory containing a typical fortran code to analyse the ntuple Directory containing the BASES/SPRING package

Installation

  1. Load the JETPHOX code as gzipped .tar file and unpack it, it creates the directory "jetphox_1.0".
  2. In the directory "working", there is a Makefile (using the GNU makefile).
    1. The user has to verify that the fortran compiler called in the Makefile is the one implemented on his machine.
      The default is the g77 fortran compiler FC = g77. Other options are FC = f77 (DEC compiler) or FC = pgf77 (Portland compiler).
    2. Options of compilation:
      FFLAGS = -O : the compilation flag FFLAGS = -O corresponds to the default level of optimization used by all
      compilers. For any alternative choice of optimization, please see your compiler's manual.
    3. The program uses the exe cernlib which is not provided with the program package because it is very likely that the cernlib
      is already installed on your system (if not you can get it from the CERN program library ).
      The user has to verify that the path to the CERN library on his system has been set correctly.
      Default: PATHCERNLIB = cern/pro/bin
  3. Run once the Makefile with the target "bases" (type "gmake bases") to create the library for Bases/Spring.

To run the program

  1. Fix the input parameters in the file "parameter.indat" in the directory "working".
    This is the main input file containing the parameters for integration and event generation as well as other parameters: choice of PDF's, FF's, kinematics, .... Further information on these parameters is given directly in this file.
    If you also would like to project events into histograms, define the corresponding parameters in the file "param_histo.indat".
  2. To run the perl script "start.pl" which creates the executable files, type "perl start.pl". This does the following:
    1. The two files "parameter.indat" and "param_histo.indat" containing the input parameters are read automatically.
      In case you have several parameter files with different names, you simply have to specify the names of your parameter files as options: type
      "perl start.pl --parameter your_parameterfilename --histo your_param_histofilename".
      Note that "param_histo.indat" will be used only if the flag "histo" in the file "parameter.indat" has been selected.
    2. start.pl automatically rewrites the Makefile according to the options you chose in "parameter.indat", and runs the compiler.
    3. start.pl creates an executable file called "run_string.exe" where "string" is the name of the run defined in "parameter.indat". You have to execute this file with your favorite options.
    4. start.pl creates a directory called "resultstring".
      In this directory, there will be a file "histoNameHisto.outdat" containing a summary of the input which "start.pl" has read from "param_histo.indat". The string NameHisto used to label the files containing the histograms (or the ntuple) is defined in "parameter.indat".
      The directory "resultstring" also will contain subdirectories called
      "dirstring" and/or
      "onefstring"
      depending on which subprocesses you selected in your input. The shorthand
      "dir" stands for the contribution which has no fragmentation function (it contributes only to gamma+jet production),
      "onef" stands for the contribution which has one fragmentation function (it is the only contribution for hadron+jet production).

      So the structure of the output is the following:

      resultstring
      histoNameHisto.outdat dirstring onefstring
      parameters read from "param_histo.indat" output files specified below see below
      "output.param" parameters read from parameter.indat
      "sigmaint.res" physical integrated cross-section
      "integral.res" results of integration of absolute values of pseudo-cross sections;
      no physical meaning, needed for normalization of generated events
      "*.bs" results of the grid for each pseudo-cross section; needed for event generation
      "jetphox.log" details of the integration by BASES (efficiency, convergence behaviour, time per point, ...)

Comments













Back to Jetphox