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 GetEnergyPerNucleonScaleFactor
 
def GetUnits
 
def GetXLocator
 
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_dbg = cache_file_path.replace(".csv", "_dbg.csv")
 
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")
 
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_del = color_scheme.color_fill_del
 
 color_fill_peak = color_scheme.color_fill_peak
 
 color_fill_rec = color_scheme.color_fill_rec
 
 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")
 
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)
 
tuple num_lines_0 = len(open(cache_file_tmp).readlines())
 
tuple num_lines_1 = len(open(cache_file_path).readlines())
 
tuple num_lines_2 = len(open(cache_file_path).readlines())
 
tuple num_lines_3 = len(open(cache_file_path).readlines())
 
tuple num_lines_4 = len(open(cache_file_dbg).readlines())
 
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)
 
tuple output_1 = 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_del = sum(weights_del_for_cum)
 
tuple tot_rec = sum(weights_rec_for_cum)
 
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")
 
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_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 264 of file create_public_lumi_plots.py.

Referenced by PlotAllYears().

265 def AtMidnight(datetime_in):
266  res = datetime.datetime.combine(datetime_in.date(), datetime.time())
267  # End of AtMidnight().
268  return res
def create_public_lumi_plots.AtMidWeek (   datetime_in)

Definition at line 271 of file create_public_lumi_plots.py.

272 def AtMidWeek(datetime_in):
273  # NOTE: The middle of the week is on Thursday according to our
274  # definition
275  tmp = datetime_in.date()
276  date_tmp = tmp - \
277  datetime.timedelta(days=tmp.weekday()) + \
278  datetime.timedelta(days=3)
279  res = datetime.datetime.combine(date_tmp, datetime.time())
280  # End of AtMidWeek().
281  return res
def create_public_lumi_plots.CacheFilePath (   cache_file_dir,
  day = None 
)

Definition at line 255 of file create_public_lumi_plots.py.

256 def CacheFilePath(cache_file_dir, day=None):
257  cache_file_path = os.path.abspath(cache_file_dir)
258  if day:
259  cache_file_name = "lumicalc_cache_%s.csv" % day.isoformat()
260  cache_file_path = os.path.join(cache_file_path, cache_file_name)
261  return cache_file_path
def create_public_lumi_plots.GetEnergyPerNucleonScaleFactor (   amodetag)

Definition at line 354 of file create_public_lumi_plots.py.

Referenced by PlotAllYears().

355 def GetEnergyPerNucleonScaleFactor(amodetag):
356  # DEBUG DEBUG DEBUG
357  assert amodetag in ["IONPHYS", "PAPHYS"]
358  # DEBUG DEBUG DEBUG end
359 
360  res = LEAD_SCALE_FACTOR
361  if amodetag == "PAPHYS":
362  res = math.sqrt(res)
363 
364  # End of GetEnergyPerNucleonScaleFactor().
365  return res
def create_public_lumi_plots.GetUnits (   year,
  accel_mode,
  mode 
)

Definition at line 284 of file create_public_lumi_plots.py.

Referenced by PlotAllYears().

285 def GetUnits(year, accel_mode, mode):
286 
287  units_spec = {
288  "PROTPHYS" : {
289  2010 : {
290  "cum_day" : "pb^{-1}",
291  "cum_week" : "pb^{-1}",
292  "cum_year" : "pb^{-1}",
293  "max_inst" : "Hz/ub",
294  },
295  2011 : {
296  "cum_day" : "pb^{-1}",
297  "cum_week" : "pb^{-1}",
298  "cum_year" : "fb^{-1}",
299  "max_inst" : "Hz/nb",
300  },
301  2012 : {
302  "cum_day" : "pb^{-1}",
303  "cum_week" : "fb^{-1}",
304  "cum_year" : "fb^{-1}",
305  "max_inst" : "Hz/nb",
306  },
307  2013 : {
308  "cum_day" : "pb^{-1}",
309  "cum_week" : "pb^{-1}",
310  "cum_year" : "pb^{-1}",
311  "max_inst" : "Hz/ub",
312  }
313  },
314  "IONPHYS" : {
315  2011 : {
316  "cum_day" : "ub^{-1}",
317  "cum_week" : "ub^{-1}",
318  "cum_year" : "ub^{-1}",
319  "max_inst" : "Hz/mb",
320  }
321  },
322  "PAPHYS" : {
323  2013 : {
324  "cum_day" : "nb^{-1}",
325  "cum_week" : "nb^{-1}",
326  "cum_year" : "nb^{-1}",
327  "max_inst" : "Hz/mb",
328  }
329  }
330  }
331 
332  units = None
333 
334  try:
335  units = units_spec[accel_mode][year][mode]
336  except KeyError:
337  if mode == "cum_day":
338  units = "pb^{-1}"
339  elif mode == "cum_week":
340  units = "pb^{-1}"
341  elif mode == "cum_year":
342  units = "fb^{-1}"
343  elif mode == "max_inst":
344  units = "Hz/ub"
345 
346  # DEBUG DEBUG DEBUG
347  assert not units is None
348  # DEBUG DEBUG DEBUG end
349 
350  # End of GetUnits().
351  return units
def create_public_lumi_plots.GetXLocator (   ax)
Pick a DateLocator based on the range of the x-axis.

Definition at line 380 of file create_public_lumi_plots.py.

References min, and TweakPlot().

Referenced by TweakPlot().

381 def GetXLocator(ax):
382  """Pick a DateLocator based on the range of the x-axis."""
383  (x_lo, x_hi) = ax.get_xlim()
384  num_days = x_hi - x_lo
385  min_num_ticks = min(num_days, 5)
386  locator = matplotlib.dates.AutoDateLocator(minticks=min_num_ticks,
387  maxticks=None)
388  # End of GetLocator().
389  return locator
#define min(a, b)
Definition: mlp_lapack.h:161
def create_public_lumi_plots.NumDaysInYear (   year)
Returns the number of days in the given year.

