|
float | dqt_zlumi_alleff_HIST.ACCEPTANCE = 3.323224e-01 |
|
| dqt_zlumi_alleff_HIST.parser = argparse.ArgumentParser() |
|
| dqt_zlumi_alleff_HIST.type |
|
| dqt_zlumi_alleff_HIST.str |
|
| dqt_zlumi_alleff_HIST.help |
|
| dqt_zlumi_alleff_HIST.default |
|
| dqt_zlumi_alleff_HIST.action |
|
| dqt_zlumi_alleff_HIST.args = parser.parse_args() |
|
| dqt_zlumi_alleff_HIST.infilename = args.infile |
|
| dqt_zlumi_alleff_HIST.infile = ROOT.TFile.Open(infilename, 'READ') |
|
| dqt_zlumi_alleff_HIST.runmode = args.mode |
|
| dqt_zlumi_alleff_HIST.runname = None |
|
list | dqt_zlumi_alleff_HIST.lbdirs = [] |
|
| dqt_zlumi_alleff_HIST.lbnums = sorted([int(_[3:]) for _ in lbdirs]) |
|
| dqt_zlumi_alleff_HIST.effcyt |
|
| dqt_zlumi_alleff_HIST.effcyr |
|
| dqt_zlumi_alleff_HIST.effcya |
|
| dqt_zlumi_alleff_HIST.effcydir |
|
| dqt_zlumi_alleff_HIST.fout = ROOT.TFile(args.out if args.out else '%s_all.root' % runname[4:], 'RECREATE') |
|
| dqt_zlumi_alleff_HIST.o_run = array('I', [0]) |
|
| dqt_zlumi_alleff_HIST.o_lb = array('I', [0]) |
|
| dqt_zlumi_alleff_HIST.o_lbwhen = array('d', [0., 0.]) |
|
| dqt_zlumi_alleff_HIST.o_z_one = array('f', [0.]) |
|
| dqt_zlumi_alleff_HIST.o_z_two = array('f', [0.]) |
|
| dqt_zlumi_alleff_HIST.o_trigeff = array('f', [0.]) |
|
| dqt_zlumi_alleff_HIST.o_trigeffstat = array('f', [0.]) |
|
| dqt_zlumi_alleff_HIST.o_recoeff = array('f', [0.]) |
|
| dqt_zlumi_alleff_HIST.o_recoeffstat = array('f', [0.]) |
|
| dqt_zlumi_alleff_HIST.o_alleff = array('f', [0.]) |
|
| dqt_zlumi_alleff_HIST.o_alleffstat = array('f', [0.]) |
|
| dqt_zlumi_alleff_HIST.o_ae = array('f', [0.]) |
|
| dqt_zlumi_alleff_HIST.o_aestat = array('f', [0.]) |
|
| dqt_zlumi_alleff_HIST.tl = ROOT.TTree( 'lumitree', 'Luminosity tree' ) |
|
| dqt_zlumi_alleff_HIST.lblb = fetch_iovs("LBLB", runs=int(runname[4:])).by_run |
|
| dqt_zlumi_alleff_HIST.h = infile.Get('%s/%s/GLOBAL/DQTGlobalWZFinder/m_eltrigtp_matches' % (runname, lb)) |
|
| dqt_zlumi_alleff_HIST.hmo = infile.Get('%s/%s/GLOBAL/DQTGlobalWZFinder/m_ele_tight_good_os' % (runname, lb)) |
|
| dqt_zlumi_alleff_HIST.hms = infile.Get('%s/%s/GLOBAL/DQTGlobalWZFinder/m_ele_tight_good_ss' % (runname, lb)) |
|
| dqt_zlumi_alleff_HIST.hno = infile.Get('%s/%s/GLOBAL/DQTGlobalWZFinder/m_ele_tight_bad_os' % (runname, lb)) |
|
| dqt_zlumi_alleff_HIST.hns = infile.Get('%s/%s/GLOBAL/DQTGlobalWZFinder/m_ele_tight_bad_ss' % (runname, lb)) |
|
| dqt_zlumi_alleff_HIST.lbnum = int(lb[3:]) |
|
tuple | dqt_zlumi_alleff_HIST.yld = (h[2], h[3]) |
|
tuple | dqt_zlumi_alleff_HIST.ylderr = (h.GetBinError(2), h.GetBinError(3)) |
|
| dqt_zlumi_alleff_HIST.A = float(matchos-matchss) |
|
| dqt_zlumi_alleff_HIST.B = float(nomatchos-nomatchss) |
|
int | dqt_zlumi_alleff_HIST.eff = 1./(float(A)/B/2.+1.) |
|
tuple | dqt_zlumi_alleff_HIST.inverrsq = ((1/2./B)*ylderr[0])**2+((A/2./B**2)*ylderr[1])**2 |
|
| dqt_zlumi_alleff_HIST.iov = lblb[int(runname[4:])][lbnum-1] |
|
| dqt_zlumi_alleff_HIST.matchos |
|
| dqt_zlumi_alleff_HIST.matchoserr |
|
| dqt_zlumi_alleff_HIST.matchss |
|
| dqt_zlumi_alleff_HIST.matchsserr |
|
| dqt_zlumi_alleff_HIST.nomatchos |
|
| dqt_zlumi_alleff_HIST.nomatchoserr |
|
| dqt_zlumi_alleff_HIST.nomatchss |
|
| dqt_zlumi_alleff_HIST.nomatchsserr |
|
tuple | dqt_zlumi_alleff_HIST.Aerr = (matchoserr**2+matchsserr**2)**.5 |
|
tuple | dqt_zlumi_alleff_HIST.Berr = (nomatchoserr**2+nomatchsserr**2)**.5 |
|
| dqt_zlumi_alleff_HIST.c1 = ROOT.TCanvas() |
|
| dqt_zlumi_alleff_HIST.sumweights = infile.Get('%s/GLOBAL/DQTDataFlow/m_sumweights' % runname) |
|
| dqt_zlumi_alleff_HIST.ctr = infile.Get('%s/GLOBAL/DQTGlobalWZFinder/m_Z_Counter_el' % runname) |
|
| dqt_zlumi_alleff_HIST.ctrbin = ctr.FindBin(o_lb[0]) |
|
| dqt_zlumi_alleff_HIST.p = ctr[ctrbin]/sumweights[ibin] |
|
| dqt_zlumi_alleff_HIST.leg = ROOT.TLegend(0.65, 0.7, 0.89, 0.89) |
|
| dqt_zlumi_alleff_HIST.effcyrat = effcydir.Clone() |
|