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

Go to the source code of this file.

Namespaces

namespace  skel

Functions

 skel.OutputTXTFile ()
 ==============================================================
 skel._norm (s)
 skel._norm2 (s)
 skel._short2 (s)
 skel.find_unique_file (pattern)
 Helper functions for input file handling.
 skel.mk_symlink (srcfile, dstfile)
 skel._checkattr (attr, required=False)
 ==============================================================

Variables

 skel.xAODKey
 skel.theApp = acam.theApp
 skel.genSeq = acam.athMasterSeq.EvgenGenSeq
 skel.prefiltSeq = acam.athMasterSeq.EvgenPreFilterSeq
 skel.testSeq = acam.athMasterSeq.EvgenTestSeq
 skel.filtSeq = acam.athMasterSeq.EvgenFilterSeq
 skel.topSeq = acas.AlgSequence()
 skel.anaSeq = topSeq
 skel.postSeq = topSeq.EvgenPostSeq
 skel.doFastMonMT
 skel.AllowIgnoreConfigError
 Jobs should stop if an include fails.
 skel.evgenLog = logging.getLogger('Generate_ab')
 skel.CmEnergy
 skel.Output
 skel.FirstEvent
 skel.EvtMax
 skel.InputEventInfo
 skel.OutputEventInfo
 skel.mcEventWeightsKey
 skel.CorrectHepMC
 skel.CorrectEventID
 skel.CorrectRunNumber
 skel.runNum = int((runArgs.jobConfig[0])[-6:])
 skel.MinMaxRunNumbers
 skel.McEventKey
 skel.VerboseOutput
 skel.PrintStyle
 skel.LastEvent
 skel.Analyses
 skel.AnalysisPath
 skel.HistoFile
tuple skel.FIRST_DIR = (os.environ['JOBOPTSEARCHPATH']).split(":")[0]
list skel.jofiles = [f for f in os.listdir(FIRST_DIR) if (f.startswith('mc') and f.endswith('.py'))]
list skel.jofile = jofiles[0]
tuple skel.joparts = (os.path.basename(jofile)).split(".")
bool skel.officialJO = True
 Perform some consistency checks if this appears to be an "official" production JO.
tuple skel.jo_physshortpart = joparts[1]
 Check the length limit on the physicsShort portion of the filename.
int skel.max_jo_physshort_length = 50
tuple skel.jo_physshortparts = jo_physshortpart.split("_")
 There must be at least 2 physicsShort sub-parts separated by '_': gens, (tune)+PDF, and process.
str skel.check_jofiles = "/cvmfs/atlas.cern.ch/repo/sw/Generators/MC16JobOptions/scripts/check_jo_consistency.py"
 NOTE: a further check on physicsShort consistency is done below, after fragment loading.
 skel.gennames = sorted(evgenConfig.generators, key=gen_sortkey)
 Include the JO fragment.
tuple skel.genpart = jo_physshortparts[0]
 Check that the actual generators, tune, and main PDF are consistent with the JO name.
str skel.expectedgenpart = ''.join(gennames)
 We want to record that HERWIG was used in metadata, but in the JO naming we just use a "Herwig" label.
int skel.rounding = 0
 Check if the tune/PDF part is needed, and if so whether it's present.
int skel.multiInput = runArgs.inputGeneratorFile.count(',')+1
list skel.allowed_nEventsPerJob_lt1000 = [1, 2, 5, 10, 20, 25, 50, 100, 200, 500, 1000]
str skel.msg = "evgenConfig.nEventsPerJob = %d: " % evgenConfig.nEventsPerJob
 skel.RequestedOutput
 skel.EffFailThreshold
 skel.poolFile = runArgs.outputEVNTFile
 skel.StreamEVGEN = AthenaPoolOutputStream("StreamEVGEN", poolFile, asAlg=True, noTag=True , eventInfoKey="EventInfo")
 skel.InputCollections
 skel.TakeItemsFromInput
 skel.ForceRead
 skel.dsid = os.path.basename(runArgs.jobConfig[0])
 Set the run numbers.
 skel.RunNumber
 skel.NewRunNumber
 skel.runArgs
 skel.streamInfoTool = CopyEventStreamInfo( "StreamEVGEN_CopyEventStreamInfo" )
 skel.datFile = None
 Add special config option (extended model info for BSM scenarios)
 skel.eventsFile = None
 Events files.
 skel.auxfiles
 skel.keepDir
 skel.False
 skel.errorIfNotFound
 skel.required
list skel.filterNames = [alg.getType() for alg in acas.iter_algseq(filtSeq)]
list skel.excludedNames = ['AthSequencer', 'PyAthena::Alg', 'TestHepMC']
 skel.runPars = RunArguments()
 skel.nEventsPerJob
 skel.maxeventsstrategy