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 468 of file create_public_lumi_plots.py.

469 def checkCertification(run_number, ls):
470  """Check if this run and LS are certified as good and return a boolean parameter."""
471  try:
472  ls_ranges = certification_data[run_number]
473  for ranges in ls_ranges:
474  if (ls >= ranges[0]) and (ls <= ranges[1]):
475  return True
476  except KeyError:
477  return False
478 
479  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 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
T min(T a, T b)
Definition: MathUtil.h:58
def create_public_lumi_plots.loadCertificationJSON (   json_file_name)

Definition at line 482 of file create_public_lumi_plots.py.

References join().

483 def loadCertificationJSON(json_file_name):
484 
485  full_file = open(json_file_name, "r")
486  full_file_content = ["".join(l) for l in full_file.readlines()]
487  full_object = cjson.decode(full_file_content[0])
488 
489  # Now turn this into a dictionary for easier handling.
490  tmp = full_object.keys()
491  tmp = [int(i) for i in tmp]
492  run_list = sorted(tmp)
493  certification_data = {}
494  for run in run_list:
495  ls_ranges = full_object.get(str(run), None)
496  certification_data[run] = ls_ranges
497 
498  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 1555 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().

1556  def PlotAllYears(lumi_data_by_day_per_year, mode):
1557  """Mode 1: years side-by-side, mode 2: years overlaid."""
1558 
1559  units = GetUnits(years[-1], accel_mode, "cum_year")
1560 
1561  scale_factor_2010 = 100.
1562 
1563  # Loop over all color schemes and plot.
1564  for color_scheme_name in color_scheme_names:
1565 
1566  print " color scheme '%s'" % color_scheme_name
1567 
1568  color_scheme = ColorScheme(color_scheme_name)
1569  color_by_year = color_scheme.color_by_year
1570  logo_name = color_scheme.logo_name
1571  file_suffix = color_scheme.file_suffix
1572 
1573  for type in ["lin", "log"]:
1574  is_log = (type == "log")
1575 
1576  if mode == 1:
1577  aspect_ratio = matplotlib.figure.figaspect(1. / 2.5)
1578  fig = plt.figure(figsize=aspect_ratio)
1579  else:
1580  fig = plt.figure()
1581  ax = fig.add_subplot(111)
1582 
1583  time_begin_ultimate = lumi_data_by_day_per_year[years[0]].time_begin()
1584  str_begin_ultimate = time_begin_ultimate.strftime(DATE_FMT_STR_OUT)
1585  for (year_index, year) in enumerate(years):
1586 
1587  lumi_data = lumi_data_by_day_per_year[year]
1588  lumi_data.sort()
1589  times_tmp = [AtMidnight(i) for i in lumi_data.times()]
1590  # For the plots showing all years overlaid, shift
1591  # all but the first year forward.
1592  # NOTE: Years list is supposed to be sorted.
1593  if mode == 2:
1594  if year_index > 0:
1595  for y in years[:year_index]:
1596  num_days = NumDaysInYear(y)
1597  time_shift = datetime.timedelta(days=num_days)
1598  times_tmp = [(i - time_shift) \
1599  for i in times_tmp]
1600  times = [matplotlib.dates.date2num(i) for i in times_tmp]
1601  # DEBUG DEBUG DEBUG
1602  for i in xrange(len(times) - 1):
1603  assert times[i] < times[i + 1]
1604  # DEBUG DEBUG DEBUG end
1605  weights_del = lumi_data.lum_del(units)
1606  weights_del_cum = [0.] * len(weights_del)
1607  tot_del = 0.
1608  for (i, val) in enumerate(weights_del):
1609  tot_del += val
1610  weights_del_cum[i] = tot_del
1611  if not beam_energy_from_cfg:
1612  beam_energy = beam_energy_defaults[accel_mode][year]
1613  cms_energy = 2. * beam_energy
1614  cms_energy_str = "???"
1615  if accel_mode == "PROTPHYS":
1616  width = 0
1617  if year == 2013:
1618  width = 2
1619  cms_energy_str = "%.*f TeV" % \
1620  (width, 1.e-3 * cms_energy)
1621  elif accel_mode in ["IONPHYS", "PAPHYS"]:
1622  cms_energy_str = "%.2f TeV/nucleon" % \
1623  (1.e-3 * GetEnergyPerNucleonScaleFactor(accel_mode) * cms_energy)
1624 
1625  # NOTE: Special case for 2010.
1626  label = None
1627  if year == 2010:
1628  label = r"%d, %s, %.1f %s" % \
1629  (year, cms_energy_str,
1630  1.e3 * tot_del,
1631  LatexifyUnits("pb^{-1}"))
1632  else:
1633  label = r"%d, %s, %.1f %s" % \
1634  (year, cms_energy_str, tot_del,
1635  LatexifyUnits(units))
1636 
1637  # NOTE: Special case for 2010
1638  weights_tmp = None
1639  if year == 2010:
1640  weights_tmp = [scale_factor_2010 * i \
1641  for i in weights_del_cum]
1642  else:
1643  weights_tmp = weights_del_cum
1644  ax.plot(times, weights_tmp,
1645  color=color_by_year[year],
1646  marker="none", linestyle="solid",
1647  linewidth=4,
1648  label=label)
1649  if is_log:
1650  ax.set_yscale("log")
1651 
1652  # NOTE: Special case for 2010.
1653  if year == 2010:
1654  ax.annotate(r"$\times$ %.0f" % scale_factor_2010,
1655  xy=(times[-1], weights_tmp[-1]),
1656  xytext=(5., -2.),
1657  xycoords="data", textcoords="offset points")
1658 
1659  # BUG BUG BUG
1660  # Needs work...
1661  time_begin = lumi_data.time_begin()
1662  time_end = lumi_data.time_end()
1663  str_begin = time_begin.strftime(DATE_FMT_STR_OUT)
1664  str_end = time_end.strftime(DATE_FMT_STR_OUT)
1665  if mode == 1:
1666  time_begin = datetime.datetime(years[0], 1, 1, 0, 0, 0)
1667  time_end = datetime.datetime(years[-1], 12, 31, 23, 59,59)
1668  else:
1669  time_begin = datetime.datetime(years[0], 1, 1, 0, 0, 0)
1670  time_end = datetime.datetime(years[0], 12, 31, 23, 59,59)
1671  # BUG BUG BUG end
1672 
1673  num_cols = None
1674  if mode == 1:
1675  num_cols = len(years)
1676  tmp_x = 0.095
1677  tmp_y = .95
1678  else:
1679  num_cols = 1
1680  tmp_x = 0.175
1681  tmp_y = 1.01
1682  leg = ax.legend(loc="upper left", bbox_to_anchor=(tmp_x, 0., 1., tmp_y),
1683  frameon=False, ncol=num_cols)
1684  for t in leg.get_texts():
1685  t.set_font_properties(FONT_PROPS_TICK_LABEL)
1686 
1687  # Set titles and labels.
1688  fig.suptitle(r"CMS Integrated Luminosity, %s" % particle_type_str,
1689  fontproperties=FONT_PROPS_SUPTITLE)
1690  ax.set_title("Data included from %s to %s UTC \n" % \
1691 # (str_begin, str_end),
1692  (str_begin_ultimate, str_end),
1693  fontproperties=FONT_PROPS_TITLE)
1694  ax.set_xlabel(r"Date (UTC)", fontproperties=FONT_PROPS_AX_TITLE)
1695  ax.set_ylabel(r"Total Integrated Luminosity (%s)" % \
1696  LatexifyUnits(units),
1697  fontproperties=FONT_PROPS_AX_TITLE)
1698 
1699  # Add the logo.
1700  zoom = 1.7
1701  if mode == 1:
1702  zoom = .95
1703  AddLogo(logo_name, ax, zoom=zoom)
1704  extra_head_room = 0
1705  if is_log:
1706  if mode == 1:
1707  extra_head_room = 1
1708  elif mode == 2:
1709  extra_head_room = 2
1710 # TweakPlot(fig, ax, (time_begin, time_end),
1711  TweakPlot(fig, ax, (time_begin_ultimate, time_end),
1712  add_extra_head_room=extra_head_room)
1713 
1714  log_suffix = ""
1715  if is_log:
1716  log_suffix = "_log"
1717  SavePlot(fig, "int_lumi_cumulative_%s_%d%s%s" % \
1718  (particle_type_str.lower(), mode,
1719  log_suffix, file_suffix))
def create_public_lumi_plots.TweakPlot (   fig,
  ax,
  time_range,
  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  (time_begin, time_end) = time_range
426  ax.relim()
427  ax.autoscale_view(False, True, True)
428  for label in ax.get_xticklabels():
429  label.set_ha("right")
430  label.set_rotation(30.)
431 
432  # Bit of magic here: increase vertical scale by one tick to make
433  # room for the legend.
434  if add_extra_head_room:
435  y_ticks = ax.get_yticks()
436  (y_min, y_max) = ax.get_ylim()
437  is_log = (ax.get_yscale() == "log")
438  y_max_new = y_max
439  if is_log:
440  tmp = y_ticks[-1] / y_ticks[-2]
441  y_max_new = y_max * math.pow(tmp, add_extra_head_room)
442  else:
443  tmp = y_ticks[-1] - y_ticks[-2]
444  y_max_new = y_max + add_extra_head_room * tmp
445  ax.set_ylim(y_min, y_max_new)
446 
447  # Add a second vertical axis on the right-hand side.
448  ax_sec = ax.twinx()
449  ax_sec.set_ylim(ax.get_ylim())
450  ax_sec.set_yscale(ax.get_yscale())
451 
452  for ax_tmp in fig.axes:
453  for sub_ax in [ax_tmp.xaxis, ax_tmp.yaxis]:
454  for label in sub_ax.get_ticklabels():
455  label.set_font_properties(FONT_PROPS_TICK_LABEL)
456 
457  ax.set_xlim(time_begin, time_end)
458 
459  locator = GetXLocator(ax)
460  ax.xaxis.set_major_locator(locator)
461  formatter = matplotlib.dates.DateFormatter(DATE_FMT_STR_AXES)
462  ax.xaxis.set_major_formatter(formatter)
463 
464  fig.subplots_adjust(top=.85, bottom=.14, left=.13, right=.91)
465  # End of TweakPlot().

Variable Documentation

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

Definition at line 546 of file create_public_lumi_plots.py.

create_public_lumi_plots.add_extra_head_room = is_log)