Definition at line 368 of file create_public_lumi_plots.py.

Referenced by PlotAllYears().

369 def NumDaysInYear(year):
370  """Returns the number of days in the given year."""
371 
372  date_lo = datetime.date(year, 1, 1)
373  date_hi = datetime.date(year + 1, 1, 1)
374  num_days = (date_hi - date_lo).days
375 
376  # End of NumDaysInYear().
377  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 1556 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().

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

Definition at line 393 of file create_public_lumi_plots.py.

References GetXLocator().

Referenced by GetXLocator(), and PlotAllYears().

394  add_extra_head_room=False):
395 
396  # Fiddle with axes ranges etc.
397  ax.relim()
398  ax.autoscale_view(False, True, True)
399  for label in ax.get_xticklabels():
400  label.set_ha("right")
401  label.set_rotation(30.)
402 
403  # Bit of magic here: increase vertical scale by one tick to make
404  # room for the legend.
405  if add_extra_head_room:
406  y_ticks = ax.get_yticks()
407  (y_min, y_max) = ax.get_ylim()
408  is_log = (ax.get_yscale() == "log")
409  y_max_new = y_max
410  if is_log:
411  tmp = y_ticks[-1] / y_ticks[-2]
412  y_max_new = y_max * math.pow(tmp, add_extra_head_room)
413  else:
414  tmp = y_ticks[-1] - y_ticks[-2]
415  y_max_new = y_max + add_extra_head_room * tmp
416  ax.set_ylim(y_min, y_max_new)
417 
418  # Add a second vertical axis on the right-hand side.
419  ax_sec = ax.twinx()
420  ax_sec.set_ylim(ax.get_ylim())
421  ax_sec.set_yscale(ax.get_yscale())
422 
423  for ax_tmp in fig.axes:
424  for sub_ax in [ax_tmp.xaxis, ax_tmp.yaxis]:
425  for label in sub_ax.get_ticklabels():
426  label.set_font_properties(FONT_PROPS_TICK_LABEL)
427 
428  ax.set_xlim(time_begin, time_end)
429 
430  locator = GetXLocator(ax)
431  ax.xaxis.set_major_locator(locator)
432  formatter = matplotlib.dates.DateFormatter(DATE_FMT_STR_AXES)
433  ax.xaxis.set_major_formatter(formatter)
434 
435  fig.subplots_adjust(top=.85, bottom=.14, left=.13, right=.91)
436  # End of TweakPlot().

Variable Documentation

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

Definition at line 483 of file create_public_lumi_plots.py.

create_public_lumi_plots.add_extra_head_room = is_log)

Definition at line 1273 of file create_public_lumi_plots.py.

create_public_lumi_plots.amodetag_bug_workaround = False

Definition at line 491 of file create_public_lumi_plots.py.

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

Definition at line 443 of file create_public_lumi_plots.py.

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

Definition at line 1750 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.ax = fig.add_subplot(111)

Definition at line 1108 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.interpolateHistoND(), EEDetId.iPhiOuterRing(), EEDetId.isOuterRing(), TopologyWorker.planes_sphe(), TopologyWorker.planes_sphe_wei(), TopologyWorker.planes_thrust(), DDLDivision.processElement(), GoodSeedProducer.PSforTMVA(), MEGeom.setBinGlobalHist(), FWGUIValidatingTextEntry.showOptions(), and npstat::HistoND< Numeric, Axis >.volume().

list create_public_lumi_plots.beam_energy = None

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

create_public_lumi_plots.beam_energy_from_cfg = None

Definition at line 501 of file create_public_lumi_plots.py.

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

Definition at line 497 of file create_public_lumi_plots.py.

list create_public_lumi_plots.beam_fluctuation = None

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

create_public_lumi_plots.beam_fluctuation_from_cfg = None

Definition at line 514 of file create_public_lumi_plots.py.

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

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

Referenced by MuIsoValidation.InitHistos().

tuple create_public_lumi_plots.cache_file_dbg = cache_file_path.replace(".csv", "_dbg.csv")

Definition at line 834 of file create_public_lumi_plots.py.

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

Definition at line 476 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.cache_file_path = CacheFilePath(cache_file_dir, day)

Definition at line 685 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 686 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  }

Definition at line 456 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.cfg_parser = ConfigParser.SafeConfigParser(cfg_defaults)

Definition at line 465 of file create_public_lumi_plots.py.

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

Definition at line 727 of file create_public_lumi_plots.py.

int create_public_lumi_plots.cms_energy = 2

Definition at line 1023 of file create_public_lumi_plots.py.

string create_public_lumi_plots.cms_energy_str = "???"

Definition at line 1024 of file create_public_lumi_plots.py.

list create_public_lumi_plots.color = color_by_year[year]

Definition at line 1802 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(), FWPFCandidatesLegoProxyBuilder.build(), FWPFPatJetLegoProxyBuilder< T >.build(), FWPFEcalRecHitLegoProxyBuilder.build(), FWCandidateLegoProxyBuilder.build(), FWCaloDataProxyBuilderBase.build(), FWTrackResidualDetailView.build(), FWVertexProxyBuilder.build(), FWTauProxyBuilderBase.buildBaseTau(), FWRPCRecHitProxyBuilder.buildViewType(), FWJetProxyBuilder.buildViewType(), cert_plot(), FWModelContextMenuHandler.chosenItem(), ME_MAP.create_gif(), SiPixelUtility.createStatusLegendMessages(), DisplayManager.displayPFBlock(), TrackerMap.drawApvPair(), TrackerMap.drawCcu(), TrackerMap.drawHV2(), TrackerMap.drawHV3(), TrackerMap.drawModule(), TrackerMap.drawPalette(), TrackerMap.drawPsu(), SiPixelUtility.fillPaveText(), DisplayManager.findAndDraw(), FWColorPopup.FWColorPopup(), HcalBaseDQClient.htmlOutput(), DisplayManager.loadGRecHits(), FWCaloDataProxyBuilderBase.modelChanges(), FWJetProxyBuilder.requestCommon(), DisplayManager.rubOutGPFBlock(), LMFColoredTable.setColor(), FWEventItemsManager.setFrom(), FWPFBlockProxyBuilder.setupClusterElement(), and FWPFClusterLegoProxyBuilder.sharedBuild().

