ATLAS Offline Software
Variables
dqt_zlumi_display_z_rate Namespace Reference

Variables

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

Variable Documentation

◆ args

dqt_zlumi_display_z_rate.args = parser.parse_args()

Definition at line 16 of file dqt_zlumi_display_z_rate.py.

◆ c1

dqt_zlumi_display_z_rate.c1 = ROOT.TCanvas()

Definition at line 22 of file dqt_zlumi_display_z_rate.py.

◆ csvout

dqt_zlumi_display_z_rate.csvout = open(os.path.join(args.plotdir, '%s_zrate.csv' % runnum), 'w')

Definition at line 50 of file dqt_zlumi_display_z_rate.py.

◆ default

dqt_zlumi_display_z_rate.default

Definition at line 13 of file dqt_zlumi_display_z_rate.py.

◆ f

dqt_zlumi_display_z_rate.f = ROOT.TFile.Open(os.path.join(args.indir, args.infile), 'UPDATE')

Definition at line 21 of file dqt_zlumi_display_z_rate.py.

◆ file

dqt_zlumi_display_z_rate.file

Definition at line 66 of file dqt_zlumi_display_z_rate.py.

◆ fills

dqt_zlumi_display_z_rate.fills = list(lumitree.GetV2()[_] for _ in xrange(lumitree.GetSelectedRows()))

Definition at line 29 of file dqt_zlumi_display_z_rate.py.

◆ gr

dqt_zlumi_display_z_rate.gr = ROOT.TGraphErrors(lumitree.GetSelectedRows(), lumitree.GetV2(), lumitree.GetV1(), ROOT.nullptr, lumitree.GetV3())

Definition at line 39 of file dqt_zlumi_display_z_rate.py.

◆ gr2

dqt_zlumi_display_z_rate.gr2 = ROOT.TGraphErrors(lumitree.GetSelectedRows(), lumitree.GetV2(), lumitree.GetV1())

Definition at line 81 of file dqt_zlumi_display_z_rate.py.

◆ gr3

dqt_zlumi_display_z_rate.gr3 = ROOT.TGraphErrors(lumitree.GetSelectedRows(), lumitree.GetV2(), zlumirat, ROOT.nullptr, zlumiraterr)

Definition at line 99 of file dqt_zlumi_display_z_rate.py.

◆ help

dqt_zlumi_display_z_rate.help

Definition at line 11 of file dqt_zlumi_display_z_rate.py.

◆ instlumi

dqt_zlumi_display_z_rate.instlumi = lumitree.GetVal(5)[i]

Definition at line 56 of file dqt_zlumi_display_z_rate.py.

◆ leg

dqt_zlumi_display_z_rate.leg = ROOT.TLegend(0.65, 0.7, 0.89, 0.89)

Definition at line 89 of file dqt_zlumi_display_z_rate.py.

◆ livetime

dqt_zlumi_display_z_rate.livetime = lumitree.GetVal(4)[i]

Definition at line 57 of file dqt_zlumi_display_z_rate.py.

◆ lumitree

dqt_zlumi_display_z_rate.lumitree = f.lumitree

Definition at line 23 of file dqt_zlumi_display_z_rate.py.

◆ offlumi

dqt_zlumi_display_z_rate.offlumi = list(lumitree.GetV1()[_] for _ in xrange(lumitree.GetSelectedRows()))

Definition at line 82 of file dqt_zlumi_display_z_rate.py.

◆ parser

dqt_zlumi_display_z_rate.parser = argparse.ArgumentParser()

Definition at line 10 of file dqt_zlumi_display_z_rate.py.

◆ runnum

dqt_zlumi_display_z_rate.runnum = args.infile.split('_')[0]

Definition at line 19 of file dqt_zlumi_display_z_rate.py.

◆ runs

dqt_zlumi_display_z_rate.runs = [0,1]

Definition at line 25 of file dqt_zlumi_display_z_rate.py.

◆ str

dqt_zlumi_display_z_rate.str

Definition at line 11 of file dqt_zlumi_display_z_rate.py.

◆ timeformat

string dqt_zlumi_display_z_rate.timeformat = '%y/%m/%d %H:%M:%S'

Definition at line 52 of file dqt_zlumi_display_z_rate.py.

◆ titlestr

string dqt_zlumi_display_z_rate.titlestr = ''

Definition at line 30 of file dqt_zlumi_display_z_rate.py.

◆ type

dqt_zlumi_display_z_rate.type

Definition at line 11 of file dqt_zlumi_display_z_rate.py.

◆ zlumi

dqt_zlumi_display_z_rate.zlumi = list(lumitree.GetV1()[_] for _ in xrange(lumitree.GetSelectedRows()));

Definition at line 72 of file dqt_zlumi_display_z_rate.py.

◆ zlumierr

dqt_zlumi_display_z_rate.zlumierr = list(lumitree.GetV3()[_] for _ in xrange(lumitree.GetSelectedRows()))

Definition at line 73 of file dqt_zlumi_display_z_rate.py.

◆ zlumirat

dqt_zlumi_display_z_rate.zlumirat = array.array('d', [_[0]/_[1] for _ in zip(zlumi, offlumi)])

Definition at line 97 of file dqt_zlumi_display_z_rate.py.

◆ zlumiraterr

dqt_zlumi_display_z_rate.zlumiraterr = array.array('d', [_[0]/_[1] for _ in zip(zlumierr, offlumi)])

Definition at line 98 of file dqt_zlumi_display_z_rate.py.

◆ zrate

dqt_zlumi_display_z_rate.zrate = lumitree.GetV1()[i]

Definition at line 55 of file dqt_zlumi_display_z_rate.py.