Changes between Version 1 and Version 2 of SplitEvents
- Timestamp:
- Apr 6, 2012, 4:33:02 PM (13 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
SplitEvents
v1 v2 7 7 If you need to split LHEF files, please use [attachment:split.pl.txt this] PERL script. Download the attachment and then type 8 8 9 {{{mv split.pl.txt split.pl}}} 9 {{{ 10 mv split.pl.txt split.pl 11 }}} 10 12 11 {{{chmod u+x split.pl}}} 13 {{{ 14 chmod u+x split.pl 15 }}} 12 16 13 17 The syntax is … … 15 19 =./split.pl perc out1.lhe.gz out2.lhe.gz in.lhe.gz= 16 20 17 where {{{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. 21 where {{{ 22 perc 23 }}} is the percentage (between 0 and 100) of events from {{{ 24 in.lhe.gz 25 }}} to be saved as {{{ 26 out1.lhe.gz 27 }}}. The rest is saved in {{{ 28 out2.lhe.gz 29 }}}. All the information (number of events, unit weight, ...) is updated correctly in the banners and in the event XML blocks. 18 30 19 31 -- Main.MichelHerquet - 23 Nov 2007 20 32 21 33 34