create_public_lumi_plots.color_by_year = color_scheme.color_by_year

Definition at line 1743 of file create_public_lumi_plots.py.

create_public_lumi_plots.color_fill_del = color_scheme.color_fill_del

Definition at line 1086 of file create_public_lumi_plots.py.

create_public_lumi_plots.color_fill_peak = color_scheme.color_fill_peak

Definition at line 1088 of file create_public_lumi_plots.py.

create_public_lumi_plots.color_fill_rec = color_scheme.color_fill_rec

Definition at line 1087 of file create_public_lumi_plots.py.

create_public_lumi_plots.color_line_del = color_scheme.color_line_del

Definition at line 1089 of file create_public_lumi_plots.py.

create_public_lumi_plots.color_line_peak = color_scheme.color_line_peak

Definition at line 1091 of file create_public_lumi_plots.py.

create_public_lumi_plots.color_line_rec = color_scheme.color_line_rec

Definition at line 1090 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.color_scheme = ColorScheme(color_scheme_name)

Definition at line 1085 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 474 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 473 of file create_public_lumi_plots.py.

list create_public_lumi_plots.config_file_name = args[0]

Definition at line 453 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 525 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 689 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.date_begin_str = day.strftime(DATE_FMT_STR_LUMICALC)

Definition at line 688 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.date_end = None

Definition at line 527 of file create_public_lumi_plots.py.

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

Definition at line 690 of file create_public_lumi_plots.py.

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

Definition at line 58 of file create_public_lumi_plots.py.

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

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

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

Definition at line 56 of file create_public_lumi_plots.py.

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

Definition at line 57 of file create_public_lumi_plots.py.

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

Definition at line 691 of file create_public_lumi_plots.py.

create_public_lumi_plots.day_cur = date_begin

Definition at line 656 of file create_public_lumi_plots.py.

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

Definition at line 1041 of file create_public_lumi_plots.py.

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

Definition at line 1039 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 653 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 441 of file create_public_lumi_plots.py.

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

Definition at line 748 of file create_public_lumi_plots.py.

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

Definition at line 1104 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(), ElectronSeedAnalyzer.analyze(), edm::FlatEGunASCIIWriter.analyze(), EERecoSummary.analyze(), EBRecoSummary.analyze(), HLTAlCaMonPi0.analyze(), DQMSourcePi0.analyze(), HLTAlCa.analyze(), HLTEgamma.analyze(), ResolutionAnalyzer.analyze(), JetTagMVATreeTrainer.analyze(), res::HelperMET.b(), res::HelperElectron.b(), res::HelperMuon.b(), res::HelperJet.b(), BremsstrahlungSimulator.brem(), PFClusterAlgo.buildPFClusters(), 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(), EcalUncalibRecHitRatioMethodAlgo< C >.computeAmplitude(), CastorPulseShapes.computeCastorShape(), TMarkov.computeChain(), DeDxDiscriminatorProducer.ComputeDiscriminator(), HcalPulseShapes.computeHFShape(), HcalPulseShapes.computeHPDShape(), HFCherenkov.computeNPE(), HFCherenkov.computeQEff(), TBPositionCalc.computeRotation(), CastorShape.computeShapeCastor(), ZDCShape.computeShapeZDC(), EcalUncalibRecHitRatioMethodAlgo< C >.computeTime(), 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(), 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::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(), FastL1GlobalAlgo.FillMET(), Histograms.fillRecHistograms(), 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::Pythia6PartonPtGun.generateEvent(), gen::Pythia6PtGun.generateEvent(), gen::Pythia6EGun.generateEvent(), gen::Pythia6JetGun.generateEvent(), gen::Pythia6PartonEGun.generateEvent(), gen::Pythia6PtYDistGun.generateEvent(), evf::BU.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(), CaloCellId.getThetaCell(), 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(), 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(), GflashProtonShowerProfile.loadParameters(), GflashPiKShowerProfile.loadParameters(), GflashKaonPlusShowerProfile.loadParameters(), GflashKaonMinusShowerProfile.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(), funct::ExpStruct< T >.operator()(), funct::Exponential.operator()(), function::SmoothStepFunction.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()(), GflashEMShowerProfile.parameterization(), 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(), PlotOccupancyMap(), BremsstrahlungSimulator.poisson(), reweight::PoissonMeanShifter.PoissonMeanShifter(), ElectronSqPtTkIsolationProducer.produce(), edm::FlatRandomOneOverPtGunProducer.produce(), edm::FlatRandomPtGunProducer.produce(), edm::FlatRandomEGunProducer.produce(), edm::ExpoRandomPtGunProducer.produce(), edm::MultiParticleInConeGunProducer.produce(), EcalDigiSelector.produce(), TtSemiLepHitFitProducer< LeptonCollection >.produce(), PreshowerClusterShapeProducer.produce(), PiZeroDiscriminatorProducer.produce(), EgammaHLTEcalRecIsolationProducer.produce(), EgammaEcalRecHitIsolationProducer.produce(), L2MuonSeedGenerator.produce(), MuonSimHitProducer.produce(), EMECALShowerParametrization.pSam(), EcalUncalibRecHitRecAnalFitAlgo< EBDataFrame >.pulseShapeFunction(), EcalUncalibRecHitFixedAlphaBetaAlgo< C >.pulseShapeFunction(), TFParams.pulseShapepj(), TFParams.pulseShapepj2(), DAClusterizerInZ.purge(), RPCpg.rate(), EMECALShowerParametrization.rCSam(), HcalSimpleRecAlgo.reconstruct(), HcalSimpleRecAlgo.reconstructHFUpgrade(), 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::HelperMuon.theta(), res::HelperElectron.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(), DAClusterizerInZ.update(), IncompleteGammaComplement.value(), Utils.VectorEPRtoXYZ(), 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 1120 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.fig = plt.figure()

