Changes between Version 2 and Version 3 of GridDevelopment
- Timestamp:
- Jun 29, 2020, 9:20:31 PM (4 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
GridDevelopment
v2 v3 29 29 30 30 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 details35 36 31 ==== Basic Use of grid packs ==== 37 32 … … 61 56 script to remove all source files and reduce the size of the package. 62 57 Now you can just repackage and 63 send it to some cpu in india or run locallly (after chmod +x run.sh)58 send it to some cpu on the other side of the world or run it locally (after chmod +x run.sh) 64 59 {{{ 65 60 ./run.sh 10000 37 … … 67 62 68 63 64 ==== Running the same gridpacks simultaneously ==== 69 65 70 ==== DECAY ==== 66 One limitation of the gridpack is that you can only run maximum one instance at any given time. 67 To avoid to have to untar the code multiple times, you can follow this method (please use at least 2.7.3): 68 {{{ 69 cd madevent 70 ./bin/internal/restore_data default 71 cd ../ 72 chmod -R 555 madevent 73 }}} 74 75 If 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 {{{ 77 ftn26_default.tgz 78 results_default.dat) 79 }}} 80 81 82 After 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 87 At 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 ==== 71 91 The DECAY directory contains a program to decay final state particles. 72 92 It has been designed to keep track of spin correlations as much as possible and … … 119 139 120 140 121 ==== REPLACE ====141 ==== REPLACE: OLD PACKAGE ==== 122 142 REPLACE 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. 123 143