CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Functions | Variables
create_public_lumi_plots Namespace Reference

Classes

class  LumiDataBlock
 
class  LumiDataBlockCollection
 
class  LumiDataPoint
 

Functions

def AtMidnight
 
def AtMidWeek
 
def CacheFilePath
 
def checkCertification
 
def GetEnergyPerNucleonScaleFactor
 
def GetUnits
 
def GetXLocator
 
def loadCertificationJSON
 
def NumDaysInYear
 
def PlotAllYears
 
def TweakPlot
 

Variables

tuple accel_mode = cfg_parser.get("general", "accel_mode")
 
 add_extra_head_room = is_log)
 
 amodetag_bug_workaround = False
 
tuple arg_parser = optparse.OptionParser(description=desc_str)
 
tuple aspect_ratio = matplotlib.figure.figaspect(1. / 2.5)
 
tuple ax = fig.add_subplot(111)
 
 beam_energy = None
 
dictionary beam_energy_defaults
 
 beam_energy_from_cfg = None
 
tuple beam_energy_tmp = cfg_parser.get("general", "beam_energy")
 
 beam_fluctuation = None
 
dictionary beam_fluctuation_defaults
 
 beam_fluctuation_from_cfg = None
 
tuple beam_fluctuation_tmp = cfg_parser.get("general", "beam_fluctuation")
 
tuple bin_edges
 
tuple cache_file_dir = cfg_parser.get("general", "cache_dir")
 
tuple cache_file_path = CacheFilePath(cache_file_dir, day)
 
tuple cache_file_tmp = cache_file_path.replace(".csv", "_tmp.csv")
 
 certification_data = None
 
dictionary cfg_defaults
 
tuple cfg_parser = ConfigParser.SafeConfigParser(cfg_defaults)
 
string cmd = "%s --begin '%s' --end '%s' -o %s"
 
int cms_energy = 2
 
string cms_energy_str = "???"
 
list color = color_by_year[year]
 
 color_by_year = color_scheme.color_by_year
 
 color_fill_cert = color_scheme.color_fill_cert
 
 color_fill_del = color_scheme.color_fill_del
 
 color_fill_peak = color_scheme.color_fill_peak
 
 color_fill_rec = color_scheme.color_fill_rec
 
 color_line_cert = color_scheme.color_line_cert
 
 color_line_del = color_scheme.color_line_del
 
 color_line_peak = color_scheme.color_line_peak
 
 color_line_rec = color_scheme.color_line_rec
 
tuple color_scheme = ColorScheme(color_scheme_name)
 
list color_scheme_names = [i.strip() for i in color_scheme_names_tmp.split(",")]
 
tuple color_scheme_names_tmp = cfg_parser.get("general", "color_schemes")
 
list config_file_name = args[0]
 
tuple date_begin = datetime.datetime.strptime(tmp, DATE_FMT_STR_CFG)
 
tuple date_begin_day_str = day.strftime(DATE_FMT_STR_LUMICALC_DAY)
 
tuple date_begin_str = day.strftime(DATE_FMT_STR_LUMICALC)
 
 date_end = None
 
tuple date_end_str = (day + datetime.timedelta(days=1))
 
string DATE_FMT_STR_AXES = "%-d %b"
 
string DATE_FMT_STR_CFG = "%Y-%m-%d"
 
string DATE_FMT_STR_LUMICALC = "%m/%d/%y %H:%M:%S"
 
string DATE_FMT_STR_LUMICALC_DAY = "%m/%d/%y"
 
string DATE_FMT_STR_OUT = "%Y-%m-%d %H:%M"
 
tuple date_previous_str = (day - datetime.timedelta(days=1))
 
 day_cur = date_begin
 
tuple day_hi = AtMidnight(lumi_data.time_end())
 
tuple day_lo = AtMidnight(lumi_data.time_begin())
 
list days = [date_begin + datetime.timedelta(days=i) for i in xrange(num_days)]
 
string desc_str = "This script creates the official CMS luminosity plots "
 
tuple dummy_file = open(cache_file_tmp, "w")
 
tuple exp = math.floor(math.log10(min_val))
 
 facecolor = color_line_peak,
 
tuple fig = plt.figure()
 
 file_suffix = color_scheme.file_suffix
 
 fontproperties = FONT_PROPS_SUPTITLE)
 
int head_room = 2
 
string help = "Ignore all cached lumiCalc results "
 
string helper_str = ""
 
string histtype = "stepfilled"
 
 ignore_cache = options.ignore_cache
 
tuple in_file = open(cache_file_path)
 
tuple is_log = (type == "log")
 
tuple json_file_name = cfg_parser.get("general", "json_file")
 
list KNOWN_ACCEL_MODES
 
string label = "Max. inst. lumi.: %.2f %s"
 
tuple last_day_from_cache = min(today - datetime.timedelta(days=2), date_end)
 
int LEAD_SCALE_FACTOR = 82
 
tuple leg
 
tuple lines = in_file.readlines()
 
tuple lines_ori = open(cache_file_tmp)
 
list lines_to_be_kept = []
 
string linestyle = "none"
 
 log = log_setting,
 
 log_setting = False
 
string log_suffix = ""
 
 logo_name = color_scheme.logo_name
 
list lumi_data = lumi_data_by_day_per_year[year]
 
dictionary lumi_data_by_day = {}
 
dictionary lumi_data_by_day_per_year = {}
 
dictionary lumi_data_by_week = {}
 
dictionary lumi_data_by_week_per_year = {}
 
dictionary lumi_data_by_year = {}
 
tuple lumi_data_day = LumiDataBlock()
 
string lumicalc_cmd = "%s %s"
 
string lumicalc_flags = "%s --without-checkforupdate "
 
tuple lumicalc_flags_from_cfg = cfg_parser.get("general", "lumicalc_flags")
 
tuple lumicalc_script = cfg_parser.get("general", "lumicalc_script")
 
string marker = "."
 
tuple max_del = max(weights_del)
 
tuple max_inst = max(weights_del_inst)
 
tuple max_rec = max(weights_rec)
 
tuple min_del = min(weights_del_for_cum)
 
tuple min_val = min(weights_del_inst)
 
tuple newfile = open(cache_file_path, "w")
 
 num_cols = None
 
tuple num_days = (date_end - date_begin)
 
int NUM_SEC_IN_LS = 2
 
tuple num_weeks = week_hi.isocalendar()
 
tuple oracle_connection_string = cfg_parser.get("general", "oracle_connection")
 
tuple output_0 = copy.deepcopy(output)
 
list particle_type_str = particle_type_strings[accel_mode]
 
dictionary particle_type_strings
 
tuple path_name = CacheFilePath(cache_file_dir)
 
int scale_factor_2010 = 10
 
int sep_line = 50
 
 str_begin = None
 
tuple str_begin_ultimate = time_begin_ultimate.strftime(DATE_FMT_STR_OUT)
 
 str_end = None
 
tuple time_begin
 
list time_begin_ultimate = lumi_data_by_day_per_year[years[0]]
 
tuple time_end
 
list times = [matplotlib.dates.date2num(i) for i in times_tmp]
 
list times_tmp = [AtMidnight(i) for i in lumi_data.times()]
 
tuple tmp = cfg_parser.get("general", "date_begin")
 
tuple tmp_leg
 
string tmp_str = " - (no data, presumably no lumi either)"
 
int tmp_x = .09
 
int tmp_y = .97
 
tuple today = datetime.datetime.utcnow()
 
tuple tot_cert = sum(weights_cert_for_cum)
 
tuple tot_del = sum(weights_del_for_cum)
 
tuple tot_rec = sum(weights_rec_for_cum)
 
int transform = 15
 
tuple units = GetUnits(years[-1], accel_mode, "cum_day")
 
tuple use_cache = (not ignore_cache)
 
tuple use_oracle = (len(oracle_connection_string) != 0)
 
tuple verbose = cfg_parser.getboolean("general", "verbose")
 
string verticalalignment = "center"
 
tuple week = day_cur.isocalendar()
 
tuple week_begin = date_begin.isocalendar()
 
tuple week_end = date_end.isocalendar()
 
tuple week_hi = AtMidWeek(lumi_data.time_end())
 
tuple week_lo = AtMidWeek(lumi_data.time_begin())
 
list weeks = []
 
tuple weights_cert_for_cum = lumi_data.lum_cert(units)
 
tuple weights_del = lumi_data.lum_del(units)
 
tuple weights_del_for_cum = lumi_data.lum_del(units)
 
tuple weights_del_inst = lumi_data.lum_inst_max(units)
 
tuple weights_inst = lumi_data.lum_inst_max(units)
 
tuple weights_rec = lumi_data.lum_rec(units)
 
tuple weights_rec_for_cum = lumi_data.lum_rec(units)
 
 weights_tmp = None
 
int width = 0
 
tuple xy = (times[-1], max(weights_tmp))
 
string xycoords = "data"
 
tuple xytext = (5., -2.)
 
tuple year = day_cur.isocalendar()
 
tuple year_begin = date_begin.isocalendar()
 
tuple year_end = date_end.isocalendar()
 
tuple years = range(year_begin, year_end + 1)
 
int zoom = .97
 

Function Documentation

def create_public_lumi_plots.AtMidnight (   datetime_in)

Definition at line 292 of file create_public_lumi_plots.py.

Referenced by PlotAllYears().

293 def AtMidnight(datetime_in):
294  res = datetime.datetime.combine(datetime_in.date(), datetime.time())
295  # End of AtMidnight().
296  return res
def create_public_lumi_plots.AtMidWeek (   datetime_in)