Definition at line 1095 of file create_public_lumi_plots.py.

create_public_lumi_plots.file_suffix = color_scheme.file_suffix

Definition at line 1093 of file create_public_lumi_plots.py.

create_public_lumi_plots.fontproperties = FONT_PROPS_SUPTITLE)

Definition at line 1135 of file create_public_lumi_plots.py.

int create_public_lumi_plots.head_room = 2

Definition at line 1853 of file create_public_lumi_plots.py.

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

Definition at line 445 of file create_public_lumi_plots.py.

string create_public_lumi_plots.helper_str = ""

Definition at line 961 of file create_public_lumi_plots.py.

string create_public_lumi_plots.histtype = "stepfilled"

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

tuple create_public_lumi_plots.in_file = open(cache_file_path)

Definition at line 886 of file create_public_lumi_plots.py.

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

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

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

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

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

int create_public_lumi_plots.LEAD_SCALE_FACTOR = 82

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

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

tuple create_public_lumi_plots.lines = in_file.readlines()

Definition at line 887 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.lines_ori = open(cache_file_tmp)

Definition at line 770 of file create_public_lumi_plots.py.

list create_public_lumi_plots.lines_to_be_kept = []

Definition at line 769 of file create_public_lumi_plots.py.

string create_public_lumi_plots.linestyle = "none"

Definition at line 1804 of file create_public_lumi_plots.py.

Referenced by DisplayManager.loadGGsfRecTracks(), and DisplayManager.loadGRecTracks().

create_public_lumi_plots.log = log_setting,

Definition at line 1119 of file create_public_lumi_plots.py.

