Changes between Initial Version and Version 1 of SplitEvents


Ignore:
Timestamp:
Mar 20, 2012, 4:15:45 PM (12 years ago)
Author:
trac
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • SplitEvents

    v1 v1  
     1
     2
     3== Splitting LHEF Event files easily ==
     4
     5It is sometimes easier to work with large event files (e.g. to use Decay), but its also sometimes easier to work with smaller samples (e.g. for control samples, to reduce the size of PYTHIA files, ...).
     6
     7If you need to split LHEF files, please use [attachment:split.pl.txt this] PERL script. Download the attachment and then type
     8
     9{{{mv split.pl.txt split.pl}}}
     10
     11{{{chmod u+x split.pl}}}
     12
     13The syntax is
     14
     15=./split.pl perc out1.lhe.gz out2.lhe.gz in.lhe.gz=
     16
     17where {{{perc}}} is the percentage (between 0 and 100) of events from {{{in.lhe.gz}}} to be saved as {{{out1.lhe.gz}}}. The rest is saved in {{{out2.lhe.gz}}}. All the information (number of events, unit weight, ...) is updated correctly in the banners and in the event XML blocks.
     18
     19-- Main.MichelHerquet - 23 Nov 2007
     20
     21