Definition at line 299 of file create_public_lumi_plots.py.

300 def AtMidWeek(datetime_in):
301  # NOTE: The middle of the week is on Thursday according to our
302  # definition
303  tmp = datetime_in.date()
304  date_tmp = tmp - \
305  datetime.timedelta(days=tmp.weekday()) + \
306  datetime.timedelta(days=3)
307  res = datetime.datetime.combine(date_tmp, datetime.time())
308  # End of AtMidWeek().
309  return res
def create_public_lumi_plots.CacheFilePath (   cache_file_dir,
  day = None 
)

Definition at line 283 of file create_public_lumi_plots.py.

284 def CacheFilePath(cache_file_dir, day=None):
285  cache_file_path = os.path.abspath(cache_file_dir)
286  if day:
287  cache_file_name = "lumicalc_cache_%s.csv" % day.isoformat()
288  cache_file_path = os.path.join(cache_file_path, cache_file_name)
289  return cache_file_path
def create_public_lumi_plots.checkCertification (   run_number,
  ls 
)
Check if this run and LS are certified as good and return a boolean parameter.

Definition at line 467 of file create_public_lumi_plots.py.

468 def checkCertification(run_number, ls):
469  """Check if this run and LS are certified as good and return a boolean parameter."""
470  try:
471  ls_ranges = certification_data[run_number]
472  for ranges in ls_ranges:
473  if (ls >= ranges[0]) and (ls <= ranges[1]):
474  return True
475  except KeyError:
476  return False
477 
478  return False
def create_public_lumi_plots.GetEnergyPerNucleonScaleFactor (   amodetag)

Definition at line 382 of file create_public_lumi_plots.py.

Referenced by PlotAllYears().

383 def GetEnergyPerNucleonScaleFactor(amodetag):
384  # DEBUG DEBUG DEBUG
385  assert amodetag in ["IONPHYS", "PAPHYS"]
386  # DEBUG DEBUG DEBUG end
387 
388  res = LEAD_SCALE_FACTOR
389  if amodetag == "PAPHYS":
390  res = math.sqrt(res)
391 
392  # End of GetEnergyPerNucleonScaleFactor().
393  return res
def create_public_lumi_plots.GetUnits (   year,
  accel_mode,
  mode 
)

Definition at line 312 of file create_public_lumi_plots.py.

Referenced by PlotAllYears().

313 def GetUnits(year, accel_mode, mode):
314 
315  units_spec = {
316  "PROTPHYS" : {
317  2010 : {
318  "cum_day" : "pb^{-1}",
319  "cum_week" : "pb^{-1}",
320  "cum_year" : "pb^{-1}",
321  "max_inst" : "Hz/ub",
322  },
323  2011 : {
324  "cum_day" : "pb^{-1}",
325  "cum_week" : "pb^{-1}",
326  "cum_year" : "fb^{-1}",
327  "max_inst" : "Hz/nb",
328  },
329  2012 : {
330  "cum_day" : "pb^{-1}",
331  "cum_week" : "fb^{-1}",
332  "cum_year" : "fb^{-1}",
333  "max_inst" : "Hz/nb",
334  },
335  2013 : {
336  "cum_day" : "pb^{-1}",
337  "cum_week" : "pb^{-1}",
338  "cum_year" : "pb^{-1}",
339  "max_inst" : "Hz/ub",
340  }
341  },
342  "IONPHYS" : {
343  2011 : {
344  "cum_day" : "ub^{-1}",
345  "cum_week" : "ub^{-1}",
346  "cum_year" : "ub^{-1}",
347  "max_inst" : "Hz/mb",
348  }
349  },
350  "PAPHYS" : {
351  2013 : {
352  "cum_day" : "nb^{-1}",
353  "cum_week" : "nb^{-1}",
354  "cum_year" : "nb^{-1}",
355  "max_inst" : "Hz/mb",
356  }
357  }
358  }
359 
360  units = None
361 
362  try:
363  units = units_spec[accel_mode][year][mode]
364  except KeyError:
365  if mode == "cum_day":
366  units = "pb^{-1}"
367  elif mode == "cum_week":
368  units = "pb^{-1}"
369  elif mode == "cum_year":
370  units = "fb^{-1}"
371  elif mode == "max_inst":
372  units = "Hz/ub"
373 
374  # DEBUG DEBUG DEBUG
375  assert not units is None
376  # DEBUG DEBUG DEBUG end
377 
378  # End of GetUnits().
379  return units
def create_public_lumi_plots.GetXLocator (   ax)
Pick a DateLocator based on the range of the x-axis.

Definition at line 408 of file create_public_lumi_plots.py.

References bookConverter.min, and TweakPlot().

Referenced by TweakPlot().

409 def GetXLocator(ax):
410  """Pick a DateLocator based on the range of the x-axis."""
411  (x_lo, x_hi) = ax.get_xlim()
412  num_days = x_hi - x_lo
413  min_num_ticks = min(num_days, 5)
414  locator = matplotlib.dates.AutoDateLocator(minticks=min_num_ticks,
415  maxticks=None)
416  # End of GetLocator().
417  return locator
def create_public_lumi_plots.loadCertificationJSON (   json_file_name)

Definition at line 481 of file create_public_lumi_plots.py.

References join().

482 def loadCertificationJSON(json_file_name):
483 
484  full_file = open(json_file_name, "r")
485  full_file_content = ["".join(l) for l in full_file.readlines()]
486  full_object = cjson.decode(full_file_content[0])
487 
488  # Now turn this into a dictionary for easier handling.
489  tmp = full_object.keys()
490  tmp = [int(i) for i in tmp]
491  run_list = sorted(tmp)
492  certification_data = {}
493  for run in run_list:
494  ls_ranges = full_object.get(str(run), None)
495  certification_data[run] = ls_ranges
496 
497  return certification_data
static std::string join(char **cmd)
Definition: RemoteFile.cc:18
def create_public_lumi_plots.NumDaysInYear (   year)
Returns the number of days in the given year.

Definition at line 396 of file create_public_lumi_plots.py.

Referenced by PlotAllYears().

397 def NumDaysInYear(year):
398  """Returns the number of days in the given year."""
399 
400  date_lo = datetime.date(year, 1, 1)
401  date_hi = datetime.date(year + 1, 1, 1)
402  num_days = (date_hi - date_lo).days
403 
404  # End of NumDaysInYear().
405  return num_days
def create_public_lumi_plots.PlotAllYears (   lumi_data_by_day_per_year,
  mode 
)
Mode 1: years side-by-side, mode 2: years overlaid.

Definition at line 1554 of file create_public_lumi_plots.py.

References public_plots_tools.AddLogo(), AtMidnight(), GetEnergyPerNucleonScaleFactor(), GetUnits(), join(), public_plots_tools.LatexifyUnits(), NumDaysInYear(), public_plots_tools.SavePlot(), time_begin, and TweakPlot().