Definition at line 1272 of file create_public_lumi_plots.py.

create_public_lumi_plots.amodetag_bug_workaround = False

Definition at line 554 of file create_public_lumi_plots.py.

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

Definition at line 505 of file create_public_lumi_plots.py.

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

Definition at line 1749 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.ax = fig.add_subplot(111)

Definition at line 1092 of file create_public_lumi_plots.py.

Referenced by addWindowInfoTo(), npstat::HistoND< Numeric, Axis >.allBinCenters(), BesselI0(), BesselI1(), 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 563 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 647 of file create_public_lumi_plots.py.

create_public_lumi_plots.beam_energy_from_cfg = None

Definition at line 564 of file create_public_lumi_plots.py.

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

Definition at line 560 of file create_public_lumi_plots.py.

list create_public_lumi_plots.beam_fluctuation = None

Definition at line 576 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 656 of file create_public_lumi_plots.py.

create_public_lumi_plots.beam_fluctuation_from_cfg = None

Definition at line 577 of file create_public_lumi_plots.py.

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

Definition at line 573 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 1030 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 539 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.cache_file_path = CacheFilePath(cache_file_dir, day)

Definition at line 768 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 769 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.certification_data = None

Definition at line 632 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 518 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.cfg_parser = ConfigParser.SafeConfigParser(cfg_defaults)

