Changes between Version 2 and Version 3 of GridDevelopment


Ignore:
Timestamp:
Jun 29, 2020, 9:20:31 PM (4 years ago)
Author:
Olivier Mattelaer
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GridDevelopment

    v2 v3  
    2929
    3030
    31 There are two optional packages that can be added to the gridpack:
    32    * DECAY is a optional directory that contains a program that decays final state particles, keeping track of spin correlations at much as possible. It is of particular use for decays of top quarks.
    33    * REPLACE is also an optional directory for lepton replacement. This is usefull for instance in the case where the generation time of the diagrams is critical (like for example in the case of (z/gamma>e, mu, tau)+4 jets including b's).
    34 See below for more details
    35 
    3631==== Basic Use of grid packs ====
    3732
     
    6156script to remove all source files and reduce the size of the package.
    6257Now you can just repackage and
    63 send it to some cpu in india or run locallly (after chmod +x run.sh)
     58send it to some cpu on the other side of the world or run it locally (after chmod +x run.sh)
    6459{{{
    6560./run.sh 10000 37
     
    6762
    6863
     64==== Running the same gridpacks simultaneously ====
    6965
    70 ==== DECAY ====
     66One limitation of the gridpack is that you can only run maximum one instance at any given time.
     67To avoid to have to untar the code multiple times, you can follow this method (please use at least 2.7.3):
     68{{{
     69cd madevent
     70./bin/internal/restore_data default
     71cd ../
     72chmod -R 555 madevent
     73}}}
     74
     75If you need to reduce the size of the gridpack after the command "restore_data". You can technically remove all the following files present in any directories:
     76{{{
     77ftn26_default.tgz
     78results_default.dat)
     79}}}
     80
     81
     82After that you you can create as many empty directory as you want and run the code as
     83{{{
     84$PATH_TO_GRIDPACK_DIR/run.sh $NB_EVENT $SEED
     85}}}
     86
     87At the end of the execution, you will have a single file named events.lh.gz created in the local directory.
     88
     89
     90==== DECAY: OLD PACKAGE ====
    7191The DECAY directory contains a program to decay final state particles.
    7292It has been designed to keep track of spin correlations as much as possible and
     
    119139
    120140
    121 ==== REPLACE ====
     141==== REPLACE: OLD PACKAGE ====
    122142REPLACE is a package that lets the user replace particles in event files. This is particulary useful to save precious time in the generation of the diagrams. For example, the generation of Z+4jets, in which the Z is decay leptonically, will take (at least) three times longer when the three generations of leptons are specified in the process. Because we know that, if we assume that all of them are massless, the decay of Z bosons is unfavored to any specific lepton flavor, we could as well have generated events with only muons and then randomly replacing the muons in the event file by electrons or tau's with 33% probability for each. This is exactly what the REPLACE script has been designed to do.
    123143