ATLAS Offline Software
|
Functions | |
def | correction (mu) |
Variables | |
parser = argparse.ArgumentParser() | |
type | |
str | |
help | |
int | |
default | |
args = parser.parse_args() | |
recozfname = args.recofile | |
effzfname = args.efffile | |
outfname = args.outfile | |
LUMIBLOCKS = args.nlb | |
float | ACCEPTANCE = 3.323224e-01 |
float | ZXSEC = 1.929 |
float | ZPURITYFACTOR = 0.9935 |
recozfile = ROOT.TFile.Open(recozfname) | |
effzfile = ROOT.TFile.Open(effzfname) | |
recoztree = recozfile.lumitree | |
effztree = effzfile.lumitree | |
dictionary | entrydict = {} |
tuple | lbzero = (recoztree.lb // LUMIBLOCKS)*LUMIBLOCKS |
run = recoztree.run | |
dictionary | thisdict = entrydict[(run, lbzero)] |
tuple | effcy = (effztree.GetV1()[0]*correction(recoztree.mu)) |
tuple | effcywght = (effztree.GetV2()[0]*correction(recoztree.mu))**2 |
loclivetime = recoztree.lblive | |
fout = ROOT.TFile.Open(outfname, 'RECREATE') | |
o_run = array('I', [0]) | |
o_lb = array('I', [0]) | |
o_lbwhen = array('d', [0., 0.]) | |
o_zrate = array('f', [0.]) | |
o_zratestat = array('f', [0.]) | |
o_zlumi = array('f', [0.]) | |
o_zlumistat = array('f', [0.]) | |
o_mu = array('f', [0.]) | |
o_alleffcorr = array('f', [0.]) | |
o_alleffcorrstat = array('f', [0.]) | |
o_offlumi = array('f', [0.]) | |
o_lblive = array('f', [0.]) | |
o_lhcfill = array('I', [0]) | |
t = ROOT.TTree( 'lumitree', 'Luminosity tree' ) | |
eff = entryval['rolleff']/entryval['rollefferrsq'] | |
int | efferr = 1/entryval['rollefferrsq']**.5 |
newrzt = recoztree.CloneTree() | |
newezt = effztree.CloneTree() | |
def dqt_zlumi_combine_lumi.correction | ( | mu | ) |
Definition at line 25 of file dqt_zlumi_combine_lumi.py.
float dqt_zlumi_combine_lumi.ACCEPTANCE = 3.323224e-01 |
Definition at line 21 of file dqt_zlumi_combine_lumi.py.
dqt_zlumi_combine_lumi.args = parser.parse_args() |
Definition at line 13 of file dqt_zlumi_combine_lumi.py.
dqt_zlumi_combine_lumi.default |
Definition at line 12 of file dqt_zlumi_combine_lumi.py.
dqt_zlumi_combine_lumi.eff = entryval['rolleff']/entryval['rollefferrsq'] |
Definition at line 108 of file dqt_zlumi_combine_lumi.py.
tuple dqt_zlumi_combine_lumi.effcy = (effztree.GetV1()[0]*correction(recoztree.mu)) |
Definition at line 55 of file dqt_zlumi_combine_lumi.py.
tuple dqt_zlumi_combine_lumi.effcywght = (effztree.GetV2()[0]*correction(recoztree.mu))**2 |
Definition at line 60 of file dqt_zlumi_combine_lumi.py.
int dqt_zlumi_combine_lumi.efferr = 1/entryval['rollefferrsq']**.5 |
Definition at line 109 of file dqt_zlumi_combine_lumi.py.
dqt_zlumi_combine_lumi.effzfile = ROOT.TFile.Open(effzfname) |
Definition at line 34 of file dqt_zlumi_combine_lumi.py.
dqt_zlumi_combine_lumi.effzfname = args.efffile |
Definition at line 16 of file dqt_zlumi_combine_lumi.py.
dqt_zlumi_combine_lumi.effztree = effzfile.lumitree |
Definition at line 37 of file dqt_zlumi_combine_lumi.py.
dictionary dqt_zlumi_combine_lumi.entrydict = {} |
Definition at line 39 of file dqt_zlumi_combine_lumi.py.
dqt_zlumi_combine_lumi.fout = ROOT.TFile.Open(outfname, 'RECREATE') |
Definition at line 75 of file dqt_zlumi_combine_lumi.py.
dqt_zlumi_combine_lumi.help |
Definition at line 8 of file dqt_zlumi_combine_lumi.py.
dqt_zlumi_combine_lumi.int |
Definition at line 11 of file dqt_zlumi_combine_lumi.py.
tuple dqt_zlumi_combine_lumi.lbzero = (recoztree.lb // LUMIBLOCKS)*LUMIBLOCKS |
Definition at line 51 of file dqt_zlumi_combine_lumi.py.
dqt_zlumi_combine_lumi.loclivetime = recoztree.lblive |
Definition at line 63 of file dqt_zlumi_combine_lumi.py.
dqt_zlumi_combine_lumi.LUMIBLOCKS = args.nlb |
Definition at line 19 of file dqt_zlumi_combine_lumi.py.
dqt_zlumi_combine_lumi.newezt = effztree.CloneTree() |
Definition at line 131 of file dqt_zlumi_combine_lumi.py.
dqt_zlumi_combine_lumi.newrzt = recoztree.CloneTree() |
Definition at line 129 of file dqt_zlumi_combine_lumi.py.
dqt_zlumi_combine_lumi.o_alleffcorr = array('f', [0.]) |
Definition at line 84 of file dqt_zlumi_combine_lumi.py.
dqt_zlumi_combine_lumi.o_alleffcorrstat = array('f', [0.]) |
Definition at line 85 of file dqt_zlumi_combine_lumi.py.
dqt_zlumi_combine_lumi.o_lb = array('I', [0]) |
Definition at line 77 of file dqt_zlumi_combine_lumi.py.
dqt_zlumi_combine_lumi.o_lblive = array('f', [0.]) |
Definition at line 87 of file dqt_zlumi_combine_lumi.py.
dqt_zlumi_combine_lumi.o_lbwhen = array('d', [0., 0.]) |
Definition at line 78 of file dqt_zlumi_combine_lumi.py.
dqt_zlumi_combine_lumi.o_lhcfill = array('I', [0]) |
Definition at line 88 of file dqt_zlumi_combine_lumi.py.
dqt_zlumi_combine_lumi.o_mu = array('f', [0.]) |
Definition at line 83 of file dqt_zlumi_combine_lumi.py.
dqt_zlumi_combine_lumi.o_offlumi = array('f', [0.]) |
Definition at line 86 of file dqt_zlumi_combine_lumi.py.
dqt_zlumi_combine_lumi.o_run = array('I', [0]) |
Definition at line 76 of file dqt_zlumi_combine_lumi.py.
dqt_zlumi_combine_lumi.o_zlumi = array('f', [0.]) |
Definition at line 81 of file dqt_zlumi_combine_lumi.py.
dqt_zlumi_combine_lumi.o_zlumistat = array('f', [0.]) |
Definition at line 82 of file dqt_zlumi_combine_lumi.py.
dqt_zlumi_combine_lumi.o_zrate = array('f', [0.]) |
Definition at line 79 of file dqt_zlumi_combine_lumi.py.
dqt_zlumi_combine_lumi.o_zratestat = array('f', [0.]) |
Definition at line 80 of file dqt_zlumi_combine_lumi.py.
dqt_zlumi_combine_lumi.outfname = args.outfile |
Definition at line 17 of file dqt_zlumi_combine_lumi.py.
dqt_zlumi_combine_lumi.parser = argparse.ArgumentParser() |
Definition at line 7 of file dqt_zlumi_combine_lumi.py.
dqt_zlumi_combine_lumi.recozfile = ROOT.TFile.Open(recozfname) |
Definition at line 33 of file dqt_zlumi_combine_lumi.py.
dqt_zlumi_combine_lumi.recozfname = args.recofile |
Definition at line 15 of file dqt_zlumi_combine_lumi.py.
dqt_zlumi_combine_lumi.recoztree = recozfile.lumitree |
Definition at line 36 of file dqt_zlumi_combine_lumi.py.
dqt_zlumi_combine_lumi.run = recoztree.run |
Definition at line 52 of file dqt_zlumi_combine_lumi.py.
dqt_zlumi_combine_lumi.str |
Definition at line 8 of file dqt_zlumi_combine_lumi.py.
dqt_zlumi_combine_lumi.t = ROOT.TTree( 'lumitree', 'Luminosity tree' ) |
Definition at line 89 of file dqt_zlumi_combine_lumi.py.
Definition at line 54 of file dqt_zlumi_combine_lumi.py.
dqt_zlumi_combine_lumi.type |
Definition at line 8 of file dqt_zlumi_combine_lumi.py.
float dqt_zlumi_combine_lumi.ZPURITYFACTOR = 0.9935 |
Definition at line 23 of file dqt_zlumi_combine_lumi.py.
float dqt_zlumi_combine_lumi.ZXSEC = 1.929 |
Definition at line 22 of file dqt_zlumi_combine_lumi.py.