Definition at line 528 of file create_public_lumi_plots.py.

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

Definition at line 810 of file create_public_lumi_plots.py.

int create_public_lumi_plots.cms_energy = 2

Definition at line 1006 of file create_public_lumi_plots.py.

string create_public_lumi_plots.cms_energy_str = "???"

Definition at line 1007 of file create_public_lumi_plots.py.

list create_public_lumi_plots.color = color_by_year[year]

Definition at line 1801 of file create_public_lumi_plots.py.

Referenced by Vispa.Views.LineDecayView.LineDecayContainer.addDecayLine(), SiStripDetVOffTrendPlotter.analyze(), LaserSorter.analyze(), FWCaloDataHistProxyBuilder.assertCaloDataSlice(), FWHFTowerProxyBuilderBase.assertCaloDataSlice(), FWSecVertexProxyBuilder.build(), FWSecVertexCandidateProxyBuilder.build(), FWTrackHitsDetailView.build(), FWConvTrackHitsDetailView.build(), FWPFPatJetLegoProxyBuilder< T >.build(), FWPFEcalRecHitLegoProxyBuilder.build(), FWPFCandidatesLegoProxyBuilder.build(), FWCaloDataProxyBuilderBase.build(), FWCandidateLegoProxyBuilder.build(), FWTrackResidualDetailView.build(), FWVertexProxyBuilder.build(), FWVertexCandidateProxyBuilder.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 1742 of file create_public_lumi_plots.py.

create_public_lumi_plots.color_fill_cert = color_scheme.color_fill_cert

Definition at line 1070 of file create_public_lumi_plots.py.

create_public_lumi_plots.color_fill_del = color_scheme.color_fill_del

Definition at line 1068 of file create_public_lumi_plots.py.

create_public_lumi_plots.color_fill_peak = color_scheme.color_fill_peak

Definition at line 1071 of file create_public_lumi_plots.py.

create_public_lumi_plots.color_fill_rec = color_scheme.color_fill_rec

Definition at line 1069 of file create_public_lumi_plots.py.

create_public_lumi_plots.color_line_cert = color_scheme.color_line_cert

Definition at line 1074 of file create_public_lumi_plots.py.

create_public_lumi_plots.color_line_del = color_scheme.color_line_del

Definition at line 1072 of file create_public_lumi_plots.py.

create_public_lumi_plots.color_line_peak = color_scheme.color_line_peak

Definition at line 1075 of file create_public_lumi_plots.py.

create_public_lumi_plots.color_line_rec = color_scheme.color_line_rec

Definition at line 1073 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.color_scheme = ColorScheme(color_scheme_name)

Definition at line 1067 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 537 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 536 of file create_public_lumi_plots.py.

list create_public_lumi_plots.config_file_name = args[0]

Definition at line 515 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 588 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 772 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.date_begin_str = day.strftime(DATE_FMT_STR_LUMICALC)