Referenced by WeakEffectsWeightProducer.alphaQED(), FSRWeightProducer.alphaRatio(), DQMHOAlCaRecoStream.analyze(), HcalNoiseMonitor.analyze(), ESTimingTask.analyze(), evf::ExceptionGenerator.analyze(), ZMuMuEfficiency.analyze(), MCPhotonAnalyzer.analyze(), DQMSourceExample.analyze(), ValidationMisalignedTracker.analyze(), L1CondDBIOVWriter.analyze(), EcalPreshowerSimHitsValidation.analyze(), TrackerHitAnalyzer.analyze(), L1O2OTestAnalyzer.analyze(), EcalSimHitsValidation.analyze(), EcalRecHitsValidation.analyze(), Rivet::CMS_EWK_11_021.analyze(), EcalDigisValidation.analyze(), PrimaryVertexAnalyzer4PU.analyzeVertexCollection(), PrimaryVertexAnalyzer4PU.analyzeVertexCollectionTP(), PhotonFix.asinh(), TopDiLeptonDQM.beginJob(), TopHLTDiMuonDQM.beginJob(), EnergyLossProducer.beginRun(), DAClusterizerInZ.beta0(), DAClusterizerInZ_vect.beta0(), BremsstrahlungSimulator.brem(), evf::BU.BU(), FWPFEcalRecHitLegoProxyBuilder.build(), CSCSectorReceiverMiniLUT.calcGlobalEtaMEMini(), LRHelpFunctions.calcLRval(), EnergyResolutionVsLumi.calcmuTot(), ClusterShapeAlgo.Calculate_Covariances(), ClusterShapeAlgo.Calculate_EnergyDepTopology(), PositionCalc.Calculate_Location(), PFClusterAlgo.calculateClusterPosition(), TBPositionCalc.CalculateCMSPos(), calculateEta(), MuonNavigationSchool.calculateEta(), DirectTrackerNavigation.calculateEta(), ConversionLikelihoodCalculator.calculateLikelihood(), PFHcalSuperClusterAlgo.calculatePosition(), PFHcalSuperClusterAlgo.calculateWidths(), EcalClusterTools.cluster2ndMoments(), MultipleScatteringSimulator.compute(), PairProductionSimulator.compute(), EnergyLossSimulator.compute(), BremsstrahlungSimulator.compute(), NuclearInteractionSimulator.compute(), EcalUncalibRecHitRatioMethodAlgo< C >.computeAmplitude(), TMarkov.computeChain(), PileupJetIdAlgo.computeCutIDflag(), DeDxDiscriminatorProducer.ComputeDiscriminator(), HDRShower.computeShower(), EcalUncalibRecHitRatioMethodAlgo< C >.computeTime(), EBSelectiveReadoutTask.configFirWeights(), EESelectiveReadoutTask.configFirWeights(), EcalSelectiveReadoutValidation.configFirWeights(), DDHCalBarrelAlgo.constructMidLayer(), DDHCalBarrelAlgo.constructSideLayer(), EGEnergyCorrector.CorrectedEnergyWithError(), HFRecoEcalCandidateAlgo.correctEPosition(), MuonMETAlgo.correctMETforMuon(), VVIObjDetails.cosint(), sistripvvi::VVIObjDetails.cosint(), PFClusterShapeAlgo.covariances(), EcalClusterTools.covariances(), DisplayManager.createGRecHit(), cond::RelationalAuthenticationService::RelationalAuthenticationService.credentials(), gen::TauolaInterface.decay(), Histograms.declareHistograms(), EvolutionECAL.DegradationMeanEM50GeV(), CastorTimeSlew.delay(), HcalTimeSlew.delay(), SimpleSecondaryVertexComputer.discriminator(), JetBProbabilityComputer.discriminator(), PF_PU_AssoMapAlgos.dR(), ChargeDrifterFP420.drift(), DAClusterizerInZ.dump(), DAClusterizerInZ_vect.dump(), MuScleFit.duringFastLoop(), Pi0FixedMassWindowCalibration.duringLoop(), ECALPositionCalculator.ecalEta(), HICaloUtil.EcalEta(), ContainmentCorrectionAnalyzer.ecalEta(), EgammaSuperClusters.ecalEta(), EgammaObjects.ecalEta(), EcalUncalibRecHitRecChi2Algo< C >.EcalUncalibRecHitRecChi2Algo(), Conv.elec(), EMShower.EMShower(), CalorimetryManager.EMShowerSimulation(), CaloTowersCreationAlgo.emShwrLogWeightPos(), TtSemiLepJetCombMVATrainer.endJob(), GsfElectronMCFakeAnalyzer.endJob(), GsfElectronDataAnalyzer.endJob(), GsfElectronFakeAnalyzer.endJob(), GsfElectronMCAnalyzer.endJob(), npstat::EquidistantInLogSpace.EquidistantInLogSpace(), hf_egamma.eSeLCorrected(), kinem.eta(), Geom::OnePiRange< T >.eta(), reco::GhostTrackPrediction.eta(), RawParticle.eta(), cscdqm::Detector.Eta(), fastmath.etaphi(), etaRel(), SimpleConvertedPhotonAnalyzer.etaTransformation(), PhotonsWithConversionsAnalyzer.etaTransformation(), MCPhotonAnalyzer.etaTransformation(), MCElectronAnalyzer.etaTransformation(), MCPizeroAnalyzer.etaTransformation(), SimplePhotonAnalyzer.etaTransformation(), TkConvValidator.etaTransformation(), PhotonValidator.etaTransformation(), ConversionProducer.etaTransformation(), VariablePower.eval(), ESRecHitAnalyticAlgo.EvalAmplitude(), ESRecHitSimAlgo.EvalAmplitude(), PFPhotonAlgo.EvaluateLCorrMVA(), PFEGammaAlgo.EvaluateLCorrMVA(), DDHCalFibreBundle.execute(), EnergyLossPlain.expected(), VVIObjDetails.expint(), sistripvvi::VVIObjDetails.expint(), sistripvvi::VVIObjDetails.f1(), sistripvvi::VVIObjDetails.f2(), FFTGenericScaleCalculator.f_safeLog(), fcnbg(), fcnsg(), HcalTestAnalysis.fill(), SimG4HcalValidation.fill(), HcalTB06Analysis.fillBuffer(), HcalTB04Analysis.fillBuffer(), SoftPFElectronTagInfoProducer.fillElecProperties(), TrackerHitProducer.fillG4MC(), SoftPFMuonTagInfoProducer.fillMuonProperties(), PrimaryVertexAnalyzer4PU.fillTrackHistos(), EnergyScaleAnalyzer.fillTree(), ZeePlots.fillZMCInfo(), PythiaFilter.filter(), DJpsiFilter.filter(), ElectronMcSignalPostValidator.finalize(), ElectronMcFakePostValidator.finalize(), TFParams.fitpj(), GflashHadronShowerProfile.fLnE1(), GflashHadronShowerProfile.fTanh(), FWExpressionValidator.FWExpressionValidator(), FWLegoCandidate.FWLegoCandidate(), GammaFunctionGenerator.gammaFrac(), GammaFunctionGenerator.gammaInt(), GammaLn(), Gauss3DFunc(), PairProductionSimulator.gbteth(), BremsstrahlungSimulator.gbteth(), MuonBremsstrahlungSimulator.gbteth(), GaussianTailNoiseGenerator.generate_gaussian_tail(), EcalTestDevDB.generateEcalLaserAPDPNRatios(), CSCGasCollisions.generateEnergyLoss(), BaseNumericalRandomGenerator.generateExp(), TrackerMap.getAutomaticRange(), ECalSD.getBirkL3(), TrackerMap.getcolor(), reco::PFCluster.getDepthCorrection(), DetIdAssociator.getDetIdsCloseToAPoint(), ZdcSD.getEnergyDeposit(), CastorSD.getEnergyDeposit(), EcalClusterTools.getEnergyDepTopology(), HcalNumberingFromDDD.getEta(), TopologyWorker.getetaphi(), IsolatedPixelTrackCandidateProducer.GetEtaPhiAtEcal(), PythiaFilterIsolatedTrack.GetEtaPhiAtEcal(), HCALResponse.getHCALEnergyResponse(), EcalTrivialConditionRetriever.getIntercalibConstantsFromConfiguration(), npstat::GridAxis.getInterval(), CastorShowerLibraryMaker.GetKinematics(), HcalTB06BeamSD.getNames(), MaterialBudgetHcalHistos.getNames(), HCalSD.getNames(), popcon::EcalLaser_weekly_Linearization_Check.getNewObjects(), GflashHadronShowerProfile.getNumberOfSpots(), CastorShowerLibrary.getShowerHits(), HcalTB02HcalNumberingScheme.getUnitID(), EcalClusterLocalContCorrection.getValue(), EcalBasicClusterLocalContCorrection.getValue(), EcalClusterCrackCorrection.getValue(), JetCharge.getWeight(), HFGflash.gfParameterization(), GflashHadronShowerProfile.hadronicParameterization(), HCalSD.HCalSD(), HcalTB06BeamSD.HcalTB06BeamSD(), HDShower.HDShower(), HcalHF_S9S1algorithm.HFSetFlagFromS9S1(), HFShower.HFShower(), gen::Cascade2Hadronizer.imposeProperTime(), gen::Pythia6Hadronizer.imposeProperTime(), reco::MustacheKernel.inDynamicDPhiWindow(), reco::PFHcalSuperClusterInit.initialize(), cond::XMLAuthenticationService::XMLAuthenticationService.initialize(), npstat::GridAxis.initialize(), ParticlePropagator.initProperDecayTime(), reco::TrackProbabilityTagInfo.jetProbability(), JetProbabilityComputer.jetProbability(), JetBProbabilityComputer.jetProbability(), EMECALShowerParametrization.k4(), LandauFP420.LandauFP420(), CSCTFPtMethods.Likelihood(), likelihood(), CSCTFPtMethods.Likelihood2(), CSCTFPtMethods.Likelihood2011(), CSCTFPtMethods.Likelihood2_2011(), npstat::GridAxis.linearInterval(), IncompleteGammaComplement.ln(), GaussianSumUtilities1D.lnPdf(), CaloTPGTranscoderULUT.loadHCALCompress(), GflashKaonMinusShowerProfile.loadParameters(), GflashProtonShowerProfile.loadParameters(), GflashPiKShowerProfile.loadParameters(), GflashKaonPlusShowerProfile.loadParameters(), GflashAntiProtonShowerProfile.loadParameters(), EcalClusterLocal.localCoordsEB(), EcalClusterLocal.localCoordsEE(), EcalClusterTools.localCovariances(), fit::Likelihood< Sample, PDF, Yield >.log(), fit::Likelihood< Sample, PDF, NoExtendedLikelihood >.log(), CSCCrossGap.logGamma(), fit::Likelihood< Sample, PDF, Yield >.logNFactorial(), HFClusterAlgo.makeCluster(), FFTEtaLogPtConeRadiusMapper< MyJet, Adjustable >.map(), FFTGenericScaleCalculator.mapFFTJet(), L2AbsScaleCalculator.mapFFTJet(), EMECALShowerParametrization.meanLnAlphaHom(), EMECALShowerParametrization.meanLnAlphaSam(), EMECALShowerParametrization.meanLnTHom(), EMECALShowerParametrization.meanLnTSam(), GflashHadronShowerProfile.medianLateralArm(), MuonResidualsFitter_compute_log_convolution(), MuonResidualsFitter_logGaussPowerTails(), MuonResidualsFitter_logPowerLawTails(), MuonResidualsFitter_logPureGaussian(), MuonResidualsFitter_logPureGaussian2D(), MuonResidualsFitter_logROOTVoigt(), AntiElectronIDMVA2.MVAValue(), AntiElectronIDMVA3.MVAValue(), L1CaloHcalScaleConfigOnlineProd.newObject(), EMECALShowerParametrization.nSpotsHom(), oldComputeBetheBloch(), oldComputeElectrons(), oldMUcompute(), funct::LogStruct< T >.operator()(), TtDecayChannelSelector.operator()(), fit::HistoPoissonLikelihoodRatio< T >.operator()(), fftjetcms::EtaAndPtDependentPeakSelector.operator()(), reco::parser::log_f.operator()(), TtHadLRSignalSelObservables.operator()(), FcnBeamSpotFitPV.operator()(), TtSemiLRSignalSelObservables.operator()(), BSpdfsFcn.operator()(), fftjetcms::EtaAndPtLookupPeakSelector.operator()(), Fit.operator()(), SimG4HcalHitCluster.operator+=(), EnergyLossPlain.optimal(), EMECALShowerParametrization.p3(), SiPixelRecHitQuality::Packing.Packing(), GflashEMShowerProfile.parameterization(), Generator.particlePassesPrimaryCuts(), reco::PFCandidateEGammaExtra.PFCandidateEGammaExtra(), reco::PFCandidateElectronExtra.PFCandidateElectronExtra(), PFPhotonClusters.PFCrystalCoor(), PFSCEnergyCalibration.PFSCEnergyCalibration(), SiPixelTemplateSplit.PixelTempSplit(), PlotOccupancyMap(), JetPartonMatching.print(), TKinFitter.print(), TtSemiLeptonicEvent.print(), TtFullLeptonicEvent.print(), TtFullHadronicEvent.print(), TopGenEvent.print(), EcalSelectiveReadoutValidation.printAvailableHists(), TKinFitter.printMatrix(), PixelCPEBase.probabilityXY(), HcalBeamMonitor.processEvent(), cond::XMLAuthenticationService::XMLAuthenticationService.processFile(), EnergyLossProducer.produce(), edm::FlatRandomOneOverPtGunProducer.produce(), CastorFastTowerProducer.produce(), CastorFastClusterProducer.produce(), MuonSimHitProducer.produce(), EcalTrivialConditionRetriever.produceEcalLaserAPDPNRatios(), RPCpg.rate(), evf::BUFUInterface.registerBU(), evf::BUFUInterface.registerFU(), SoftLepton.relativeEta(), cond::SQLMonitoringService.report(), cond::SQLMonitoringService.reportToOutputStream(), EvolutionECAL.ResolutionConstantTermEM50GeV(), ElectronLikelihood.resultLog(), EcalClusterTools.roundnessSelectedBarrelRecHits(), ecaldqm::ClusterTask.runOnBasicClusters(), RecoTracktoTP.s_eta(), TPtoRecoTrack.s_eta(), LandauFP420.SampleFluctuations(), TrackerMap.save(), TrackerMap.save_as_fectrackermap(), TrackerMap.save_as_fedtrackermap(), TrackerMap.save_as_HVtrackermap(), TrackerMap.save_as_psutrackermap(), BSFitter.scanPDF(), EcalClusterTools.scLocalCovariances(), evf::BUProxy.sendAllocate(), evf::BUProxy.sendDiscard(), HDRShower.setFuncParam(), PFElectronAlgo.SetIDOutputs(), SiPixelRecHitQuality::Packing.setProbabilityQ(), SiPixelRecHitQuality::Packing.setProbabilityXY(), HBHEPulseShapeFlagSetter.SetPulseShapeFlags(), GaussianTail.shoot(), SiG4UniversalFluctuation.SiG4UniversalFluctuation(), WeakEffectsWeightProducer.sigma0_qqbarll(), cscdqm::Utility.SignificanceLevelHigh(), cscdqm::Utility.SignificanceLevelLow(), RPCSimParam.simulate(), GflashShowino.simulateFirstInteractionPoint(), VVIObjDetails.sincosint(), sistripvvi::VVIObjDetails.sincosint(), smearFunctionBase.smearEta(), HepMCValidationHelper.sortByRapidity(), PrimaryVertexAnalyzer4PU.supf(), TBposition(), hitfit.theta_to_eta(), MuonNavigableLayer.trackingRange(), muon.trackProbability(), TtFullHadSignalSel.TtFullHadSignalSel(), HcalNumberingFromDDD.unitID(), PrintGeomInfoAction.update(), PrintGeomMatInfo.update(), EcalSimHitsValidProducer.update(), HcalTestAnalysis.update(), TrackingVerboseAction.update(), HcalTB02Analysis.update(), DoCastorAnalysis.update(), CastorTestAnalysis.update(), ZdcTestAnalysis.update(), FP420Test.update(), BscTest.update(), FWPFLegoRecHit.updateScale(), IncompleteGammaComplement.value(), cond::XMLAuthenticationService::XMLAuthenticationService.verifyFileName(), VVIObj.VVIObj(), sistripvvi::VVIObj.VVIObj(), kinem.y(), and EMECALShowerParametrization.z1().

