ATLAS Offline Software
|
Variables | |
logger = logging.getLogger('PURW actual mu profile tool') | |
parser = argparse.ArgumentParser(description='Make a BCID-aware pileup reweighting file') | |
type | |
help | |
default | |
args = parser.parse_args() | |
bcidfile = ROOT.TFile.Open(args.bcidfile) | |
grl = None | |
outfile = ROOT.TFile.Open(args.outfile, 'RECREATE') | |
metadata = ROOT.TTree('DataCustomReweighting', 'DataCustomReweighting') | |
cname_arr = bytearray('pileup\0',encoding='utf-8') | |
runno_arr = array.array('I', [0]) | |
histname_arr = bytearray('pileup_data_run_XXXXXX\0',encoding='utf-8') | |
lgp = ROOT.Root.TGoodRunsListReader(args.grl) | |
outhist = None | |
runno = run.GetRunNumber() | |
encoding | |
rdir = bcidfile.Get(repr(runno)) | |
runhist = None | |
inhist = rdir.Get('%srec' % lb) | |
lumitag = bcidfile.Get('LuminosityTag') | |
grlo = ROOT.TNamed("InputGRL", args.grl) | |
PURW_create_actual_mu_profile.args = parser.parse_args() |
Definition at line 20 of file PURW_create_actual_mu_profile.py.
PURW_create_actual_mu_profile.bcidfile = ROOT.TFile.Open(args.bcidfile) |
Definition at line 27 of file PURW_create_actual_mu_profile.py.
PURW_create_actual_mu_profile.cname_arr = bytearray('pileup\0',encoding='utf-8') |
Definition at line 46 of file PURW_create_actual_mu_profile.py.
PURW_create_actual_mu_profile.default |
Definition at line 18 of file PURW_create_actual_mu_profile.py.
PURW_create_actual_mu_profile.encoding |
Definition at line 61 of file PURW_create_actual_mu_profile.py.
PURW_create_actual_mu_profile.grl = None |
Definition at line 33 of file PURW_create_actual_mu_profile.py.
PURW_create_actual_mu_profile.grlo = ROOT.TNamed("InputGRL", args.grl) |
Definition at line 92 of file PURW_create_actual_mu_profile.py.
PURW_create_actual_mu_profile.help |
Definition at line 12 of file PURW_create_actual_mu_profile.py.
PURW_create_actual_mu_profile.histname_arr = bytearray('pileup_data_run_XXXXXX\0',encoding='utf-8') |
Definition at line 48 of file PURW_create_actual_mu_profile.py.
Definition at line 71 of file PURW_create_actual_mu_profile.py.
PURW_create_actual_mu_profile.lgp = ROOT.Root.TGoodRunsListReader(args.grl) |
Definition at line 54 of file PURW_create_actual_mu_profile.py.
PURW_create_actual_mu_profile.logger = logging.getLogger('PURW actual mu profile tool') |
Definition at line 7 of file PURW_create_actual_mu_profile.py.
PURW_create_actual_mu_profile.lumitag = bcidfile.Get('LuminosityTag') |
Definition at line 85 of file PURW_create_actual_mu_profile.py.
PURW_create_actual_mu_profile.metadata = ROOT.TTree('DataCustomReweighting', 'DataCustomReweighting') |
Definition at line 45 of file PURW_create_actual_mu_profile.py.
PURW_create_actual_mu_profile.outfile = ROOT.TFile.Open(args.outfile, 'RECREATE') |
Definition at line 44 of file PURW_create_actual_mu_profile.py.
PURW_create_actual_mu_profile.outhist = None |
Definition at line 58 of file PURW_create_actual_mu_profile.py.
PURW_create_actual_mu_profile.parser = argparse.ArgumentParser(description='Make a BCID-aware pileup reweighting file') |
Definition at line 10 of file PURW_create_actual_mu_profile.py.
PURW_create_actual_mu_profile.rdir = bcidfile.Get(repr(runno)) |
Definition at line 62 of file PURW_create_actual_mu_profile.py.
PURW_create_actual_mu_profile.runhist = None |
Definition at line 67 of file PURW_create_actual_mu_profile.py.
PURW_create_actual_mu_profile.runno = run.GetRunNumber() |
Definition at line 59 of file PURW_create_actual_mu_profile.py.
PURW_create_actual_mu_profile.runno_arr = array.array('I', [0]) |
Definition at line 47 of file PURW_create_actual_mu_profile.py.
PURW_create_actual_mu_profile.type |
Definition at line 11 of file PURW_create_actual_mu_profile.py.