Definition at line 771 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.date_end = None

Definition at line 590 of file create_public_lumi_plots.py.

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

Definition at line 773 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 774 of file create_public_lumi_plots.py.

create_public_lumi_plots.day_cur = date_begin

Definition at line 740 of file create_public_lumi_plots.py.

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

Definition at line 1024 of file create_public_lumi_plots.py.

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

Definition at line 1022 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 737 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 503 of file create_public_lumi_plots.py.

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

Definition at line 831 of file create_public_lumi_plots.py.

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

Definition at line 1088 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(), EvolutionECAL.AgingVPT(), HCALRecHitAnalyzer.analyze(), ESTimingTask.analyze(), EcalPileUpDepMonitor.analyze(), ElectronSeedAnalyzer.analyze(), edm::FlatEGunASCIIWriter.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(), CastorRecHitMonitor.bookHistograms(), BremsstrahlungSimulator.brem(), res::HelperMET.c(), res::HelperElectron.c(), res::HelperMuon.c(), res::HelperJet.c(), l1t.calc_theta_deg(), l1t.calc_theta_rad(), HIPAlignmentAlgorithm.calcAPE(), HLTEcalResonanceFilter.calcPaircluster(), GsfVertexWeightCalculator.calculate(), CSCStripAmpResponse.calculateAmpResponse(), CSCWireElectronicsSim.calculateAmpResponse(), l1t::Stage2Layer2JetAlgorithmFirmwareImp1.calibFit(), l1t::Stage2Layer2JetAlgorithmFirmwareImp1.calibFitErr(), Photon.Photon.calScaledIsoValueExp(), HcalSiPM.cellCharge(), CutBasedElectronID.cicSelection(), NuclearInteractionSimulator.compute(), CastorPulseShapes.computeCastorShape(), TMarkov.computeChain(), VolumeEnergyLossEstimator.computeElectrons(), HcalPulseShapes.computeHFShape(), HcalPulseShapes.computeHPDShape(), HFCherenkov.computeNPE(), HFCherenkov.computeQEff(), TBPositionCalc.computeRotation(), CastorShape.computeShapeCastor(), ZDCShape.computeShapeZDC(), PFClusterEMEnergyCorrector.correctEnergies(), ElectronEnergyCalibrator.correctLinearity(), ZeeKinematicTools.cosThetaElectrons_SC(), ZeeKinematicTools.cosThetaElectrons_TK(), crystalball(), CSCDriftSim.CSCDriftSim(), res::HelperMET.d(), res::HelperMuon.d(), res::HelperElectron.d(), res::HelperJet.d(), EvolutionECAL.DamageProfileEta(), ChargeDividerFP420.DeconvolutionShape(), BTagLikeDeDxDiscriminator.dedx(), 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(), drawMap(), 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::HelperMuon.eta(), res::HelperElectron.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(), HFShowerLibrary.fillHits(), EBShape.fillShape(), EEShape.fillShape(), APDShape.fillShape(), GaussianZBeamSpotFilter.filter(), FWGeometryTableView.filterListCallback(), FWGeometryTableView.filterTextEntryCallback(), spr.findDetIdECAL(), spr.findDetIdHCAL(), reco::PositiveSideGhostTrackFitter.fit(), JetCoreClusterSplitter.fittingSplit(), 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::Pythia6EGun.generateEvent(), gen::Pythia6JetGun.generateEvent(), gen::Pythia6PartonEGun.generateEvent(), gen::Pythia6PartonPtGun.generateEvent(), gen::Pythia6PtGun.generateEvent(), gen::Pythia6PtYDistGun.generateEvent(), BaseNumericalRandomGenerator.generateExp(), gen::Py8JetGun.generatePartonsAndHadronize(), gen::Py8PtGun.generatePartonsAndHadronize(), gen::Py8EGun.generatePartonsAndHadronize(), Generator.Generator(), calib::CalibElectron.getCalibModulesWeights(), L1TMuon::TriggerPrimitive.getCMSGlobalPoint(), HcalDDDSimConstants.getDetEta(), IsolatedPixelTrackCandidateProducer.getDistInCM(), IsolatedPixelTrackCandidateL1TProducer.getDistInCM(), EopTreeWriter.getDistInCM(), IsoTrig.getDistInCM(), ValidationHcalIsoTrackAlCaReco.getDistInCM(), EgammaEcalIsolation.getEcalEtSum(), HLTGenericFilter< T1 >.getEt(), PythiaFilterIsolatedTrack.GetEtaPhiAtEcal(), IsolatedPixelTrackCandidateProducer.GetEtaPhiAtEcal(), IsolatedPixelTrackCandidateL1TProducer.GetEtaPhiAtEcal(), IsoTrig.GetEtaPhiAtEcal(), GBRForest.GetGradBoostClassifier(), HCALResponse.getHCALEnergyResponse(), HFShower.getHits(), HFShowerParam.getHits(), Qjets.GetNextDistance(), CaloCellId.getThetaCell(), HcalDDDRecConstants.getThickActive(), HcalSiPMShape.gexp(), HcalSiPMShape.gexpIndefIntegral(), HcalSiPMShape.gexpIntegral0Inf(), HFGflash.gfParameterization(), HcalTB04Analysis.HcalTB04Analysis(), HcalHFStatusBitFromDigis.hfSetFlagFromDigi(), HcalSiPM.hitCells(), HLTEgammaGenericQuadraticEtaFilter.hltFilter(), HLTEgammaGenericQuadraticFilter.hltFilter(), GflashHadronShowerProfile.hoProfile(), reco::MustacheKernel.inDynamicDPhiWindow(), DDHCalTBZposAlgo.initialize(), DDHCalTestBeamAlgo.initialize(), DDHCalEndcapAlgo.initialize(), TopologyWorker.iPow(), EgammaHLTEcalIsolation.isolPtSum(), EgammaHLTHcalIsolationDoubleCone.isolPtSum(), reco::TrackProbabilityTagInfo.jetProbability(), TemplatedJetProbabilityComputer< Container, Base >.jetProbability(), TemplatedJetBProbabilityComputer< Container, Base >.jetProbability(), KineParticleFilter.KineParticleFilter(), TFParams.lastShape(), TFParams.lastShape2(), FWCompactVerticalLayout.Layout(), EvolutionECAL.LightCollectionEfficiency(), EvolutionECAL.LightCollectionEfficiencyWeighted(), CSCTFPtMethods.Likelihood(), CSCTFPtMethods.Likelihood2011(), IncompleteGammaComplement.ln(), GflashProtonShowerProfile.loadParameters(), GflashAntiProtonShowerProfile.loadParameters(), GflashKaonMinusShowerProfile.loadParameters(), GflashKaonPlusShowerProfile.loadParameters(), GflashPiKShowerProfile.loadParameters(), 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(), 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(), LowPassFilterTiming.operator()(), PhoAnyPFIsoWithEAAndExpoScalingCut.operator()(), PhoAnyPFIsoWithEAAndExpoScalingEBCut.operator()(), 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()(), ListGroups.overlayEtaReferences(), GflashEMShowerProfile.parameterization(), NAStrangeDensity.ParticleNumberDensity(), BSpdfsFcn.PDFGauss_d(), BSpdfsFcn.PDFGauss_d_resolution(), BSpdfsFcn.PDFGauss_z(), ChargeDividerFP420.PeakShape(), EcalUncalibRecHitFixedAlphaBetaAlgo< C >.PerformAnalyticFit(), L1GctJetFinderParams.pfCorrect(), res::HelperElectron.phi(), res::HelperMuon.phi(), res::HelperJet.phi(), res::HelperMET.phi(), GeometricAnnealing.phi(), DeterministicAnnealing.phi(), EMECALShowerParametrization.pHom(), TopologyWorker.planes_sphe(), TopologyWorker.planes_sphe_wei(), BremsstrahlungSimulator.poisson(), reweight::PoissonMeanShifter.PoissonMeanShifter(), HcalDDDSimConstants.printTileHB(), HcalDDDSimConstants.printTileHE(), ElectronSqPtTkIsolationProducer.produce(), edm::FlatRandomOneOverPtGunProducer.produce(), edm::FlatRandomPtGunProducer.produce(), edm::FlatRandomEGunProducer.produce(), edm::ExpoRandomPtGunProducer.produce(), edm::MultiParticleInConeGunProducer.produce(), edm::ExpoRandomPGunProducer.produce(), EcalDigiSelector.produce(), TtSemiLepHitFitProducer< LeptonCollection >.produce(), PreshowerClusterShapeProducer.produce(), PiZeroDiscriminatorProducer.produce(), EgammaHLTEcalRecIsolationProducer.produce(), EgammaEcalRecHitIsolationProducer.produce(), HLTL1TMuonSelector.produce(), HLTL1MuonSelector.produce(), L2MuonSeedGeneratorFromL1T.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(), HGCFEElectronics< DFr >.runShaperWithToT(), scaleToEt(), BSFitter.scanPDF(), HDRShower.setFuncParam(), ThirdOrderDelayODE.setParameters(), HcalQie.shape(), CSCGasCollisions.simulate(), smearFunctionType1.smear(), smearFunctionType2.smear(), smearFunctionType3.smear(), smearFunctionType4.smear(), smearFunctionType5.smear(), DAClusterizerInZ.split(), VoronoiAlgorithm.subtract_momentum(), SingleParticleEvent.subtractEloss(), res::HelperElectron.theta(), res::HelperMuon.theta(), res::HelperJet.theta(), kinem.theta(), fireworks.thetaBins(), HDRShower.thetaFunction(), PreshowerLayer2Properties.thickness(), PreshowerLayer1Properties.thickness(), HcalTestAnalysis.timeOfFlight(), HcalTB04Analysis.timeOfFlight(), spr.timeOfFlight(), GflashHadronShowerProfile.twoGammaProfile(), logintpack.unpack8log(), logintpack.unpack8logClosed(), DAClusterizerInZ.update(), edm::service::CondorStatusService.updateImpl(), 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 1104 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.fig = plt.figure()