1555  def PlotAllYears(lumi_data_by_day_per_year, mode):
1556  """Mode 1: years side-by-side, mode 2: years overlaid."""
1557 
1558  units = GetUnits(years[-1], accel_mode, "cum_year")
1559 
1560  scale_factor_2010 = 100.
1561 
1562  # Loop over all color schemes and plot.
1563  for color_scheme_name in color_scheme_names:
1564 
1565  print " color scheme '%s'" % color_scheme_name
1566 
1567  color_scheme = ColorScheme(color_scheme_name)
1568  color_by_year = color_scheme.color_by_year
1569  logo_name = color_scheme.logo_name
1570  file_suffix = color_scheme.file_suffix
1571 
1572  for type in ["lin", "log"]:
1573  is_log = (type == "log")
1574 
1575  if mode == 1:
1576  aspect_ratio = matplotlib.figure.figaspect(1. / 2.5)
1577  fig = plt.figure(figsize=aspect_ratio)
1578  else:
1579  fig = plt.figure()
1580  ax = fig.add_subplot(111)
1581 
1582  time_begin_ultimate = lumi_data_by_day_per_year[years[0]].time_begin()
1583  str_begin_ultimate = time_begin_ultimate.strftime(DATE_FMT_STR_OUT)
1584  for (year_index, year) in enumerate(years):
1585 
1586  lumi_data = lumi_data_by_day_per_year[year]
1587  lumi_data.sort()
1588  times_tmp = [AtMidnight(i) for i in lumi_data.times()]
1589  # For the plots showing all years overlaid, shift
1590  # all but the first year forward.
1591  # NOTE: Years list is supposed to be sorted.
1592  if mode == 2:
1593  if year_index > 0:
1594  for y in years[:year_index]:
1595  num_days = NumDaysInYear(y)
1596  time_shift = datetime.timedelta(days=num_days)
1597  times_tmp = [(i - time_shift) \
1598  for i in times_tmp]
1599  times = [matplotlib.dates.date2num(i) for i in times_tmp]
1600  # DEBUG DEBUG DEBUG
1601  for i in xrange(len(times) - 1):
1602  assert times[i] < times[i + 1]
1603  # DEBUG DEBUG DEBUG end
1604  weights_del = lumi_data.lum_del(units)
1605  weights_del_cum = [0.] * len(weights_del)
1606  tot_del = 0.
1607  for (i, val) in enumerate(weights_del):
1608  tot_del += val
1609  weights_del_cum[i] = tot_del
1610  if not beam_energy_from_cfg:
1611  beam_energy = beam_energy_defaults[accel_mode][year]
1612  cms_energy = 2. * beam_energy
1613  cms_energy_str = "???"
1614  if accel_mode == "PROTPHYS":
1615  width = 0
1616  if year == 2013:
1617  width = 2
1618  cms_energy_str = "%.*f TeV" % \
1619  (width, 1.e-3 * cms_energy)
1620  elif accel_mode in ["IONPHYS", "PAPHYS"]:
1621  cms_energy_str = "%.2f TeV/nucleon" % \
1622  (1.e-3 * GetEnergyPerNucleonScaleFactor(accel_mode) * cms_energy)
1623 
1624  # NOTE: Special case for 2010.
1625  label = None
1626  if year == 2010:
1627  label = r"%d, %s, %.1f %s" % \
1628  (year, cms_energy_str,
1629  1.e3 * tot_del,
1630  LatexifyUnits("pb^{-1}"))
1631  else:
1632  label = r"%d, %s, %.1f %s" % \
1633  (year, cms_energy_str, tot_del,
1634  LatexifyUnits(units))
1635 
1636  # NOTE: Special case for 2010
1637  weights_tmp = None
1638  if year == 2010:
1639  weights_tmp = [scale_factor_2010 * i \
1640  for i in weights_del_cum]
1641  else:
1642  weights_tmp = weights_del_cum
1643  ax.plot(times, weights_tmp,
1644  color=color_by_year[year],
1645  marker="none", linestyle="solid",
1646  linewidth=4,
1647  label=label)
1648  if is_log:
1649  ax.set_yscale("log")
1650 
1651  # NOTE: Special case for 2010.
1652  if year == 2010:
1653  ax.annotate(r"$\times$ %.0f" % scale_factor_2010,
1654  xy=(times[-1], weights_tmp[-1]),
1655  xytext=(5., -2.),
1656  xycoords="data", textcoords="offset points")
1657 
1658  # BUG BUG BUG
1659  # Needs work...
1660  time_begin = lumi_data.time_begin()
1661  time_end = lumi_data.time_end()
1662  str_begin = time_begin.strftime(DATE_FMT_STR_OUT)
1663  str_end = time_end.strftime(DATE_FMT_STR_OUT)
1664  if mode == 1:
1665  time_begin = datetime.datetime(years[0], 1, 1, 0, 0, 0)
1666  time_end = datetime.datetime(years[-1], 12, 31, 23, 59,59)
1667  else:
1668  time_begin = datetime.datetime(years[0], 1, 1, 0, 0, 0)
1669  time_end = datetime.datetime(years[0], 12, 31, 23, 59,59)
1670  # BUG BUG BUG end
1671 
1672  num_cols = None
1673  if mode == 1:
1674  num_cols = len(years)
1675  tmp_x = 0.095
1676  tmp_y = .95
1677  else:
1678  num_cols = 1
1679  tmp_x = 0.175
1680  tmp_y = 1.01
1681  leg = ax.legend(loc="upper left", bbox_to_anchor=(tmp_x, 0., 1., tmp_y),
1682  frameon=False, ncol=num_cols)
1683  for t in leg.get_texts():
1684  t.set_font_properties(FONT_PROPS_TICK_LABEL)
1685 
1686  # Set titles and labels.
1687  fig.suptitle(r"CMS Integrated Luminosity, %s" % particle_type_str,
1688  fontproperties=FONT_PROPS_SUPTITLE)
1689  ax.set_title("Data included from %s to %s UTC \n" % \
1690 # (str_begin, str_end),
1691  (str_begin_ultimate, str_end),
1692  fontproperties=FONT_PROPS_TITLE)
1693  ax.set_xlabel(r"Date (UTC)", fontproperties=FONT_PROPS_AX_TITLE)
1694  ax.set_ylabel(r"Total Integrated Luminosity (%s)" % \
1695  LatexifyUnits(units),
1696  fontproperties=FONT_PROPS_AX_TITLE)
1697 
1698  # Add the logo.
1699  zoom = 1.7
1700  if mode == 1:
1701  zoom = .95
1702  AddLogo(logo_name, ax, zoom=zoom)
1703  extra_head_room = 0
1704  if is_log:
1705  if mode == 1:
1706  extra_head_room = 1
1707  elif mode == 2:
1708  extra_head_room = 2
1709 # TweakPlot(fig, ax, (time_begin, time_end),
1710  TweakPlot(fig, ax, (time_begin_ultimate, time_end),
1711  add_extra_head_room=extra_head_room)
1712 
1713  log_suffix = ""
1714  if is_log:
1715  log_suffix = "_log"
1716  SavePlot(fig, "int_lumi_cumulative_%s_%d%s%s" % \
1717  (particle_type_str.lower(), mode,
1718  log_suffix, file_suffix))
def create_public_lumi_plots.TweakPlot (   fig,
  ax,
  time_begin,
  time_end,
  add_extra_head_room = False 
)

Definition at line 421 of file create_public_lumi_plots.py.

References GetXLocator().

Referenced by GetXLocator(), and PlotAllYears().

422  add_extra_head_room=False):
423 
424  # Fiddle with axes ranges etc.
425  ax.relim()
426  ax.autoscale_view(False, True, True)
427  for label in ax.get_xticklabels():
428  label.set_ha("right")
429  label.set_rotation(30.)
430 
431  # Bit of magic here: increase vertical scale by one tick to make
432  # room for the legend.
433  if add_extra_head_room:
434  y_ticks = ax.get_yticks()
435  (y_min, y_max) = ax.get_ylim()
436  is_log = (ax.get_yscale() == "log")
437  y_max_new = y_max
438  if is_log:
439  tmp = y_ticks[-1] / y_ticks[-2]
440  y_max_new = y_max * math.pow(tmp, add_extra_head_room)
441  else:
442  tmp = y_ticks[-1] - y_ticks[-2]
443  y_max_new = y_max + add_extra_head_room * tmp
444  ax.set_ylim(y_min, y_max_new)
445 
446  # Add a second vertical axis on the right-hand side.
447  ax_sec = ax.twinx()
448  ax_sec.set_ylim(ax.get_ylim())
449  ax_sec.set_yscale(ax.get_yscale())
450 
451  for ax_tmp in fig.axes:
452  for sub_ax in [ax_tmp.xaxis, ax_tmp.yaxis]:
453  for label in sub_ax.get_ticklabels():
454  label.set_font_properties(FONT_PROPS_TICK_LABEL)
455 
456  ax.set_xlim(time_begin, time_end)
457 
458  locator = GetXLocator(ax)
459  ax.xaxis.set_major_locator(locator)
460  formatter = matplotlib.dates.DateFormatter(DATE_FMT_STR_AXES)
461  ax.xaxis.set_major_formatter(formatter)
462 
463  fig.subplots_adjust(top=.85, bottom=.14, left=.13, right=.91)
464  # End of TweakPlot().

Variable Documentation

string create_public_lumi_plots.accel_mode = cfg_parser.get("general", "accel_mode")

Definition at line 545 of file create_public_lumi_plots.py.

create_public_lumi_plots.add_extra_head_room = is_log)

Definition at line 1271 of file create_public_lumi_plots.py.

create_public_lumi_plots.amodetag_bug_workaround = False

Definition at line 553 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.arg_parser = optparse.OptionParser(description=desc_str)

Definition at line 504 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.aspect_ratio = matplotlib.figure.figaspect(1. / 2.5)

Definition at line 1748 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.ax = fig.add_subplot(111)

Definition at line 1091 of file create_public_lumi_plots.py.

Referenced by addWindowInfoTo(), npstat::HistoND< Numeric, Axis >.allBinCenters(), npstat::HistoND< Numeric, Axis >.binBox(), npstat::HistoND< Numeric, Axis >.binCenter(), npstat::HistoND< Numeric, Axis >.binVolume(), npstat::HistoND< Numeric, Axis >.boundingBox(), npstat::HistoND< Numeric, Axis >.closestBin(), FWCollectionSummaryWidget.colorClicked(), npstat.convertToGridAxis(), npstat.convertToHistoAxis(), ClusterShape.determineShape(), npstat::HistoND< Numeric, Axis >.dispatch(), npstat::HistoND< Numeric, Axis >.examine(), npstat::HistoND< Numeric, Axis >.fill(), npstat::HistoND< Numeric, Axis >.fillC(), FWGeometryTableViewBase::FWViewCombo.HandleButton(), FWColorSelect.HandleButton(), npstat::HistoND< Numeric, Axis >.HistoND(), npstat.interpolateHistoND(), EEDetId.iPhiOuterRing(), EEDetId.isOuterRing(), TopologyWorker.planes_sphe(), TopologyWorker.planes_sphe_wei(), TopologyWorker.planes_thrust(), DDLDivision.processElement(), MEGeom.setBinGlobalHist(), FWGUIValidatingTextEntry.showOptions(), and npstat::HistoND< Numeric, Axis >.volume().

list create_public_lumi_plots.beam_energy = None

Definition at line 562 of file create_public_lumi_plots.py.

dictionary create_public_lumi_plots.beam_energy_defaults
Initial value:
1 = {
2  "PROTPHYS" : {2010 : 3500.,
3  2011 : 3500.,
4  2012 : 4000.,
5  2013 : 1380.1},
6  "IONPHYS" : {2010 : 3500.,
7  2011 : 3500.},
8  "PAPHYS" : {2013 : 4000.}
9  }

Definition at line 646 of file create_public_lumi_plots.py.

create_public_lumi_plots.beam_energy_from_cfg = None

Definition at line 563 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.beam_energy_tmp = cfg_parser.get("general", "beam_energy")

Definition at line 559 of file create_public_lumi_plots.py.

