ATLAS Offline Software
|
Functions | |
def | include (s) |
Variables | |
parser = argparse.ArgumentParser(description='Create a default config file for a specific mu profile file') | |
type | |
help | |
default | |
int | |
str | |
args = parser.parse_args() | |
bool | RunDMC_testing_configuration = True |
tool = ROOT.CP.TPileupReweighting("tool") | |
f = ROOT.TFile(f"dummy.lumicalc.{args.lcRunNum}.root","RECREATE") | |
t = ROOT.TTree("LumiMetaData","LumiMetaData") | |
RunNbr = array('I',[args.lcRunNum]) | |
AvergeInteractionPerXing = array('f',[0.]) | |
IntLumi = array('f',[0.]) | |
LBStart = array('I',[0]) | |
testTool = ROOT.ToolHandle['CP::IPileupReweightingTool']("CP::PileupReweightingTool/tool") | |
weight = testTool.expert().GetCombinedWeight(d['run'],45,d['mu']) | |
rrn = testTool.expert().GetRandomRunNumber(d['run'],d['mu']) | |
def PURW_create_mc_default_profile.include | ( | s | ) |
Definition at line 29 of file PURW_create_mc_default_profile.py.
PURW_create_mc_default_profile.args = parser.parse_args() |
Definition at line 20 of file PURW_create_mc_default_profile.py.
PURW_create_mc_default_profile.AvergeInteractionPerXing = array('f',[0.]) |
Definition at line 56 of file PURW_create_mc_default_profile.py.
PURW_create_mc_default_profile.default |
Definition at line 14 of file PURW_create_mc_default_profile.py.
PURW_create_mc_default_profile.f = ROOT.TFile(f"dummy.lumicalc.{args.lcRunNum}.root","RECREATE") |
Definition at line 52 of file PURW_create_mc_default_profile.py.
PURW_create_mc_default_profile.help |
Definition at line 13 of file PURW_create_mc_default_profile.py.
PURW_create_mc_default_profile.int |
Definition at line 15 of file PURW_create_mc_default_profile.py.
PURW_create_mc_default_profile.IntLumi = array('f',[0.]) |
Definition at line 57 of file PURW_create_mc_default_profile.py.
PURW_create_mc_default_profile.LBStart = array('I',[0]) |
Definition at line 58 of file PURW_create_mc_default_profile.py.
PURW_create_mc_default_profile.parser = argparse.ArgumentParser(description='Create a default config file for a specific mu profile file') |
Definition at line 11 of file PURW_create_mc_default_profile.py.
PURW_create_mc_default_profile.rrn = testTool.expert().GetRandomRunNumber(d['run'],d['mu']) |
Definition at line 85 of file PURW_create_mc_default_profile.py.
bool PURW_create_mc_default_profile.RunDMC_testing_configuration = True |
Definition at line 28 of file PURW_create_mc_default_profile.py.
PURW_create_mc_default_profile.RunNbr = array('I',[args.lcRunNum]) |
Definition at line 55 of file PURW_create_mc_default_profile.py.
PURW_create_mc_default_profile.str |
Definition at line 16 of file PURW_create_mc_default_profile.py.
PURW_create_mc_default_profile.t = ROOT.TTree("LumiMetaData","LumiMetaData") |
Definition at line 53 of file PURW_create_mc_default_profile.py.
PURW_create_mc_default_profile.testTool = ROOT.ToolHandle['CP::IPileupReweightingTool']("CP::PileupReweightingTool/tool") |
Definition at line 72 of file PURW_create_mc_default_profile.py.
PURW_create_mc_default_profile.tool = ROOT.CP.TPileupReweighting("tool") |
Definition at line 36 of file PURW_create_mc_default_profile.py.
PURW_create_mc_default_profile.type |
Definition at line 12 of file PURW_create_mc_default_profile.py.
PURW_create_mc_default_profile.weight = testTool.expert().GetCombinedWeight(d['run'],45,d['mu']) |
Definition at line 81 of file PURW_create_mc_default_profile.py.