New features for V2.0:

Running modes:
New documentation running modes are available:


The files par.list are already present in each subdirectory /proclib, for each hard process "proc" (proc=wqq,zqq,etc). The file prc.list is already present in the main directory

Input structure:

The input files for all processes have now the same structure. There are 5 input items which are mandatory:

All other parameters required are already set to reasonable defualt values. The user can change them by entering a sequence of strings (representing a given parameter) and the corresponding value. For example:

njets 3
mb 4.75
ptbmin 25

would change the value of njets, b-mass and minimum pt of the b jets. The code will keep reading until an end of file is met (in interactive mode the end-of-file command can be issued with ctrl-D). The list of the strings correpsonding to the relevant parameters is obtained form the previously mentioned par.list or prc.list files, or can be generated on the fly by simply entering the string "print 1" (print tothe screen) or "print 2" (print to the par.list file). The same structure operates when running in imode=2. Parameters wich have already been set during the run in imode=1 do not need to be reinitialised, since they are automatically read in by the executable from the files written during the imode=1 run. Any attempt to alter them will be rejected. The list of parameters to be entered in imode=2 can agian be obtained with a "print 1" statement. these correspond typically to parameters controlling the decay modes of W, Z and top. In all case, whether imode=0,1 or 2, the code checks whether the parameter changes requierd by the user are compatible with the requirements of the code, so there is no risk to make mistakes.

Jet-parton matching:
A large set of processes allows for the matching of matrix-element hard partons and shower-generated jets, following the so-called MLM prescription. Jet-parton matching allows to generate inclusive samples of arbitrary jet multiplicity. This will be described in detail in a subsequent publication. A short summary of the use of this option is given here.

  1. Create weighted event samples running in imode=1, assigning to the parameter ickkw the value 1 (default ickkw=0). With this setting, the code implements the CKKW scale prescription for the scale of alphas.
  2. Generate the unweighted event sample running as usual in imode=2. The executable automatically recognizes the ickkw=1 setting, and performs the alphas-reweighting.
  3. The above steps should be carried out for the full set of multiplicites one is interested in. For example, for an analysis which will extend up to W+4 jet final states, one should generate samples of W+0, W+1, W+2, W+3 and W+4 partons.
  4. Each of the above samples of unweighted events should be processed through a shower code (Herwig or Pythia), using the interface provided in the package. The code will enforce the jet matching prescription, rejecting events which fail the matching. The parameters for the matching (e.g. the definition of the jet to be used in the matching) are selected automatically. The code requires as input a parameter specifying whether events passing the matching criterion and having extra jets due to the parton shower evolution can be kept (inclusive mode) or are rejected (exclusive mode). The inclsuive mode must be used only for the sample with the highest parton multiplcity (e.g. the W+4 jet sample in the example above).
  5. The set of showered events which survived the matching should be combined to obtain a fully inclusive result. In other words: the distributions derived by applying the user analysis to each individual sample (W+0, +1, etc) should at the end be summed up. Each of the individual distributions will have its own absolute normalization, inherited from the cross-section information. Since the definition of jet used by the matching prescription will most likely not coincide with the jet definition used by the user analysis, events from a given partonic multiplicity will result in events with a spectrun of jet multiplicities. For example, the events obtained form the W+3 jet partonic sample after matching may result in events with jet multiplcity not necessarily identical to 3. This is the reason why even if we are interested in studying just W+3jet final states it is required to include samples obtained from lower, as well as higher, parton multiplicity.
  6. Processes for which matching is available:

New hard processes
V2 includes the following new processes:


The different channels can be selected at run time specifying the parameters itopprc (=1,2,3,4 for the 4 channels above, respectively) No extra jets are allowed for these processes.

Code validation utility:
After unpacking the source code, the user can validate its installation by issuing the following command in the main directory:

> make validate

This script will compile all executables for all hard processes, will run a test job for each of them and for each jet multiplicity, and will compare the results against templates already included in the package. The file val.summary in the /validation directory collects the differences encountered during this comparison. If the installation is fine (e.g. is there are no problems with the difference of operating system and architecture), no difference should be detected. Else please contact the authors. the script can be used to validate the herwig and pythia packages as well. Just run

> cd validation
> ./validate her

or

> cd validation
> ./validate pyt

In these cases, the validation might take some time due to the long compilation time for the herwig and pythia sources.
When you are done with the validation, you may want to clean up all the files created in the various subdirectories by the validatin itself. Just issue the command

> cd validation
> ./validate clean

Herwig/Pythia versions
We provide with this package the latest releases of herwig and pythia, namely Herwig6507 and Pythia 6.320 (6.322 as of Alpgen V2.03, 6.324 as of Alpgen V2.05, see below). There is backward compatibility with earlier verisons of herwig down to 6500, and with pythia>6227. Previous versions of pythia would not work, because of the lack of the infrastructure (the call to the routine UPVETO) necessary for the matching. In the case of both Herwig and Pythia the dummy routines relative to the Les Houches accord (UPINIT, UPEVNT and UPVETO) are removed, since they are present in the alpgen part of the code (alplib/alpsho.f)

Other notable features:

Remarks/Bugs for V2.0: This section contains comments and/or bug reports. The source library linked above contains the most up-to-date version, with all bugs reported below fixed. It is advised to check this section from time to time, to ensure you are running the most up-to-date version. Only the program elements explicitly listed have been updated with respect to the previous version.

V2.01 (June 20 2005)

V2.02 (July 10 2005)

V2.03 (July 13 2005)

V2.04 (Aug 4 2005)

V2.05 (Sept 9 2005)
V2.06 (May 19 2006) - bug fixes