Definition at line 1079 of file create_public_lumi_plots.py.

create_public_lumi_plots.file_suffix = color_scheme.file_suffix

Definition at line 1077 of file create_public_lumi_plots.py.

create_public_lumi_plots.fontproperties = FONT_PROPS_SUPTITLE)

Definition at line 1119 of file create_public_lumi_plots.py.

int create_public_lumi_plots.head_room = 2

Definition at line 1852 of file create_public_lumi_plots.py.

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

Definition at line 507 of file create_public_lumi_plots.py.

string create_public_lumi_plots.helper_str = ""

Definition at line 944 of file create_public_lumi_plots.py.

string create_public_lumi_plots.histtype = "stepfilled"

Definition at line 1102 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 516 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.in_file = open(cache_file_path)

Definition at line 869 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 1084 of file create_public_lumi_plots.py.

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

Definition at line 617 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 1105 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 757 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 1173 of file create_public_lumi_plots.py.

Referenced by DTNoiseComputation.endJob(), TkAlStyle.legend(), main(), CastorHardcodeGeometryLoader.makeCell(), SiStripHitEffFromCalibTree.makeSummary(), MergeRootfile(), plotMaker(), PlotPixelMultVtxPos(), printSOF(), ListGroups.produceAndSaveSummaryPlot(), and SeedMultiplicityComparisonPlot().

