ATLAS Offline Software
Namespaces | Functions | Variables
dqt_zlumi_combine_lumi.py File Reference

Go to the source code of this file.

Namespaces

 dqt_zlumi_combine_lumi
 

Functions

def dqt_zlumi_combine_lumi.correction (mu)
 

Variables

 dqt_zlumi_combine_lumi.parser = argparse.ArgumentParser()
 
 dqt_zlumi_combine_lumi.type
 
 dqt_zlumi_combine_lumi.str
 
 dqt_zlumi_combine_lumi.help
 
 dqt_zlumi_combine_lumi.int
 
 dqt_zlumi_combine_lumi.default
 
 dqt_zlumi_combine_lumi.args = parser.parse_args()
 
 dqt_zlumi_combine_lumi.recozfname = args.recofile
 
 dqt_zlumi_combine_lumi.effzfname = args.efffile
 
 dqt_zlumi_combine_lumi.outfname = args.outfile
 
 dqt_zlumi_combine_lumi.LUMIBLOCKS = args.nlb
 
float dqt_zlumi_combine_lumi.ACCEPTANCE = 3.323224e-01
 
float dqt_zlumi_combine_lumi.ZXSEC = 1.929
 
float dqt_zlumi_combine_lumi.ZPURITYFACTOR = 0.9935
 
 dqt_zlumi_combine_lumi.recozfile = ROOT.TFile.Open(recozfname)
 
 dqt_zlumi_combine_lumi.effzfile = ROOT.TFile.Open(effzfname)
 
 dqt_zlumi_combine_lumi.recoztree = recozfile.lumitree
 
 dqt_zlumi_combine_lumi.effztree = effzfile.lumitree
 
dictionary dqt_zlumi_combine_lumi.entrydict = {}
 
tuple dqt_zlumi_combine_lumi.lbzero = (recoztree.lb // LUMIBLOCKS)*LUMIBLOCKS
 
 dqt_zlumi_combine_lumi.run = recoztree.run
 
dictionary dqt_zlumi_combine_lumi.thisdict = entrydict[(run, lbzero)]
 
tuple dqt_zlumi_combine_lumi.effcy = (effztree.GetV1()[0]*correction(recoztree.mu))
 
tuple dqt_zlumi_combine_lumi.effcywght = (effztree.GetV2()[0]*correction(recoztree.mu))**2
 
 dqt_zlumi_combine_lumi.loclivetime = recoztree.lblive
 
 dqt_zlumi_combine_lumi.fout = ROOT.TFile.Open(outfname, 'RECREATE')
 
 dqt_zlumi_combine_lumi.o_run = array('I', [0])
 
 dqt_zlumi_combine_lumi.o_lb = array('I', [0])
 
 dqt_zlumi_combine_lumi.o_lbwhen = array('d', [0., 0.])
 
 dqt_zlumi_combine_lumi.o_zrate = array('f', [0.])
 
 dqt_zlumi_combine_lumi.o_zratestat = array('f', [0.])
 
 dqt_zlumi_combine_lumi.o_zlumi = array('f', [0.])
 
 dqt_zlumi_combine_lumi.o_zlumistat = array('f', [0.])
 
 dqt_zlumi_combine_lumi.o_mu = array('f', [0.])
 
 dqt_zlumi_combine_lumi.o_alleffcorr = array('f', [0.])
 
 dqt_zlumi_combine_lumi.o_alleffcorrstat = array('f', [0.])
 
 dqt_zlumi_combine_lumi.o_offlumi = array('f', [0.])
 
 dqt_zlumi_combine_lumi.o_lblive = array('f', [0.])
 
 dqt_zlumi_combine_lumi.o_lhcfill = array('I', [0])
 
 dqt_zlumi_combine_lumi.t = ROOT.TTree( 'lumitree', 'Luminosity tree' )
 
 dqt_zlumi_combine_lumi.eff = entryval['rolleff']/entryval['rollefferrsq']
 
int dqt_zlumi_combine_lumi.efferr = 1/entryval['rollefferrsq']**.5
 
 dqt_zlumi_combine_lumi.newrzt = recoztree.CloneTree()
 
 dqt_zlumi_combine_lumi.newezt = effztree.CloneTree()