list create_public_lumi_plots.beam_fluctuation = None

Definition at line 575 of file create_public_lumi_plots.py.

dictionary create_public_lumi_plots.beam_fluctuation_defaults
Initial value:
1 = {
2  "PROTPHYS" : {2010 : .15,
3  2011 : .15,
4  2012 : .15,
5  2013 : .15},
6  "IONPHYS" : {2010 : .15,
7  2011 : .15},
8  "PAPHYS" : {2013 : .15}
9  }

Definition at line 655 of file create_public_lumi_plots.py.

create_public_lumi_plots.beam_fluctuation_from_cfg = None

Definition at line 576 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.beam_fluctuation_tmp = cfg_parser.get("general", "beam_fluctuation")

Definition at line 572 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.bin_edges
Initial value:
1 = np.linspace(matplotlib.dates.date2num(day_lo),
2  matplotlib.dates.date2num(day_hi),
3  (day_hi - day_lo).days + 1)

Definition at line 1029 of file create_public_lumi_plots.py.

Referenced by MuIsoValidation.bookHistograms().

tuple create_public_lumi_plots.cache_file_dir = cfg_parser.get("general", "cache_dir")

Definition at line 538 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.cache_file_path = CacheFilePath(cache_file_dir, day)

Definition at line 767 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.cache_file_tmp = cache_file_path.replace(".csv", "_tmp.csv")

Definition at line 768 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.certification_data = None

Definition at line 631 of file create_public_lumi_plots.py.

dictionary create_public_lumi_plots.cfg_defaults
Initial value:
1 = {
2  "lumicalc_flags" : "",
3  "date_end" : None,
4  "color_schemes" : "Joe, Greg",
5  "beam_energy" : None,
6  "beam_fluctuation" : None,
7  "verbose" : False,
8  "oracle_connection" : None,
9  "json_file" : None
10  }

Definition at line 517 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.cfg_parser = ConfigParser.SafeConfigParser(cfg_defaults)

Definition at line 527 of file create_public_lumi_plots.py.

string create_public_lumi_plots.cmd = "%s --begin '%s' --end '%s' -o %s"

Definition at line 809 of file create_public_lumi_plots.py.

int create_public_lumi_plots.cms_energy = 2

Definition at line 1005 of file create_public_lumi_plots.py.

string create_public_lumi_plots.cms_energy_str = "???"

Definition at line 1006 of file create_public_lumi_plots.py.

list create_public_lumi_plots.color = color_by_year[year]

Definition at line 1800 of file create_public_lumi_plots.py.

Referenced by Vispa.Views.LineDecayView.LineDecayContainer.addDecayLine(), LaserSorter.analyze(), FWHFTowerProxyBuilderBase.assertCaloDataSlice(), FWCaloTowerProxyBuilderBase.assertCaloDataSlice(), FWSecVertexProxyBuilder.build(), FWTrackHitsDetailView.build(), FWConvTrackHitsDetailView.build(), FWPFPatJetLegoProxyBuilder< T >.build(), FWPFCandidatesLegoProxyBuilder.build(), FWPFEcalRecHitLegoProxyBuilder.build(), FWCaloDataProxyBuilderBase.build(), FWCandidateLegoProxyBuilder.build(), FWTrackResidualDetailView.build(), FWVertexProxyBuilder.build(), FWTauProxyBuilderBase.buildBaseTau(), FWRPCRecHitProxyBuilder.buildViewType(), FWGEMRecHitProxyBuilder.buildViewType(), FWJetProxyBuilder.buildViewType(), cert_plot(), FWModelContextMenuHandler.chosenItem(), SiPixelUtility.createStatusLegendMessages(), TrackerMap.drawApvPair(), TrackerMap.drawCcu(), TrackerMap.drawHV2(), TrackerMap.drawHV3(), TrackerMap.drawModule(), TrackerMap.drawPalette(), TrackerMap.drawPsu(), SiPixelUtility.fillPaveText(), FWColorPopup.FWColorPopup(), FWTGeoRecoGeometryESProducer.GetMedium(), HcalBaseDQClient.htmlOutput(), FWCaloDataProxyBuilderBase.modelChanges(), FWJetProxyBuilder.requestCommon(), LMFColoredTable.setColor(), FWEventItemsManager.setFrom(), FWPFBlockProxyBuilder.setupClusterElement(), and FWPFClusterLegoProxyBuilder.sharedBuild().

create_public_lumi_plots.color_by_year = color_scheme.color_by_year

Definition at line 1741 of file create_public_lumi_plots.py.

create_public_lumi_plots.color_fill_cert = color_scheme.color_fill_cert

Definition at line 1069 of file create_public_lumi_plots.py.

create_public_lumi_plots.color_fill_del = color_scheme.color_fill_del

Definition at line 1067 of file create_public_lumi_plots.py.

create_public_lumi_plots.color_fill_peak = color_scheme.color_fill_peak

Definition at line 1070 of file create_public_lumi_plots.py.

create_public_lumi_plots.color_fill_rec = color_scheme.color_fill_rec

Definition at line 1068 of file create_public_lumi_plots.py.

create_public_lumi_plots.color_line_cert = color_scheme.color_line_cert

Definition at line 1073 of file create_public_lumi_plots.py.

create_public_lumi_plots.color_line_del = color_scheme.color_line_del

Definition at line 1071 of file create_public_lumi_plots.py.

create_public_lumi_plots.color_line_peak = color_scheme.color_line_peak

Definition at line 1074 of file create_public_lumi_plots.py.

create_public_lumi_plots.color_line_rec = color_scheme.color_line_rec

Definition at line 1072 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.color_scheme = ColorScheme(color_scheme_name)

Definition at line 1066 of file create_public_lumi_plots.py.

list create_public_lumi_plots.color_scheme_names = [i.strip() for i in color_scheme_names_tmp.split(",")]

Definition at line 536 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.color_scheme_names_tmp = cfg_parser.get("general", "color_schemes")

Definition at line 535 of file create_public_lumi_plots.py.

list create_public_lumi_plots.config_file_name = args[0]

Definition at line 514 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.date_begin = datetime.datetime.strptime(tmp, DATE_FMT_STR_CFG)

Definition at line 587 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.date_begin_day_str = day.strftime(DATE_FMT_STR_LUMICALC_DAY)

Definition at line 771 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.date_begin_str = day.strftime(DATE_FMT_STR_LUMICALC)

Definition at line 770 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.date_end = None

Definition at line 589 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.date_end_str = (day + datetime.timedelta(days=1))

Definition at line 772 of file create_public_lumi_plots.py.

string create_public_lumi_plots.DATE_FMT_STR_AXES = "%-d %b"

Definition at line 59 of file create_public_lumi_plots.py.

string create_public_lumi_plots.DATE_FMT_STR_CFG = "%Y-%m-%d"

Definition at line 60 of file create_public_lumi_plots.py.

string create_public_lumi_plots.DATE_FMT_STR_LUMICALC = "%m/%d/%y %H:%M:%S"

Definition at line 56 of file create_public_lumi_plots.py.

string create_public_lumi_plots.DATE_FMT_STR_LUMICALC_DAY = "%m/%d/%y"

Definition at line 57 of file create_public_lumi_plots.py.

string create_public_lumi_plots.DATE_FMT_STR_OUT = "%Y-%m-%d %H:%M"

Definition at line 58 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.date_previous_str = (day - datetime.timedelta(days=1))

Definition at line 773 of file create_public_lumi_plots.py.

create_public_lumi_plots.day_cur = date_begin

Definition at line 739 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.day_hi = AtMidnight(lumi_data.time_end())

Definition at line 1023 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.day_lo = AtMidnight(lumi_data.time_begin())

Definition at line 1021 of file create_public_lumi_plots.py.

list create_public_lumi_plots.days = [date_begin + datetime.timedelta(days=i) for i in xrange(num_days)]

Definition at line 736 of file create_public_lumi_plots.py.

string create_public_lumi_plots.desc_str = "This script creates the official CMS luminosity plots "

Definition at line 502 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.dummy_file = open(cache_file_tmp, "w")

Definition at line 830 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.exp = math.floor(math.log10(min_val))

Definition at line 1087 of file create_public_lumi_plots.py.