tuple create_public_lumi_plots.lines = in_file.readlines()

Definition at line 870 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.lines_ori = open(cache_file_tmp)

Definition at line 845 of file create_public_lumi_plots.py.

list create_public_lumi_plots.lines_to_be_kept = []

Definition at line 844 of file create_public_lumi_plots.py.

string create_public_lumi_plots.linestyle = "none"

Definition at line 1803 of file create_public_lumi_plots.py.

create_public_lumi_plots.log = log_setting,

Definition at line 1103 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.log_setting = False

Definition at line 1085 of file create_public_lumi_plots.py.

string create_public_lumi_plots.log_suffix = ""

Definition at line 1132 of file create_public_lumi_plots.py.

create_public_lumi_plots.logo_name = color_scheme.logo_name

Definition at line 1076 of file create_public_lumi_plots.py.

list create_public_lumi_plots.lumi_data = lumi_data_by_day_per_year[year]

Definition at line 1017 of file create_public_lumi_plots.py.

dictionary create_public_lumi_plots.lumi_data_by_day = {}

Definition at line 863 of file create_public_lumi_plots.py.

dictionary create_public_lumi_plots.lumi_data_by_day_per_year = {}

Definition at line 924 of file create_public_lumi_plots.py.

dictionary create_public_lumi_plots.lumi_data_by_week = {}

Definition at line 894 of file create_public_lumi_plots.py.

dictionary create_public_lumi_plots.lumi_data_by_week_per_year = {}

Definition at line 906 of file create_public_lumi_plots.py.

dictionary create_public_lumi_plots.lumi_data_by_year = {}

Definition at line 916 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.lumi_data_day = LumiDataBlock()

Definition at line 867 of file create_public_lumi_plots.py.

string create_public_lumi_plots.lumicalc_cmd = "%s %s"

Definition at line 807 of file create_public_lumi_plots.py.

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

Definition at line 788 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 545 of file create_public_lumi_plots.py.

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

Definition at line 544 of file create_public_lumi_plots.py.

string create_public_lumi_plots.marker = "."

Definition at line 1802 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.max_del = max(weights_del)

Definition at line 1156 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.max_inst = max(weights_del_inst)

Definition at line 1097 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.max_rec = max(weights_rec)

Definition at line 1157 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.min_del = min(weights_del_for_cum)

Definition at line 1207 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.min_val = min(weights_del_inst)

Definition at line 1087 of file create_public_lumi_plots.py.

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

Definition at line 849 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.num_cols = None

Definition at line 1825 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.num_days = (date_end - date_begin)

Definition at line 736 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 1315 of file create_public_lumi_plots.py.

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

Definition at line 612 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.output_0 = copy.deepcopy(output)

Definition at line 817 of file create_public_lumi_plots.py.

list create_public_lumi_plots.particle_type_str = particle_type_strings[accel_mode]

Definition at line 645 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 640 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.path_name = CacheFilePath(cache_file_dir)

Definition at line 707 of file create_public_lumi_plots.py.

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

int create_public_lumi_plots.scale_factor_2010 = 10

Definition at line 1734 of file create_public_lumi_plots.py.

int create_public_lumi_plots.sep_line = 50

Definition at line 935 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.str_begin = None

Definition at line 1056 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 1754 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.str_end = None

Definition at line 1057 of file create_public_lumi_plots.py.

