merging two LHE files using merge.pl
Hi,
I have generated LHE files for two processes:
1. p p > e+ e- with nn23lo1 PDF, 100K events
2. a a > e+ e- with LUXqed PDF, 100K events
I want to merge those two LHE files from those processes to get the combined LHE file. Is there any script to do that inside MadGraph?
I tried to merge those two LHE files using this script:
https:/
This is the command I used:
./merge.pl unweighted_
Even though I see that merged_file.lhe is produced, this is the message the code is printing:
Use of uninitialized value $num_events1 in substitution (s///) at ./merge.pl line 68.
Use of uninitialized value $num_events1 in substitution (s///) at ./merge.pl line 68.
Use of uninitialized value $xsec1 in substitution (s///) at ./merge.pl line 69.
Use of uninitialized value $xsec1 in substitution (s///) at ./merge.pl line 69.
Use of uninitialized value $num_events2 in substitution (s///) at ./merge.pl line 72.
Use of uninitialized value $num_events2 in substitution (s///) at ./merge.pl line 72.
Use of uninitialized value $xsec2 in substitution (s///) at ./merge.pl line 73.
Use of uninitialized value $xsec2 in substitution (s///) at ./merge.pl line 73.
File unweighted_
File merged_file.lhe read with events and xsec
Argument "" isn't numeric in subtraction (-) at ./merge.pl line 77.
Argument "" isn't numeric in subtraction (-) at ./merge.pl line 77.
Illegal division by zero at ./merge.pl line 77.
What is a way out? Does this mean the output lhe file is corrupted?
Thank you,
Arka
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask Arka Santra for more information if necessary.