Referenced by res::HelperMET.a(), res::HelperElectron.a(), res::HelperMuon.a(), res::HelperJet.a(), EgammaHLTHcalIsolation.acceptHit_(), reco::JetSignalVertexCompatibilityAlgo.activation(), EndcapPiZeroDiscriminatorAlgo.Activation_fun(), gen::Pythia6Gun.addAntiParticle(), FastL1GlobalAlgo.addJet(), EvolutionECAL.AgingVPT(), HCALRecHitAnalyzer.analyze(), ESTimingTask.analyze(), EcalPileUpDepMonitor.analyze(), ElectronSeedAnalyzer.analyze(), edm::FlatEGunASCIIWriter.analyze(), HLTAlCaMonPi0.analyze(), DQMSourcePi0.analyze(), HLTAlCa.analyze(), HLTEgamma.analyze(), ResolutionAnalyzer.analyze(), res::HelperMET.b(), res::HelperElectron.b(), res::HelperMuon.b(), res::HelperJet.b(), RapReweightUserHook.biasSelectionBy(), PtHatRapReweightUserHook.biasSelectionBy(), BremsstrahlungSimulator.brem(), res::HelperMET.c(), res::HelperElectron.c(), res::HelperMuon.c(), res::HelperJet.c(), HIPAlignmentAlgorithm.calcAPE(), HLTEcalResonanceFilter.calcPaircluster(), GsfVertexWeightCalculator.calculate(), CSCStripAmpResponse.calculateAmpResponse(), CSCWireElectronicsSim.calculateAmpResponse(), HcalSiPM.cellCharge(), CutBasedElectronID.cicSelection(), NuclearInteractionSimulator.compute(), CastorPulseShapes.computeCastorShape(), TMarkov.computeChain(), DeDxDiscriminatorProducer.ComputeDiscriminator(), HcalPulseShapes.computeHFShape(), HcalPulseShapes.computeHPDShape(), HFCherenkov.computeNPE(), HFCherenkov.computeQEff(), TBPositionCalc.computeRotation(), CastorShape.computeShapeCastor(), ZDCShape.computeShapeZDC(), ElectronEnergyCalibrator.correctLinearity(), ZeeKinematicTools.cosThetaElectrons_SC(), ZeeKinematicTools.cosThetaElectrons_TK(), crystalball(), CSCDriftSim.CSCDriftSim(), res::HelperMET.d(), res::HelperElectron.d(), res::HelperMuon.d(), res::HelperJet.d(), EvolutionECAL.DamageProfileEta(), ChargeDividerFP420.DeconvolutionShape(), HFDarkening.degradation(), HEDarkening.degradation(), EvolutionECAL.DegradationMeanEM50GeV(), egammaisolation::EgammaRecHitExtractor.deposit(), egammaisolation::EgammaHcalExtractor.deposit(), egammaisolation::EgammaEcalExtractor.deposit(), egammaisolation::EgammaTowerExtractor.deposit(), DetIdAssociator.DetIdAssociator(), Exhume::CrossSection.Differential(), HLTEcalResonanceFilter.doSelection(), EvolutionECAL.DoseLongitudinalProfile(), SiPixelDigitizerAlgorithm.drift(), DthetaDeta(), DAClusterizerInZ.dump(), DAClusterizerInZ_vect.dump(), Pi0FixedMassWindowCalibration.duringLoop(), ZeeCalibration.duringLoop(), EcalTBMCInfoProducer.EcalTBMCInfoProducer(), eCorr(), SingleParticleEvent.Eloss(), EMShower.EMShower(), npstat::EquidistantInLogSpace.EquidistantInLogSpace(), LandauFluctuationGenerator.ersatzt(), GammaNumericalGenerator.ersatzt(), res::HelperElectron.eta(), res::HelperMuon.eta(), res::HelperJet.eta(), BeamProfileVtxGenerator.eta(), hitfit.eta_to_theta(), L1GctConfigProducers.etToEnergyConversion(), metsig::SignAlgoResolutions.eval(), VariablePower.eval(), ESRecHitAnalyticAlgo.EvalAmplitude(), ESRecHitSimAlgo.evalAmplitude(), RooCBExGaussShape.evaluate(), RooCMSShape.evaluate(), PhotonFix.expCorrection(), VVIObjDetails.expint(), sistripvvi::VVIObjDetails.expint(), sistripvvi::VVIObjDetails.f2(), EcalClusterEnergyCorrectionObjectSpecific.fBremEta(), ElectronEnergyCorrector.fEnergy(), EcalClusterEnergyCorrectionObjectSpecific.fEnergy(), ElectronEnergyCorrector.fEt(), EcalClusterEnergyCorrectionObjectSpecific.fEt(), DAClusterizerInZ.fill(), MuonSimHitsValidAnalyzer.fillDT(), DaqFakeReader.fillFEDs(), FastL1GlobalAlgo.FillMET(), MuonSimHitsValidAnalyzer.fillRPC(), EBShape.fillShape(), EEShape.fillShape(), APDShape.fillShape(), GaussianZBeamSpotFilter.filter(), FWGeometryTableView.filterListCallback(), FWGeometryTableView.filterTextEntryCallback(), spr.findDetIdECAL(), spr.findDetIdHCAL(), reco::PositiveSideGhostTrackFitter.fit(), CSCFindPeakTime.fivePoleFitCharge(), CSCFindPeakTime.fivePoleFitTime(), fromPtEtaPhiToPxPyPz(), MuScleFitUtils.fromPtEtaPhiToPxPyPz(), FWExpressionValidator.FWExpressionValidator(), HFShower.gam(), HDShower.gam(), EMShower.gam(), GammaFunctionGenerator.gammaFrac(), GflashHadronShowerProfile.gammaProfile(), PhotonFix.gausCorrection(), GSUtilities.gauss(), Gaussian(), EcalTestDevDB.generateEcalLaserAPDPNRatios(), CSCGasCollisions.generateEnergyLoss(), gen::Pythia6JetGun.generateEvent(), gen::Pythia6PartonEGun.generateEvent(), gen::Pythia6PartonPtGun.generateEvent(), gen::Pythia6PtGun.generateEvent(), gen::Pythia6EGun.generateEvent(), gen::Pythia6PtYDistGun.generateEvent(), BaseNumericalRandomGenerator.generateExp(), gen::Py8EGun.generatePartonsAndHadronize(), gen::Py8JetGun.generatePartonsAndHadronize(), gen::Py8PtGun.generatePartonsAndHadronize(), Generator.Generator(), calib::CalibElectron.getCalibModulesWeights(), GBRForest.GetClassifier(), IsolatedPixelTrackCandidateProducer.getDistInCM(), getDistInCM(), EopTreeWriter.getDistInCM(), ValidationHcalIsoTrackAlCaReco.getDistInCM(), EgammaEcalIsolation.getEcalEtSum(), IsolatedPixelTrackCandidateProducer.GetEtaPhiAtEcal(), PythiaFilterIsolatedTrack.GetEtaPhiAtEcal(), HCALResponse.getHCALEnergyResponse(), HFShower.getHits(), HFShowerParam.getHits(), HFShowerLibrary.getHits(), Qjets.GetNextDistance(), CaloCellId.getThetaCell(), HcalSiPMShape.gexp(), HcalSiPMShape.gexpIndefIntegral(), HcalSiPMShape.gexpIntegral0Inf(), HFGflash.gfParameterization(), HcalTB04Analysis.HcalTB04Analysis(), HcalTB06Analysis.HcalTB06Analysis(), HcalHFStatusBitFromDigis.hfSetFlagFromDigi(), HcalSiPM.hitCells(), HLTEgammaGenericFilter.hltFilter(), HLTEgammaGenericQuadraticEtaFilter.hltFilter(), HLTEgammaGenericQuadraticFilter.hltFilter(), GflashHadronShowerProfile.hoProfile(), reco::MustacheKernel.inDynamicDPhiWindow(), DDHCalTBZposAlgo.initialize(), DDHCalTestBeamAlgo.initialize(), DDHCalEndcapAlgo.initialize(), OAE85lParametrizedMagneticField.inTeslaUnchecked(), TopologyWorker.iPow(), FastL1GlobalAlgo.isEMCand(), EgammaHLTEcalIsolation.isolPtSum(), EgammaHLTHcalIsolationDoubleCone.isolPtSum(), JetMatchingAlpgen.jetAlgorithmInput(), reco::TrackProbabilityTagInfo.jetProbability(), JetProbabilityComputer.jetProbability(), JetBProbabilityComputer.jetProbability(), KineParticleFilter.KineParticleFilter(), TFParams.lastShape(), TFParams.lastShape2(), FWCompactVerticalLayout.Layout(), EvolutionECAL.LightCollectionEfficiency(), EvolutionECAL.LightCollectionEfficiencyWeighted(), CSCTFPtMethods.Likelihood(), CSCTFPtMethods.Likelihood2011(), IncompleteGammaComplement.ln(), GflashAntiProtonShowerProfile.loadParameters(), GflashKaonMinusShowerProfile.loadParameters(), GflashPiKShowerProfile.loadParameters(), GflashProtonShowerProfile.loadParameters(), GflashKaonPlusShowerProfile.loadParameters(), DAClusterizerInZ_vect.local_exp(), DAClusterizerInZ_vect.local_exp_list(), FWRPZViewGeometry.makeCaloOutlineRhoZ(), HcalDDDGeometryLoader.makeCell(), PiZeroAnalyzer.makePizero(), ErrorsPropagationAnalyzer.massResolution(), MuScleFitUtils.massResolution(), EMECALShowerParametrization.meanLnAlphaSam(), EMECALShowerParametrization.meanLnTSam(), GflashHadronShowerProfile.medianLateralArm(), res::HelperMET.met(), TFParams.mixShape(), JetPartonNamespace::UserPartonMixture.mixt(), MLP_Sigmoide(), MLP_vSigmoide(), MLP_vSigmoideDeriv(), MultiTrajectoryStateMode.momentumFromModePPhiEta(), MuonResidualsFitter_compute_log_convolution(), MuonResidualsFitter_GaussPowerTails_TF1(), MuonResidualsFitter_integrate_pureGaussian(), MuonResidualsFitter_logGaussPowerTails(), MuonResidualsFitter_powerLawTails_TF1(), MuonResidualsFitter_pureGaussian_TF1(), SimG4HcalHitCluster.my_cosh(), SimG4HcalHitCluster.my_sinh(), pileupCalc.MyErf(), magfieldparam::bcylDetails.myExp(), ElectronTaggerMLP.neuron0x2220f9e0(), ElectronTaggerMLP.neuron0x2220fd10(), ElectronTaggerMLP.neuron0x22210150(), ElectronTaggerMLP.neuron0x22210590(), MuonTaggerMLP.neuron0x67db6a0(), MuonTaggerMLP.neuron0x67db9d0(), MuonTaggerMLP.neuron0x67dbe10(), MuonTaggerMLP.neuron0x67dc250(), MuonTaggerNoIPMLP.neuron0xb50d328(), MuonTaggerNoIPMLP.neuron0xb50d550(), MuonTaggerNoIPMLP.neuron0xb50d810(), MuonTaggerNoIPMLP.neuron0xb50dad0(), MuonTaggerNoIPMLP.neuron0xb50de18(), MuonTaggerNoIPMLP.neuron0xb50e090(), MuonTaggerNoIPMLP.neuron0xb50e350(), MuonTaggerNoIPMLP.neuron0xb50e5c0(), MuonTaggerNoIPMLP.neuron0xb50e6c8(), MuonTaggerNoIPMLP.neuron0xb50e968(), MuonTaggerNoIPMLP.neuron0xb50ec28(), MuonTaggerNoIPMLP.neuron0xb50eee8(), MuonTaggerNoIPMLP.neuron0xb50f1a8(), MuonTaggerNoIPMLP.neuron0xb50f4f0(), MuonTaggerNoIPMLP.neuron0xb50fae8(), MuonTaggerNoIPMLP.neuron0xb50fda8(), MuonTaggerNoIPMLP.neuron0xb510310(), MuonTaggerNoIPMLP.neuron0xb510650(), MuonTaggerNoIPMLP.neuron0xb510a58(), MuonTaggerNoIPMLP.neuron0xb510f10(), PFAlgo.nSigmaHCAL(), oldComputeElectrons(), ESRecHitSimAlgo.oldEvalAmplitude(), funct::ExpStruct< T >.operator()(), funct::Exponential.operator()(), function::SmoothStepFunction.operator()(), ScalingExponential.operator()(), reco::parser::exp_f.operator()(), fftjetcms::EtaAndPtDependentPeakSelector.operator()(), ESShape.operator()(), fftjetcms::EtaAndPtLookupPeakSelector.operator()(), backgroundFunctionType2.operator()(), backgroundFunctionType4.operator()(), backgroundFunctionType6.operator()(), backgroundFunctionType7.operator()(), backgroundFunctionType8.operator()(), backgroundFunctionType9.operator()(), backgroundFunctionType10.operator()(), backgroundFunctionType11.operator()(), GflashEMShowerProfile.parameterization(), BSpdfsFcn.PDFGauss_d(), BSpdfsFcn.PDFGauss_d_resolution(), BSpdfsFcn.PDFGauss_z(), ChargeDividerFP420.PeakShape(), EcalUncalibRecHitFixedAlphaBetaAlgo< C >.PerformAnalyticFit(), L1GctJetFinderParams.pfCorrect(), res::HelperMuon.phi(), res::HelperElectron.phi(), res::HelperJet.phi(), res::HelperMET.phi(), DeterministicAnnealing.phi(), GeometricAnnealing.phi(), EMECALShowerParametrization.pHom(), TopologyWorker.planes_sphe(), TopologyWorker.planes_sphe_wei(), PlotOccupancyMap(), PlotOccupancyMapPhase2(), PlotOnTrackOccupancyPhase2(), BremsstrahlungSimulator.poisson(), reweight::PoissonMeanShifter.PoissonMeanShifter(), ElectronSqPtTkIsolationProducer.produce(), edm::FlatRandomOneOverPtGunProducer.produce(), edm::FlatRandomEGunProducer.produce(), edm::FlatRandomPtGunProducer.produce(), edm::ExpoRandomPtGunProducer.produce(), edm::MultiParticleInConeGunProducer.produce(), EcalDigiSelector.produce(), TtSemiLepHitFitProducer< LeptonCollection >.produce(), PreshowerClusterShapeProducer.produce(), PiZeroDiscriminatorProducer.produce(), EgammaHLTEcalRecIsolationProducer.produce(), EgammaEcalRecHitIsolationProducer.produce(), HLTL1MuonSelector.produce(), L2MuonSeedGenerator.produce(), FastPrimaryVertexWithWeightsProducer.produce(), MuonSimHitProducer.produce(), EMECALShowerParametrization.pSam(), EcalUncalibRecHitRecAnalFitAlgo< EBDataFrame >.pulseShapeFunction(), EcalUncalibRecHitFixedAlphaBetaAlgo< C >.pulseShapeFunction(), TFParams.pulseShapepj(), TFParams.pulseShapepj2(), DAClusterizerInZ.purge(), RPCpg.rate(), EMECALShowerParametrization.rCSam(), HcalSimpleRecAlgoImpl.recoHFTime(), HITRegionalPixelSeedGenerator.regions(), PFCandConnector.rescaleFactor(), EvolutionECAL.ResolutionConstantTermEM50GeV(), PFJetFilter.response(), CutBasedElectronID.robustSelection(), EMECALShowerParametrization.rTHom(), EMECALShowerParametrization.rTSam(), scaleFunctionType9< T >.scale(), scaleToEt(), BSFitter.scanPDF(), HDRShower.setFuncParam(), HcalQie.shape(), CSCGasCollisions.simulate(), smearFunctionType1.smear(), smearFunctionType2.smear(), smearFunctionType3.smear(), smearFunctionType4.smear(), smearFunctionType5.smear(), DAClusterizerInZ.split(), SingleParticleEvent.subtractEloss(), PrimaryVertexAnalyzer4PU.supf(), res::HelperElectron.theta(), res::HelperMuon.theta(), res::HelperJet.theta(), kinem.theta(), theta_from_eta(), fireworks.thetaBins(), HDRShower.thetaFunction(), PreshowerLayer2Properties.thickness(), PreshowerLayer1Properties.thickness(), HcalNumberingFromDDD.tileHB(), HcalNumberingFromDDD.tileHE(), HcalTestAnalysis.timeOfFlight(), HcalTB04Analysis.timeOfFlight(), spr.timeOfFlight(), GflashHadronShowerProfile.twoGammaProfile(), HcalNumberingFromDDD.unitID(), logintpack.unpack8log(), DAClusterizerInZ.update(), IncompleteGammaComplement.value(), pftools::Utils.VectorEPRtoXYZ(), DAClusterizerInZ.vertices(), reco::isodeposit::ThresholdVetoFromTransverse.veto(), reco::isodeposit::AbsThresholdVetoFromTransverse.veto(), VVIObj.VVIObj(), sistripvvi::VVIObj.VVIObj(), RPCConst.vxMuRate(), VertexWeighter.weight(), edm::Lumi3DReWeighting.weight3D_init(), reweight::LumiReWeighting.weight3D_init(), ECALRecHitAnalyzer.WriteECALRecHits(), and HcalSiPMHitResponse.Y11TimePDF().