Referenced by SiStripMonitorQuality.analyze(), and TotemRPCluster.setStripEnd().

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

Definition at line 1050 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 1753 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 1053 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 1034 of file create_public_lumi_plots.py.

Referenced by ZdcTBAnalyzer.analyze(), edm::SystemTimeKeeper.pauseModuleEvent(), and edm::SystemTimeKeeper.stopModuleEvent().

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

Definition at line 1033 of file create_public_lumi_plots.py.

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

Definition at line 587 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 1108 of file create_public_lumi_plots.py.

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

Definition at line 941 of file create_public_lumi_plots.py.

Referenced by XrdAdaptor::RequestManager.prepareOpaqueString().

int create_public_lumi_plots.tmp_x = .09

Definition at line 1827 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 1828 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 594 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.tot_cert = sum(weights_cert_for_cum)

Definition at line 1210 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.tot_del = sum(weights_del_for_cum)

Definition at line 1208 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.tot_rec = sum(weights_rec_for_cum)

Definition at line 1209 of file create_public_lumi_plots.py.

int create_public_lumi_plots.transform = 15

Definition at line 1267 of file create_public_lumi_plots.py.

Referenced by AlignableDet.alignments(), AlignableDetUnit.alignments(), AlignableBeamSpot.alignments(), AlphaT.AlphaT(), edm::ContainerMask< T >.applyOrTo(), edm::ScheduleInfo.availableModuleLabels(), edm::StreamSchedule.availablePaths(), reco::helper::JetIDHelper.classifyJetComponents(), reco::helper::JetIDHelper.classifyJetTowers(), TkGluedMeasurementDet.collectRecHits(), TCMETAlgo.configure(), edmNew.copyDetSetRange(), ConstrainedTreeBuilder.covarianceMatrix(), ConstrainedTreeBuilderT.covarianceMatrix(), FastCircle.createCircleParameters(), SiStripLorentzAngleGenerator.createObject(), align.createPoints(), JME::JetResolutionObject::Definition.Definition(), FWDetailViewManager.detailViewsFor(), RecoTauMVATransform.discriminate(), edm.endpathsAreActive_(), FastTimerService.findFirstLast(), FWDetailViewManager.findViewersFor(), FWEveViewManager.FWEveViewManager(), EcalFedMap.getFedFromSlice(), edm::DetSetVector< T >.getIds(), CSCStripElectronicsSim.getKeyStripsFromMC(), reco::TaggingVariableList.getList(), edm::ParameterSet.getParameterNames(), SeedingLayerSetsHits.hits(), PSFitter::HybridMinimizer.HybridMinimizer(), pat::JetCorrFactors.jecFlavor(), reco::MaskCollection< Object >.mask(), cms::MuonTCMETValueMapProducer.MuonTCMETValueMapProducer(), MuonTypeByOrCut.MuonTypeByOrCut(), ora::MappingRules.nameForSchema(), alpha_T.operator()(), ThirdHitRZPrediction< Propagator >.operator()(), reco::tau::RecoTauDiscriminantInvariantWidth.operator()(), CSCStripData.operator*=(), BTagEntry::Parameters.Parameters(), 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(), MP7FileReader.readRows(), RecoTauMVATransform.RecoTauMVATransform(), MP7FileReader.searchLinks(), LMFColoredTable.setColor(), ODSRPConfig.setParameters(), gen::Pythia6Service.setSLHAFromHeader(), Herwig6Hadronizer.setSLHAFromHeader(), LMFColoredTable.setSystem(), LMFPnPrimDat.setSystem(), RectangularEtaPhiTrackingRegion.stringToUseMeasurementTracker(), 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 937 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.use_cache = (not ignore_cache)

Definition at line 767 of file create_public_lumi_plots.py.

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

Definition at line 613 of file create_public_lumi_plots.py.

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

Definition at line 541 of file create_public_lumi_plots.py.

string create_public_lumi_plots.verticalalignment = "center"

Definition at line 1266 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.week = day_cur.isocalendar()

Definition at line 743 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 724 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.week_end = date_end.isocalendar()

Definition at line 725 of file create_public_lumi_plots.py.

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

Definition at line 1309 of file create_public_lumi_plots.py.

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

Definition at line 1307 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.weeks = []

Definition at line 739 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.weights_cert_for_cum = lumi_data.lum_cert(units)

Definition at line 1043 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.weights_del = lumi_data.lum_del(units)

Definition at line 1037 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.weights_del_for_cum = lumi_data.lum_del(units)

Definition at line 1041 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.weights_del_inst = lumi_data.lum_inst_max(units)

Definition at line 1046 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.weights_inst = lumi_data.lum_inst_max(units)

Definition at line 1765 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.weights_rec = lumi_data.lum_rec(units)

Definition at line 1038 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.weights_rec_for_cum = lumi_data.lum_rec(units)

Definition at line 1042 of file create_public_lumi_plots.py.

