ATLAS Offline Software
Namespaces | Functions | Variables
PURW_create_mc_default_profile.py File Reference

Go to the source code of this file.

Namespaces

 PURW_create_mc_default_profile
 

Functions

def PURW_create_mc_default_profile.include (s)
 

Variables

 PURW_create_mc_default_profile.parser = argparse.ArgumentParser(description='Create a default config file for a specific mu profile file')
 
 PURW_create_mc_default_profile.type
 
 PURW_create_mc_default_profile.help
 
 PURW_create_mc_default_profile.default
 
 PURW_create_mc_default_profile.int
 
 PURW_create_mc_default_profile.str
 
 PURW_create_mc_default_profile.args = parser.parse_args()
 
bool PURW_create_mc_default_profile.RunDMC_testing_configuration = True
 
 PURW_create_mc_default_profile.tool = ROOT.CP.TPileupReweighting("tool")
 
 PURW_create_mc_default_profile.f = ROOT.TFile(f"dummy.lumicalc.{args.lcRunNum}.root","RECREATE")
 
 PURW_create_mc_default_profile.t = ROOT.TTree("LumiMetaData","LumiMetaData")
 
 PURW_create_mc_default_profile.RunNbr = array('I',[args.lcRunNum])
 
 PURW_create_mc_default_profile.AvergeInteractionPerXing = array('f',[0.])
 
 PURW_create_mc_default_profile.IntLumi = array('f',[0.])
 
 PURW_create_mc_default_profile.LBStart = array('I',[0])
 
 PURW_create_mc_default_profile.testTool = ROOT.ToolHandle['CP::IPileupReweightingTool']("CP::PileupReweightingTool/tool")
 
 PURW_create_mc_default_profile.weight = testTool.expert().GetCombinedWeight(d['run'],45,d['mu'])
 
 PURW_create_mc_default_profile.rrn = testTool.expert().GetRandomRunNumber(d['run'],d['mu'])