create_public_lumi_plots.facecolor = color_line_peak,

Definition at line 1103 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.fig = plt.figure()

Definition at line 1078 of file create_public_lumi_plots.py.

create_public_lumi_plots.file_suffix = color_scheme.file_suffix

Definition at line 1076 of file create_public_lumi_plots.py.

create_public_lumi_plots.fontproperties = FONT_PROPS_SUPTITLE)

Definition at line 1118 of file create_public_lumi_plots.py.

int create_public_lumi_plots.head_room = 2

Definition at line 1851 of file create_public_lumi_plots.py.

string create_public_lumi_plots.help = "Ignore all cached lumiCalc results "

Definition at line 506 of file create_public_lumi_plots.py.

string create_public_lumi_plots.helper_str = ""

Definition at line 943 of file create_public_lumi_plots.py.

string create_public_lumi_plots.histtype = "stepfilled"

Definition at line 1101 of file create_public_lumi_plots.py.

Referenced by getAnyHisto(), getAnyIMG(), and htmlAnyHisto().

create_public_lumi_plots.ignore_cache = options.ignore_cache

Definition at line 515 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.in_file = open(cache_file_path)

Definition at line 868 of file create_public_lumi_plots.py.

Referenced by SiPixelDigitizerAlgorithm.initCal(), SiPixelFakeTemplateDBObjectESSource.produce(), SiPixelFakeGenErrorDBObjectESSource.produce(), SiPixelGenError.pushfile(), SiPixelTemplate2D.pushfile(), SiStripTemplate.pushfile(), and SiPixelTemplate.pushfile().

tuple create_public_lumi_plots.is_log = (type == "log")

Definition at line 1083 of file create_public_lumi_plots.py.

create_public_lumi_plots.json_file_name = cfg_parser.get("general", "json_file")

Definition at line 616 of file create_public_lumi_plots.py.

list create_public_lumi_plots.KNOWN_ACCEL_MODES
Initial value:
1 = ["PROTPHYS", "IONPHYS", "PAPHYS",
2  "2013_amode_bug_workaround"]

Definition at line 63 of file create_public_lumi_plots.py.

string create_public_lumi_plots.label = "Max. inst. lumi.: %.2f %s"

Definition at line 1104 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.last_day_from_cache = min(today - datetime.timedelta(days=2), date_end)

Definition at line 756 of file create_public_lumi_plots.py.

int create_public_lumi_plots.LEAD_SCALE_FACTOR = 82

Definition at line 65 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.leg
Initial value:
1 = ax.legend(loc="upper left", bbox_to_anchor=(0.125, 0., 1., 1.01),
2  frameon=False)

Definition at line 1172 of file create_public_lumi_plots.py.

Referenced by DTNoiseComputation.endJob(), CastorHardcodeGeometryLoader.makeCell(), SiStripHitEffFromCalibTree.makeSummary(), MergeRootfile(), cond::PayLoadInspector< DataT >.plot(), plotMaker(), PlotPixelMultVtxPos(), printSOF(), SeedMultiplicityComparisonPlot(), and cond::PayLoadInspector< DataT >.trend_plot().