tuple create_public_lumi_plots.log_setting = False

Definition at line 1101 of file create_public_lumi_plots.py.

string create_public_lumi_plots.log_suffix = ""

Definition at line 1148 of file create_public_lumi_plots.py.

create_public_lumi_plots.logo_name = color_scheme.logo_name

Definition at line 1092 of file create_public_lumi_plots.py.

list create_public_lumi_plots.lumi_data = lumi_data_by_day_per_year[year]

Definition at line 1034 of file create_public_lumi_plots.py.

dictionary create_public_lumi_plots.lumi_data_by_day = {}

Definition at line 880 of file create_public_lumi_plots.py.

dictionary create_public_lumi_plots.lumi_data_by_day_per_year = {}

Definition at line 941 of file create_public_lumi_plots.py.

dictionary create_public_lumi_plots.lumi_data_by_week = {}

Definition at line 911 of file create_public_lumi_plots.py.

dictionary create_public_lumi_plots.lumi_data_by_week_per_year = {}

Definition at line 923 of file create_public_lumi_plots.py.

dictionary create_public_lumi_plots.lumi_data_by_year = {}

Definition at line 933 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.lumi_data_day = LumiDataBlock()

Definition at line 884 of file create_public_lumi_plots.py.

string create_public_lumi_plots.lumicalc_cmd = "%s %s"

