ATLAS Offline Software
Functions
tools.zlumi_mc_cf Namespace Reference

Functions

def correction (mu, runmode, campaign, run=None)
 

Function Documentation

◆ correction()

def tools.zlumi_mc_cf.correction (   mu,
  runmode,
  campaign,
  run = None 
)

Definition at line 4 of file zlumi_mc_cf.py.

4 def correction(mu, runmode, campaign, run=None):
5  if runmode == "Zee":
6  if campaign == "mc16a":
7  return 0.907628 - 0.000328652*mu - 3.0512e-06*mu*mu
8  elif campaign == "mc16d":
9  return 0.904096 - 0.000172139*mu - 4.35328e-06*mu*mu
10  elif campaign == "mc16e":
11  return 0.90238 - 8.75767e-05*mu - 5.79201e-06*mu*mu
12  elif campaign == "mc21":
13  return 0.889336 - 0.000191184*mu - 4.11419e-06*mu*mu
14  elif campaign == "mc23a" and run < 451896:
15  return 0.8896 - 0.0000115*mu - 0.0000081*mu*mu
16  elif campaign == "mc23a" and run >= 451896:
17  return 0.8923 - 0.0001822*mu - 0.0000038*mu*mu
18  elif runmode == "Zmumu":
19  if campaign == "mc16a":
20  return 9.90074e-01 - 5.34716e-06*mu - 3.23366e-06*mu*mu
21  elif campaign == "mc16d":
22  return 9.91619e-01 - 1.21674e-04*mu - 1.58362e-06*mu*mu
23  elif campaign == "mc16e":
24  return 9.90808e-01 - 9.99749e-05*mu - 1.40241e-06*mu*mu
25  elif campaign == "mc21":
26  return 0.987 - 6.11277e-05*mu - 2.59671e-06*mu*mu
27  elif campaign == "mc23a":
28  return 0.9914 - 0.0001093*mu - 0.0000018*mu*mu
29 
tools.zlumi_mc_cf.correction
def correction(mu, runmode, campaign, run=None)
Definition: zlumi_mc_cf.py:4