tuple create_public_lumi_plots.lines = in_file.readlines()

Definition at line 869 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.lines_ori = open(cache_file_tmp)

Definition at line 844 of file create_public_lumi_plots.py.

list create_public_lumi_plots.lines_to_be_kept = []

Definition at line 843 of file create_public_lumi_plots.py.

string create_public_lumi_plots.linestyle = "none"

Definition at line 1802 of file create_public_lumi_plots.py.

create_public_lumi_plots.log = log_setting,

Definition at line 1102 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.log_setting = False

Definition at line 1084 of file create_public_lumi_plots.py.

string create_public_lumi_plots.log_suffix = ""

Definition at line 1131 of file create_public_lumi_plots.py.

create_public_lumi_plots.logo_name = color_scheme.logo_name

Definition at line 1075 of file create_public_lumi_plots.py.

list create_public_lumi_plots.lumi_data = lumi_data_by_day_per_year[year]

Definition at line 1016 of file create_public_lumi_plots.py.

dictionary create_public_lumi_plots.lumi_data_by_day = {}

Definition at line 862 of file create_public_lumi_plots.py.

dictionary create_public_lumi_plots.lumi_data_by_day_per_year = {}

Definition at line 923 of file create_public_lumi_plots.py.

dictionary create_public_lumi_plots.lumi_data_by_week = {}

Definition at line 893 of file create_public_lumi_plots.py.

dictionary create_public_lumi_plots.lumi_data_by_week_per_year = {}

Definition at line 905 of file create_public_lumi_plots.py.

dictionary create_public_lumi_plots.lumi_data_by_year = {}

Definition at line 915 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.lumi_data_day = LumiDataBlock()

Definition at line 866 of file create_public_lumi_plots.py.

string create_public_lumi_plots.lumicalc_cmd = "%s %s"

Definition at line 806 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.lumicalc_flags = "%s --without-checkforupdate "

Definition at line 787 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.lumicalc_flags_from_cfg = cfg_parser.get("general", "lumicalc_flags")

Definition at line 544 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.lumicalc_script = cfg_parser.get("general", "lumicalc_script")

Definition at line 543 of file create_public_lumi_plots.py.

string create_public_lumi_plots.marker = "."

Definition at line 1801 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.max_del = max(weights_del)

Definition at line 1155 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.max_inst = max(weights_del_inst)

Definition at line 1096 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.max_rec = max(weights_rec)

Definition at line 1156 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.min_del = min(weights_del_for_cum)

Definition at line 1206 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.min_val = min(weights_del_inst)

Definition at line 1086 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.newfile = open(cache_file_path, "w")

Definition at line 848 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.num_cols = None

Definition at line 1824 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.num_days = (date_end - date_begin)

Definition at line 735 of file create_public_lumi_plots.py.

int create_public_lumi_plots.NUM_SEC_IN_LS = 2

Definition at line 61 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.num_weeks = week_hi.isocalendar()

Definition at line 1314 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.oracle_connection_string = cfg_parser.get("general", "oracle_connection")

Definition at line 611 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.output_0 = copy.deepcopy(output)

Definition at line 816 of file create_public_lumi_plots.py.

list create_public_lumi_plots.particle_type_str = particle_type_strings[accel_mode]

Definition at line 644 of file create_public_lumi_plots.py.

dictionary create_public_lumi_plots.particle_type_strings
Initial value:
1 = {
2  "PROTPHYS" : "pp",
3  "IONPHYS" : "PbPb",
4  "PAPHYS" : "pPb"
5  }

Definition at line 639 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.path_name = CacheFilePath(cache_file_dir)

Definition at line 706 of file create_public_lumi_plots.py.

Referenced by TriggerValidator.beginRun(), SiPixelActionExecutor.fillGrandBarrelSummaryHistos(), SiPixelActionExecutor.fillGrandEndcapSummaryHistos(), SiStripInformationExtractor.plotHistosFromLayout(), TrackingActionExecutor.printShiftHistoParameters(), and SiStripActionExecutor.printShiftHistoParameters().

int create_public_lumi_plots.scale_factor_2010 = 10

Definition at line 1733 of file create_public_lumi_plots.py.

int create_public_lumi_plots.sep_line = 50

Definition at line 934 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.str_begin = None

Definition at line 1055 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.str_begin_ultimate = time_begin_ultimate.strftime(DATE_FMT_STR_OUT)

Definition at line 1753 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.str_end = None

Definition at line 1056 of file create_public_lumi_plots.py.

Referenced by SiStripMonitorQuality.analyze().

tuple create_public_lumi_plots.time_begin
Initial value:
1 = datetime.datetime.combine(lumi_data.time_begin(),
2  datetime.time())

Definition at line 1049 of file create_public_lumi_plots.py.

Referenced by PlotAllYears().

list create_public_lumi_plots.time_begin_ultimate = lumi_data_by_day_per_year[years[0]]

Definition at line 1752 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.time_end
Initial value:
1 = datetime.datetime.combine(lumi_data.time_end(),
2  datetime.time())

Definition at line 1052 of file create_public_lumi_plots.py.

list create_public_lumi_plots.times = [matplotlib.dates.date2num(i) for i in times_tmp]

Definition at line 1033 of file create_public_lumi_plots.py.

Referenced by ZdcTBAnalyzer.analyze(), edm.fillModuleInPathTimingSummary(), edm.fillPathTimingSummary(), and edm.fillWorkerTimingSummaryAux().

list create_public_lumi_plots.times_tmp = [AtMidnight(i) for i in lumi_data.times()]

Definition at line 1032 of file create_public_lumi_plots.py.

list create_public_lumi_plots.tmp = cfg_parser.get("general", "date_begin")

Definition at line 586 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.tmp_leg
Initial value:
1 = ax.legend(loc="upper left",
2  bbox_to_anchor=(0.025, 0., 1., .97),
3  frameon=False)

Definition at line 1107 of file create_public_lumi_plots.py.

string create_public_lumi_plots.tmp_str = " - (no data, presumably no lumi either)"

Definition at line 940 of file create_public_lumi_plots.py.

int create_public_lumi_plots.tmp_x = .09

Definition at line 1826 of file create_public_lumi_plots.py.

Referenced by PixelCPETemplateReco.localPosition(), and FsmwModeFinder3d.operator()().

int create_public_lumi_plots.tmp_y = .97

Definition at line 1827 of file create_public_lumi_plots.py.

Referenced by PixelCPETemplateReco.localPosition(), and FsmwModeFinder3d.operator()().

tuple create_public_lumi_plots.today = datetime.datetime.utcnow()

Definition at line 593 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.tot_cert = sum(weights_cert_for_cum)

Definition at line 1209 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.tot_del = sum(weights_del_for_cum)

Definition at line 1207 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.tot_rec = sum(weights_rec_for_cum)

Definition at line 1208 of file create_public_lumi_plots.py.

int create_public_lumi_plots.transform = 15

Definition at line 1266 of file create_public_lumi_plots.py.

Referenced by AlignableDet.alignments(), AlignableDetUnit.alignments(), AlignableBeamSpot.alignments(), AlphaT.AlphaT(), SiStripRecHitsValid.analyze(), edm::ContainerMask< T >.applyOrTo(), edm::ScheduleInfo.availableModuleLabels(), edm::StreamSchedule.availablePaths(), reco::helper::JetIDHelper.classifyJetComponents(), reco::helper::JetIDHelper.classifyJetTowers(), edmNew.copyDetSetRange(), ConstrainedTreeBuilder.covarianceMatrix(), ConstrainedTreeBuilderT.covarianceMatrix(), FastCircle.createCircleParameters(), SiStripLorentzAngleGenerator.createObject(), align.createPoints(), FWDetailViewManager.detailViewsFor(), RecoTauMVATransform.discriminate(), FWDetailViewManager.findViewersFor(), FWEveViewManager.FWEveViewManager(), EcalFedMap.getFedFromSlice(), edm::DetSetVector< T >.getIds(), CSCStripElectronicsSim.getKeyStripsFromMC(), reco::TaggingVariableList.getList(), edm::ParameterSet.getParameterNames(), SeedingLayerSetsHits.hits(), pat::JetCorrFactors.jecFlavor(), ora::MappingRules.nameForSchema(), alpha_T.operator()(), ThirdHitRZPrediction< Propagator >.operator()(), reco::tau::RecoTauDiscriminantInvariantWidth.operator()(), CSCStripData.operator*=(), gen::JetMatchingMGFastJet.parseParameter(), gen::JetMatchingMadgraph.parseParameter(), GaussianSumUtilities1D.pdfComponents(), PedeSteererWeakModeConstraints.PedeSteererWeakModeConstraints(), SiStripProcessedRawDigiProducer.pr_process(), pat::MatcherByPulls< T >.produce(), EcalTrivialConditionRetriever.produceEcalAlignmentEB(), EcalTrivialConditionRetriever.produceEcalAlignmentEE(), EcalTrivialConditionRetriever.produceEcalAlignmentES(), edm::eventsetup::EventSetupRecordProvider.proxyProviderDescriptions(), QualityCutsAnalyzer.QualityCutsAnalyzer(), l1t::LUT.read(), RecoTauMVATransform.RecoTauMVATransform(), LMFColoredTable.setColor(), ODSRPConfig.setParameters(), gen::Pythia6Service.setSLHAFromHeader(), Herwig6Hadronizer.setSLHAFromHeader(), LMFColoredTable.setSystem(), LMFPnPrimDat.setSystem(), TrackerGeometryCompare.surveyToTracker(), TauDiscriminationProducerBase< TauType, TauDiscriminator >.TauDiscriminationProducerBase(), TrackerStablePhiSort(), TrackTransformer.transform(), upcaseString(), TrackingMaterialProducer.update(), progressbar.FormatLabel.update(), and sistrip::FEDEmulator.zeroSuppress().

