ATLAS Offline Software
Variables
compute_lumi Namespace Reference

Variables

 format
 
 level
 
int BINWIDTH = 5
 
float ZPURITYFACTOR = 0.9935
 
float ZXSEC = 1.929
 
float ZATIMESC = 0.29632
 
 fin = ROOT.TFile.Open(sys.argv[1])
 
 runname = None
 
 z_m = fin.Get('%s/GLOBAL/DQTGlobalWZFinder/m_Z_Counter_mu' % runname)
 
 lb_length = fin.Get('%s/GLOBAL/DQTGlobalWZFinder/m_lblength_lb' % runname)
 
 lbmin
 
 lbmax
 
 livetime = ROOT.TProfile('livetime', 'Livetime', int(lbmax-lbmin), lbmin, lbmax)
 
 official_lum = ROOT.TProfile('official_lum', 'official integrated luminosity', int(lbmax-lbmin), lbmin, lbmax)
 
 official_lum_zero = ROOT.TProfile('official_lum_zero', 'official inst luminosity', int(lbmax-lbmin), lbmin, lbmax)
 
 lblb = fetch_iovs("LBLB", runs=int(runname[4:]))
 
 lbtime = inverse_lblb(lblb)
 
 iovs_acct = fetch_iovs('COOLOFL_TRIGGER::/TRIGGER/OFLLUMI/LumiAccounting', lbtime.first.since, lbtime.last.until, tag='OflLumiAcct-13TeV-004')
 
 divisor = lb_length.Clone('divisor').ProjectionX()
 
 px = livetime.ProjectionX()
 
tuple nrebinned_bins = ((lbmax-lbmin) // BINWIDTH) + 1
 
 lumiplot_m
 
 xsec_m
 
 lumiplot_raw_m
 
 num_m
 
 lum
 
 denom
 
 ribin = int(ibin // BINWIDTH)
 
 leg = ROOT.TLegend(0.6, 0.75, 0.89, 0.88)
 

Variable Documentation

◆ BINWIDTH

int compute_lumi.BINWIDTH = 5

Definition at line 10 of file compute_lumi.py.

◆ denom

compute_lumi.denom

Definition at line 76 of file compute_lumi.py.

◆ divisor

compute_lumi.divisor = lb_length.Clone('divisor').ProjectionX()

Definition at line 60 of file compute_lumi.py.

◆ fin

compute_lumi.fin = ROOT.TFile.Open(sys.argv[1])

Definition at line 19 of file compute_lumi.py.

◆ format

compute_lumi.format

Definition at line 8 of file compute_lumi.py.

◆ iovs_acct

compute_lumi.iovs_acct = fetch_iovs('COOLOFL_TRIGGER::/TRIGGER/OFLLUMI/LumiAccounting', lbtime.first.since, lbtime.last.until, tag='OflLumiAcct-13TeV-004')

Definition at line 48 of file compute_lumi.py.

◆ lb_length

compute_lumi.lb_length = fin.Get('%s/GLOBAL/DQTGlobalWZFinder/m_lblength_lb' % runname)

Definition at line 36 of file compute_lumi.py.

◆ lblb

compute_lumi.lblb = fetch_iovs("LBLB", runs=int(runname[4:]))

Definition at line 45 of file compute_lumi.py.

◆ lbmax

compute_lumi.lbmax

Definition at line 37 of file compute_lumi.py.

◆ lbmin

compute_lumi.lbmin

Definition at line 37 of file compute_lumi.py.

◆ lbtime

compute_lumi.lbtime = inverse_lblb(lblb)

Definition at line 46 of file compute_lumi.py.

◆ leg

compute_lumi.leg = ROOT.TLegend(0.6, 0.75, 0.89, 0.88)

Definition at line 95 of file compute_lumi.py.

◆ level

compute_lumi.level

Definition at line 8 of file compute_lumi.py.

◆ livetime

compute_lumi.livetime = ROOT.TProfile('livetime', 'Livetime', int(lbmax-lbmin), lbmin, lbmax)

Definition at line 40 of file compute_lumi.py.

◆ lum

compute_lumi.lum

Definition at line 76 of file compute_lumi.py.

◆ lumiplot_m

compute_lumi.lumiplot_m
Initial value:
1 = ROOT.TH1F('lumiplot_m', 'Lumi, Z->#mu#mu (Run %s)' % runname[4:],
2  int(nrebinned_bins),
3  lbmin, lbmin+BINWIDTH*nrebinned_bins)

Definition at line 66 of file compute_lumi.py.

◆ lumiplot_raw_m

compute_lumi.lumiplot_raw_m
Initial value:
1 = ROOT.TH1F('lumiplot_raw_m', 'Lumi, Z->#mu#mu, per LB',
2  int(lbmax-lbmin),
3  lbmin, lbmax)

Definition at line 72 of file compute_lumi.py.

◆ nrebinned_bins

tuple compute_lumi.nrebinned_bins = ((lbmax-lbmin) // BINWIDTH) + 1

Definition at line 64 of file compute_lumi.py.

◆ num_m

compute_lumi.num_m

Definition at line 76 of file compute_lumi.py.

◆ official_lum

compute_lumi.official_lum = ROOT.TProfile('official_lum', 'official integrated luminosity', int(lbmax-lbmin), lbmin, lbmax)

Definition at line 41 of file compute_lumi.py.

◆ official_lum_zero

compute_lumi.official_lum_zero = ROOT.TProfile('official_lum_zero', 'official inst luminosity', int(lbmax-lbmin), lbmin, lbmax)

Definition at line 42 of file compute_lumi.py.

◆ px

compute_lumi.px = livetime.ProjectionX()

Definition at line 61 of file compute_lumi.py.

◆ ribin

compute_lumi.ribin = int(ibin // BINWIDTH)

Definition at line 85 of file compute_lumi.py.

◆ runname

compute_lumi.runname = None

Definition at line 20 of file compute_lumi.py.

◆ xsec_m

compute_lumi.xsec_m
Initial value:
1 = ROOT.TH1F('xsec_m', 'eff #sigma, Z->#mu#mu', int(nrebinned_bins),
2  lbmin, lbmin+BINWIDTH*nrebinned_bins)

Definition at line 70 of file compute_lumi.py.

◆ z_m

compute_lumi.z_m = fin.Get('%s/GLOBAL/DQTGlobalWZFinder/m_Z_Counter_mu' % runname)

Definition at line 30 of file compute_lumi.py.

◆ ZATIMESC

float compute_lumi.ZATIMESC = 0.29632

Definition at line 15 of file compute_lumi.py.

◆ ZPURITYFACTOR

float compute_lumi.ZPURITYFACTOR = 0.9935

Definition at line 12 of file compute_lumi.py.

◆ ZXSEC

float compute_lumi.ZXSEC = 1.929

Definition at line 13 of file compute_lumi.py.

CaloCellPos2Ntuple.int
int
Definition: CaloCellPos2Ntuple.py:24