ATLAS Offline Software
Loading...
Searching...
No Matches
skel.GENtoEVGEN.py File Reference

Go to the source code of this file.

Namespaces

namespace  skel

Functions

 skel.get_immediate_subdirectories (a_dir)
 ==============================================================
 skel.OutputTXTFile ()
 ==============================================================
 skel._norm (s)
 skel._norm2 (s)
 skel._short2 (s)
 skel.checkBlockList (relFlavour, cache, generatorName)
 Add special config option (extended model info for BSM scenarios)
 skel.checkPurpleList (relFlavour, cache, generatorName)
 skel.find_unique_file (pattern)
 Helper functions for input file handling.
 skel.merge_lhe_files (listOfFiles, outputFile)
 Check that there is exactly 1 match.
 skel.mk_symlink (srcfile, dstfile)
 skel._checkattr (attr, required=False)
 ==============================================================

Variables

 skel.fixSeq = acam.athMasterSeq.EvgenFixSeq
 skel.mcFilterHTKey
 skel.rel = os.popen("echo $AtlasVersion").read()
 Announce start of JO checkingrelease nimber checking.
 skel.EventsPerRun
 skel.inputFilesPerJob
str skel.lkwfile = "CategoryList.txt"
 Check that the L1 and L2 keywords pairs are in the list of allowed words pairs (and exit if processing an official JO)
 skel.lkwpath = None
list skel.allowed_cat = []
 Load the allowed categories names from the file.
 skel.allowed_list = ast.literal_eval(line)
list skel.bad_cat = []
 Check the JO categories against the allowed ones.
 skel.it = iter(evgenConfig.categories)
 skel.l1 = x
 skel.l2 = next(it)
 skel.OneDataHeaderForm
 skel.gendict = generatorsGetInitialVersionedDictionary(gennames)
 skel.gennamesvers = generatorsVersionedStringList(gendict)
 skel.generatorsList = evgenConfig.generators.copy()
 Purge unstable particle w/o end vertex occasionally produced by Hijing or Herwig.
 skel.PurgeUnstableWithoutEndVtx
 skel.IgnoreSemiDisconnected
 Skip the semi-disconnected particles correction when running Sherpa with HEPMC_TREE_LIKE: 1.
 skel.errorBL = checkBlockList("AthGeneration",rel,gennames)
 Announce start of JO checkingrelease number checking.
 skel.errorPL = checkPurpleList("AthGeneration",rel,gennames)
bool skel.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.
 skel.holdHeader = header
 skel.tmp = line.split("=")
 each input file ends with "</LesHouchesEvents>".
 skel.line = line.replace(tmp[0],str(nevents))
 skel.nnn = str(nevents)
 skel.inputroot = os.path.basename(runArgs.inputGeneratorFile).split(".tar.")[0]
 skel.realDatFile = find_unique_file('*%s*.dat' % inputroot)
 skel.myinputfiles = runArgs.inputGeneratorFile
 skel.genInputFiles = myinputfiles.split(',')
 skel.numberOfFiles = len(genInputFiles)
 skel.realEventsFile = find_unique_file('*%s.*ev*ts' % inputroot)
list skel.allFiles = []
 skel.input0 = os.path.basename(file).split("._")[0]
tuple skel.input1 = (os.path.basename(file).split("._")[1]).split(".")[0]
 skel.first_line = f.readline()
int skel.count_ev = 0
 skel.filtName = alg.getType()
list skel.exceptName = ['xAOD','Jet']
 skel.AllowOldFilter