|
| dqt_zlumi_display_z_rate.parser = argparse.ArgumentParser() |
|
| dqt_zlumi_display_z_rate.type |
|
| dqt_zlumi_display_z_rate.str |
|
| dqt_zlumi_display_z_rate.help |
|
| dqt_zlumi_display_z_rate.default |
|
| dqt_zlumi_display_z_rate.args = parser.parse_args() |
|
| dqt_zlumi_display_z_rate.runnum = args.infile.split('_')[0] |
|
| dqt_zlumi_display_z_rate.f = ROOT.TFile.Open(os.path.join(args.indir, args.infile), 'UPDATE') |
|
| dqt_zlumi_display_z_rate.c1 = ROOT.TCanvas() |
|
| dqt_zlumi_display_z_rate.lumitree = f.lumitree |
|
list | dqt_zlumi_display_z_rate.runs = [0,1] |
|
| dqt_zlumi_display_z_rate.fills = list(lumitree.GetV2()[_] for _ in xrange(lumitree.GetSelectedRows())) |
|
string | dqt_zlumi_display_z_rate.titlestr = '' |
|
| dqt_zlumi_display_z_rate.gr = ROOT.TGraphErrors(lumitree.GetSelectedRows(), lumitree.GetV2(), lumitree.GetV1(), ROOT.nullptr, lumitree.GetV3()) |
|
| dqt_zlumi_display_z_rate.csvout = open(os.path.join(args.plotdir, '%s_zrate.csv' % runnum), 'w') |
|
string | dqt_zlumi_display_z_rate.timeformat = '%y/%m/%d %H:%M:%S' |
|
| dqt_zlumi_display_z_rate.zrate = lumitree.GetV1()[i] |
|
| dqt_zlumi_display_z_rate.instlumi = lumitree.GetVal(5)[i] |
|
| dqt_zlumi_display_z_rate.livetime = lumitree.GetVal(4)[i] |
|
| dqt_zlumi_display_z_rate.file |
|
| dqt_zlumi_display_z_rate.zlumi = list(lumitree.GetV1()[_] for _ in xrange(lumitree.GetSelectedRows())); |
|
| dqt_zlumi_display_z_rate.zlumierr = list(lumitree.GetV3()[_] for _ in xrange(lumitree.GetSelectedRows())) |
|
| dqt_zlumi_display_z_rate.gr2 = ROOT.TGraphErrors(lumitree.GetSelectedRows(), lumitree.GetV2(), lumitree.GetV1()) |
|
| dqt_zlumi_display_z_rate.offlumi = list(lumitree.GetV1()[_] for _ in xrange(lumitree.GetSelectedRows())) |
|
| dqt_zlumi_display_z_rate.leg = ROOT.TLegend(0.65, 0.7, 0.89, 0.89) |
|
| dqt_zlumi_display_z_rate.zlumirat = array.array('d', [_[0]/_[1] for _ in zip(zlumi, offlumi)]) |
|
| dqt_zlumi_display_z_rate.zlumiraterr = array.array('d', [_[0]/_[1] for _ in zip(zlumierr, offlumi)]) |
|
| dqt_zlumi_display_z_rate.gr3 = ROOT.TGraphErrors(lumitree.GetSelectedRows(), lumitree.GetV2(), zlumirat, ROOT.nullptr, zlumiraterr) |
|