Definition at line 724 of file create_public_lumi_plots.py.

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

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

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

Definition at line 481 of file create_public_lumi_plots.py.

string create_public_lumi_plots.marker = "."

Definition at line 1803 of file create_public_lumi_plots.py.

Referenced by fireworks.addDashedArrow(), fireworks.addDashedLine(), FWPhotonLegoProxyBuilder.build(), FWMuonGlimpseProxyBuilder.build(), FWElectronLegoProxyBuilder.build(), FWElectronGlimpseProxyBuilder.build(), FWTauProxyBuilderBase.buildBaseTau(), and FWMETProxyBuilder.buildViewType().

tuple create_public_lumi_plots.max_del = max(weights_del)

Definition at line 1172 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.max_inst = max(weights_del_inst)

Definition at line 1113 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.max_rec = max(weights_rec)

Definition at line 1173 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.min_del = min(weights_del_for_cum)

Definition at line 1223 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.min_val = min(weights_del_inst)

Definition at line 1103 of file create_public_lumi_plots.py.

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

Definition at line 774 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.num_cols = None

Definition at line 1826 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.num_days = (date_end - date_begin)

Definition at line 652 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.num_lines_0 = len(open(cache_file_tmp).readlines())

Definition at line 759 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.num_lines_1 = len(open(cache_file_path).readlines())

Definition at line 782 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.num_lines_2 = len(open(cache_file_path).readlines())

Definition at line 797 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.num_lines_3 = len(open(cache_file_path).readlines())

Definition at line 855 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.num_lines_4 = len(open(cache_file_dbg).readlines())

Definition at line 856 of file create_public_lumi_plots.py.

int create_public_lumi_plots.NUM_SEC_IN_LS = 2

Definition at line 60 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.num_weeks = week_hi.isocalendar()

Definition at line 1316 of file create_public_lumi_plots.py.

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

Definition at line 549 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.output_0 = copy.deepcopy(output)

Definition at line 734 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.output_1 = copy.deepcopy(output)

Definition at line 843 of file create_public_lumi_plots.py.

list create_public_lumi_plots.particle_type_str = particle_type_strings[accel_mode]

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

tuple create_public_lumi_plots.path_name = CacheFilePath(cache_file_dir)

Definition at line 623 of file create_public_lumi_plots.py.

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

int create_public_lumi_plots.scale_factor_2010 = 10

Definition at line 1735 of file create_public_lumi_plots.py.

int create_public_lumi_plots.sep_line = 50