tuple create_public_lumi_plots.units = GetUnits(years[-1], accel_mode, "cum_day")

Definition at line 936 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.use_cache = (not ignore_cache)

Definition at line 766 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.use_oracle = (len(oracle_connection_string) != 0)

Definition at line 612 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.verbose = cfg_parser.getboolean("general", "verbose")

Definition at line 540 of file create_public_lumi_plots.py.

string create_public_lumi_plots.verticalalignment = "center"

Definition at line 1265 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.week = day_cur.isocalendar()

Definition at line 742 of file create_public_lumi_plots.py.

Referenced by popcon::EcalLaser_weekly_Linearization.getNewObjects().

tuple create_public_lumi_plots.week_begin = date_begin.isocalendar()

Definition at line 723 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.week_end = date_end.isocalendar()

Definition at line 724 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.week_hi = AtMidWeek(lumi_data.time_end())

Definition at line 1308 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.week_lo = AtMidWeek(lumi_data.time_begin())

Definition at line 1306 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.weeks = []

Definition at line 738 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.weights_cert_for_cum = lumi_data.lum_cert(units)

Definition at line 1042 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.weights_del = lumi_data.lum_del(units)

Definition at line 1036 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.weights_del_for_cum = lumi_data.lum_del(units)

Definition at line 1040 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.weights_del_inst = lumi_data.lum_inst_max(units)

Definition at line 1045 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.weights_inst = lumi_data.lum_inst_max(units)

Definition at line 1764 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.weights_rec = lumi_data.lum_rec(units)

Definition at line 1037 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.weights_rec_for_cum = lumi_data.lum_rec(units)

Definition at line 1041 of file create_public_lumi_plots.py.

list create_public_lumi_plots.weights_tmp = None

Definition at line 1793 of file create_public_lumi_plots.py.

int create_public_lumi_plots.width = 0

Definition at line 1008 of file create_public_lumi_plots.py.

Referenced by AlignableDet.addAlignmentPositionErrorFromRotation(), AlignableDetUnit.addAlignmentPositionErrorFromRotation(), CustomParticleFactory.addCustomParticle(), OptoScanAlgorithm.analyse(), MuonGeometrySVGTemplate.analyze(), Vispa.Gui.ZoomableScrollArea.ZoomableScrollArea.autosizeScrollWidget(), MTVHistoProducerAlgo.BinLogX(), MuonTrackValidatorBase.BinLogX(), PixelTopologyBuilder.build(), RPCGeometryBuilderFromCondDB.build(), FWTrackResidualDetailView.build(), TrackerMap.build(), DTGeometryBuilderFromDDD.buildChamber(), DTGeometryBuilderFromCondDB.buildChamber(), RPCGeometryBuilderFromDDD.buildGeometry(), RPCGeometryParsFromDD.buildGeometry(), DTGeometryBuilderFromDDD.buildLayer(), DTGeometryBuilderFromCondDB.buildLayer(), DTGeometryBuilderFromDDD.buildSuperLayer(), DTGeometryBuilderFromCondDB.buildSuperLayer(), CastorPedestalAnalysis.CastorPedVal(), Vispa.Plugins.EdmBrowser.EdmBrowserTabController.EdmBrowserTabController.centerViewMenuButtonClicked(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController.centerViewMenuButtonClicked(), edm::DocFormatHelper.commentWidth(), BoundSpan.compute(), ForwardDiskSectorBuilderFromDet.computeBounds(), ForwardRingDiskBuilderFromDet.computeBounds(), TFParams.computePulseWidth(), TShapeAnalysis.computeShape(), ForwardDetLayer.computeSurface(), DDHCalBarrelAlgo.constructInsideSector(), FWTGeoRecoGeometryESProducer.createShape(), DreamSD.crystalWidth(), OptOMirror.detailedDeviatesLightRay(), OptOPlateSplitter.detailedTraversesLightRay(), OptOMirror.detailedTraversesLightRay(), OptOSensor2D.detailedTraversesLightRay(), TMatacq.doFit(), TrackerMap.drawPalette(), PrintGeomInfoAction.dumpPV(), PrintGeomMatInfo.dumpPV(), DDTIBLayerAlgo_MTCC.execute(), DDTIBLayerAlgo.execute(), TrackerValidationVariables.fillHitQuantities(), SiStripMonitorTrack.fillMEs(), SiStripMonitorTrack.fillModMEs(), EcalCoder.findPedestal(), BeamMonitor.FitAndFill(), FWGUIManager.FWGUIManager(), EcalRecHit.getMasked(), SiStripGainFromData.getPeakOfLandau(), OpticalObject.getPlate(), OptOCubeSplitter.getUpperPlate(), CSCValidation.getWidth(), HcalPedestalAnalysis.HcalPedVal(), reco::MustacheKernel.inDynamicDPhiWindow(), DreamSD.initMap(), CustomParticleFactory.loadCustomParticles(), DDDividedPolyconeRho.makeDDLogicalPart(), DDDividedPolyhedraRho.makeDDLogicalPart(), CastorDbHardcode.makeGain(), CastorDbHardcode.makePedestal(), CastorDbHardcode.makePedestalWidth(), FWTableManagerBase.maxWidthForColumns(), SiStripMonitorMuonHLT.Normalizer(), MuonResiduals5DOFFitter.plot(), MuonResiduals6DOFFitter.plot(), MuonResiduals6DOFrphiFitter.plot(), TwoBowedSurfacesDeformation.positionCorrection(), RecoTauPiZeroProducer.print(), PFRecoTauChargedHadronProducer.print(), TrackerMap.printall(), SiStripClusterToDigiProducer.process(), ShallowClustersProducer.produce(), CastorClusterProducer.produce(), Vispa.Views.PropertyView.PropertyView.resizeEvent(), CSGAction.resizeMenuEntry(), Vispa.Views.PropertyView.PropertyView.sectionResized(), edm::DocFormatHelper.setAtLeast1(), edm::DocFormatHelper.setAtLeast2(), edm::DocFormatHelper.setAtLeast3(), EcalRecHit.setMasked(), SiStripHistoPlotter.setNewCondDBPlot(), SiStripHistoPlotter.setNewPlot(), SiPixelHistoPlotter.setNewPlot(), dqmTnP::VoigtianPlusExponentialFitter.setup(), FWGUIManager.setWindowInfoFrom(), Vispa.Gui.SimpleDraggableTreeWidget.SimpleDraggableTreeWidget.startDrag(), Vispa.Plugins.Browser.BrowserTabController.BrowserTabController.treeViewMenuButtonClicked(), Vispa.Plugins.ConfigEditor.CodeTableView.CodeTableView.updateContent(), ValidateGeometry.validateDTLayerGeometry(), dqmTnP::VoigtianPlusExponentialFitter.VoigtianPlusExponentialFitter(), Vispa.Gui.ZoomableScrollArea.ZoomableScrollArea.wheelEvent(), and Vispa.Main.TabController.TabController.zoomAll().

tuple create_public_lumi_plots.xy = (times[-1], max(weights_tmp))

Definition at line 1810 of file create_public_lumi_plots.py.

Referenced by MuonCSCChamberResidual.addResidual(), CSCPairResidualsConstraint.calculatePhi(), CaloDetIdAssociator.crossedElement(), EcalTBMCInfoProducer.EcalTBMCInfoProducer(), MuonGeometryArrange.fillTree(), NtupleManager.GetGlobalAngles(), MEEBGeom.getGraphBoundary(), HLTScalersClient.getSlope_(), CachedTrajectory.getWideTrajectory(), TrackerRecHit.largerError(), CSCRadialStripTopology.localError(), TrackerRecHit.localError(), GSRecHitMatcher.match(), SiStripRecHitMatcher.match(), DDRotOutput.operator()(), GlobalErrorBase< double, ErrorMatrixTag >.phierr(), CaloGeometryDBEP< T, U >.produceAligned(), gen::PtYDistributor.PtYDistributor(), CocoaAnalyzer.ReadXMLFile(), GlobalErrorBase< double, ErrorMatrixTag >.rerr(), PixelFitterByConformalMappingAndLine.run(), ROOT::Math::Transform3DPJ.SetComponents(), and Basic3DVector< align::Scalar >.xy().

string create_public_lumi_plots.xycoords = "data"

Definition at line 1812 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.xytext = (5., -2.)

Definition at line 1811 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.year = day_cur.isocalendar()

Definition at line 741 of file create_public_lumi_plots.py.

Referenced by condbon.cdbon_write(), RPCEMap.convert(), DateHandler.dateToTm(), BeamMonitor.formatFitTime(), CSCTFConfigOnlineProd.newObject(), RunSummaryRead.readData(), L1TriggerScalerRead.readData(), and SiStripDetVOffBuilder.readLastValueFromFile().

tuple create_public_lumi_plots.year_begin = date_begin.isocalendar()

Definition at line 725 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.year_end = date_end.isocalendar()

Definition at line 726 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.years = range(year_begin, year_end + 1)

Definition at line 737 of file create_public_lumi_plots.py.

int create_public_lumi_plots.zoom = .97

Definition at line 1849 of file create_public_lumi_plots.py.