ATLAS Offline Software
Namespaces | Functions | Variables
skel.ABtoEVGEN.py File Reference

Go to the source code of this file.

Namespaces

 skel
 

Functions

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

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. More...
 
 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]
 Main job option include Only permit one jobConfig argument for evgen: does more than one ever make sense? More...
 
list skel.jofiles = [f for f in os.listdir(FIRST_DIR) if (f.startswith('mc') and f.endswith('.py'))]
 
list skel.jofile = jofiles[0]
 Only permit one JO file in each dsid folder. More...
 
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. More...
 
tuple skel.jo_physshortpart = joparts[1]
 Check that there are exactly 3 name parts separated by '. More...
 
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. More...
 
string 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. More...
 
 skel.gennames = sorted(evgenConfig.generators, key=gen_sortkey)
 Include the JO fragment. More...
 
tuple skel.genpart = jo_physshortparts[0]
 Check that the actual generators, tune, and main PDF are consistent with the JO name. More...
 
string 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. More...
 
int skel.rounding = 0
 Check if the tune/PDF part is needed, and if so whether it's present. More...
 
int skel.multiInput = runArgs.inputGeneratorFile.count(',')+1
 
list skel.allowed_nEventsPerJob_lt1000 = [1, 2, 5, 10, 20, 25, 50, 100, 200, 500, 1000]
 
string skel.msg = "evgenConfig.nEventsPerJob = %d: " % evgenConfig.nEventsPerJob
 
 skel.RequestedOutput
 
 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])
 Used for pile-up (remove dynamic variables except flavour labels) More...
 
 skel.RunNumber
 
 skel.NewRunNumber
 
 skel.runArgs
 
 skel.datFile = None
 Propagate energy argument to the generators TODO: Standardise energy setting in the GenModule interface. More...
 
 skel.eventsFile = None
 Events files. More...
 
 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