Definition at line 952 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.str_begin = None

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

tuple create_public_lumi_plots.str_end = None

Definition at line 1073 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 1066 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 1754 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 1069 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 1051 of file create_public_lumi_plots.py.

Referenced by ZdcTBAnalyzer.analyze(), xmas2dqm::wse::XmasToDQM.LASReadoutWorkLoop(), and xmas2dqm::wse::XmasToDQM.timeExpired().

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

Definition at line 1050 of file create_public_lumi_plots.py.

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

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

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

Definition at line 958 of file create_public_lumi_plots.py.

int create_public_lumi_plots.tmp_x = .09

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

tuple create_public_lumi_plots.tot_del = sum(weights_del_for_cum)

Definition at line 1224 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.tot_rec = sum(weights_rec_for_cum)

Definition at line 1225 of file create_public_lumi_plots.py.

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

Definition at line 954 of file create_public_lumi_plots.py.

Referenced by AlignableSiStripDet.AlignableSiStripDet(), CocoaUnitDefinition.GetCategory(), ALIUnitDefinition.GetCategory(), CocoaUnitDefinition.GetValueOf(), ALIUnitDefinition.GetValueOf(), HcalNumberingFromDDD.HcalCellTypes(), SiPixelFedCablingMapBuilder.produce(), MatacqProducer.runSubDir(), HcalHotCellMonitor.setup(), HcalDeadCellMonitor.setup(), HcalObjRepresent.setup(), HcalObjRepresent::ADataRepr.setup(), HcalNumberingFromDDD.unitID(), and HcalNumberingFromDDD.unitPhi().

tuple create_public_lumi_plots.use_cache = (not ignore_cache)

Definition at line 684 of file create_public_lumi_plots.py.

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

Definition at line 550 of file create_public_lumi_plots.py.

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

Definition at line 478 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.week = day_cur.isocalendar()

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

tuple create_public_lumi_plots.week_end = date_end.isocalendar()

Definition at line 641 of file create_public_lumi_plots.py.

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

Definition at line 1310 of file create_public_lumi_plots.py.

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

Definition at line 1308 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.weeks = []

Definition at line 655 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.weights_del = lumi_data.lum_del(units)

Definition at line 1054 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.weights_del_for_cum = lumi_data.lum_del(units)

Definition at line 1058 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.weights_del_inst = lumi_data.lum_inst_max(units)

Definition at line 1062 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.weights_inst = lumi_data.lum_inst_max(units)

Definition at line 1766 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.weights_rec = lumi_data.lum_rec(units)

Definition at line 1055 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.weights_rec_for_cum = lumi_data.lum_rec(units)

Definition at line 1059 of file create_public_lumi_plots.py.

list create_public_lumi_plots.weights_tmp = None

Definition at line 1795 of file create_public_lumi_plots.py.

int create_public_lumi_plots.width = 0

Definition at line 1026 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(), ecaldqm::MESetTrend.book(), 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(), SiStripInformationExtractor.getCondDBHistos(), SiStripInformationExtractor.getGlobalHistos(), SiStripInformationExtractor.getHistosFromPath(), SiPixelInformationExtractor.getHistosFromPath(), SiStripGainFromData.getPeakOfLandau(), OpticalObject.getPlate(), SiStripInformationExtractor.getSingleModuleHistos(), SiPixelInformationExtractor.getSingleModuleHistos(), SiStripInformationExtractor.getTrackerMapHistos(), SiPixelInformationExtractor.getTrackerMapHistos(), OptOCubeSplitter.getUpperPlate(), CSCValidation.getWidth(), HcalPedestalAnalysis.HcalPedVal(), DreamSD.initMap(), edm::service::ELtsErrorLog.item(), CustomParticleFactory.loadCustomParticles(), DDDividedPolyconeRho.makeDDLogicalPart(), DDDividedPolyhedraRho.makeDDLogicalPart(), CastorDbHardcode.makeGain(), CastorDbHardcode.makePedestal(), CastorDbHardcode.makePedestalWidth(), FWTableManagerBase.maxWidthForColumns(), SiStripMonitorMuonHLT.Normalizer(), edm::service.operator<<(), MuonResiduals5DOFFitter.plot(), MuonResiduals6DOFFitter.plot(), MuonResiduals6DOFrphiFitter.plot(), TwoBowedSurfacesDeformation.positionCorrection(), RecoTauPiZeroProducer.print(), TrackerMap.printall(), SiStripClusterToDigiProducer.process(), ShallowClustersProducer.produce(), CastorClusterProducer.produce(), SiStripInformationExtractor.readStatusMessage(), SiPixelInformationExtractor.readStatusMessage(), Vispa.Views.PropertyView.PropertyView.resizeEvent(), CSGAction.resizeMenuEntry(), Vispa.Views.PropertyView.PropertyView.sectionResized(), edm::DocFormatHelper.setAtLeast1(), edm::DocFormatHelper.setAtLeast2(), edm::DocFormatHelper.setAtLeast3(), SiStripHistoPlotter.setNewCondDBPlot(), SiPixelHistoPlotter.setNewPlot(), SiStripHistoPlotter.setNewPlot(), dqmTnP::VoigtianPlusExponentialFitter.setup(), FWGUIManager.setWindowInfoFrom(), ecaldqm::MESetTrend.shift_(), 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 1812 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 1814 of file create_public_lumi_plots.py.

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

Definition at line 1813 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.year = day_cur.isocalendar()

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

tuple create_public_lumi_plots.year_end = date_end.isocalendar()

Definition at line 643 of file create_public_lumi_plots.py.

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

Definition at line 654 of file create_public_lumi_plots.py.

int create_public_lumi_plots.zoom = .97

Definition at line 1851 of file create_public_lumi_plots.py.