ATLAS Offline Software
Loading...
Searching...
No Matches
merge_lhe_files.py File Reference

Go to the source code of this file.

Namespaces

namespace  merge_lhe_files

Functions

 merge_lhe_files.merge_lhe_files (listOfFiles, outputFile)

Variables

bool merge_lhe_files.inHeader = False
 Reading first event signals that we are done with all the header information Using this approach means the script will properly handle any metadata stored at the beginning of the file.
 merge_lhe_files.holdHeader = header
 merge_lhe_files.tmp = line.split("=")
 each input file ends with "</LesHouchesEvents>".
 merge_lhe_files.line = line.replace(tmp[0],str(nevents))
 merge_lhe_files.nnn = str(nevents)