list create_public_lumi_plots.weights_tmp = None

Definition at line 1794 of file create_public_lumi_plots.py.

int create_public_lumi_plots.width = 0

Definition at line 1009 of file create_public_lumi_plots.py.

Referenced by AlignableDet.addAlignmentPositionErrorFromRotation(), AlignableDetUnit.addAlignmentPositionErrorFromRotation(), CustomParticleFactory.addCustomParticle(), OptoScanAlgorithm.analyse(), MuonGeometrySVGTemplate.analyze(), Vispa.Gui.ZoomableScrollArea.ZoomableScrollArea.autosizeScrollWidget(), MuonTrackValidatorBase.BinLogX(), PixelTopologyBuilder.build(), RPCGeometryBuilderFromCondDB.build(), FWMuonRhoPhiProxyBuilder.build(), FWMuonProxyBuilder.build(), FWTrackProxyBuilder.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(), SiStripMonitorTrack.clusterInfos(), 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(), ThroughputServiceClient.fillSummaryPlots(), EcalCoder.findPedestal(), BeamMonitor.FitAndFill(), GetDecayTime(), EcalRecHit.getMasked(), SiStripGainFromData.getPeakOfLandau(), OpticalObject.getPlate(), l1t::MicroGMTConfiguration.getTwosComp(), OptOCubeSplitter.getUpperPlate(), CSCValidation.getWidth(), HcalPedestalAnalysis.HcalPedVal(), reco::MustacheKernel.inDynamicDPhiWindow(), DreamSD.initMap(), CustomParticleFactory.loadCustomParticles(), DatabasePDG.LoadParticles(), DDDividedPolyconeRho.makeDDLogicalPart(), DDDividedPolyhedraRho.makeDDLogicalPart(), FWTGLViewer.MakeFboHeight(), CastorDbHardcode.makeGain(), CastorDbHardcode.makePedestal(), CastorDbHardcode.makePedestalWidth(), FWTableManagerBase.maxWidthForColumns(), ParticlePDG.ParticlePDG(), MuonResiduals5DOFFitter.plot(), MuonResiduals6DOFrphiFitter.plot(), MuonResiduals6DOFFitter.plot(), TwoBowedSurfacesDeformation.positionCorrection(), RecoTauPiZeroProducer.print(), PFRecoTauChargedHadronProducer.print(), TrackerMap.printall(), SiStripClusterToDigiProducer.process(), StandaloneTrackMonitor.processClusters(), ShallowClustersProducer.produce(), CastorClusterProducer.produce(), FWElectronProxyBuilder.requestCommon(), 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(), 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 1811 of file create_public_lumi_plots.py.

Referenced by MuonCSCChamberResidual.addResidual(), HGCalSimHitValidation.analyzeHits(), TrackerSectorStruct.bookCorrHists(), CSCPairResidualsConstraint.calculatePhi(), MonitorTrackResidualsBase< pixel_or_strip >.createMEs(), CaloDetIdAssociator.crossedElement(), EcalTBMCInfoProducer.EcalTBMCInfoProducer(), MuonGeometryArrange.fillTree(), HGCalGeometry.getCorners(), NtupleManager.GetGlobalAngles(), MEEBGeom.getGraphBoundary(), HGCalGeometry.getPosition(), TotemRPGeometry.GetRPGlobalRotation(), HLTScalersClient.getSlope_(), CachedTrajectory.getWideTrajectory(), fastTrackingUtilities.hitLocalError(), HGCalGeomParameters.loadGeometryHexagon(), CSCRadialStripTopology.localError(), TkRadialStripTopology.localError(), FastTrackerRecHitMatcher.match(), SiStripRecHitMatcher.match(), HGCalDDDConstants.newCell(), GlobalErrorBase< double, ErrorMatrixTag >.phierr(), GlobalErrorBaseExtended< double, ErrorMatrixTag >.phierr(), CaloGeometryDBEP< T, U >.produceAligned(), gen::PtYDistributor.PtYDistributor(), CocoaAnalyzer.ReadXMLFile(), GlobalErrorBase< double, ErrorMatrixTag >.rerr(), GlobalErrorBaseExtended< double, ErrorMatrixTag >.rerr(), PixelFitterByConformalMappingAndLine.run(), ROOT::Math::Transform3DPJ.SetComponents(), LinkByRecHit.testECALAndPSByRecHit(), HGCalDDDConstants.waferPosition(), and Basic3DVector< align::Scalar >.xy().

string create_public_lumi_plots.xycoords = "data"

Definition at line 1813 of file create_public_lumi_plots.py.

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

Definition at line 1812 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.year = day_cur.isocalendar()

Definition at line 742 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 726 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.year_end = date_end.isocalendar()

Definition at line 727 of file create_public_lumi_plots.py.

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

Definition at line 738 of file create_public_lumi_plots.py.

int create_public_lumi_plots.zoom = .97

Definition at line 1850 of file create_public_lumi_plots.py.