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")
 For running on pre 3.6 files the current needed to determine the magnetic field is taken from Conditions DB. More...
 
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
 
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 348 of file create_public_lumi_plots.py.

Referenced by PlotAllYears().

349 def GetEnergyPerNucleonScaleFactor(amodetag):
350  # DEBUG DEBUG DEBUG
351  assert amodetag in ["IONPHYS", "PAPHYS"]
352  # DEBUG DEBUG DEBUG end
353 
354  res = LEAD_SCALE_FACTOR
355  if amodetag == "PAPHYS":
356  res = math.sqrt(res)
357 
358  # End of GetEnergyPerNucleonScaleFactor().
359  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  },
308  "IONPHYS" : {
309  2011 : {
310  "cum_day" : "ub^{-1}",
311  "cum_week" : "ub^{-1}",
312  "cum_year" : "ub^{-1}",
313  "max_inst" : "Hz/mb",
314  }
315  },
316  "PAPHYS" : {
317  2013 : {
318  "cum_day" : "nb^{-1}",
319  "cum_week" : "nb^{-1}",
320  "cum_year" : "nb^{-1}",
321  "max_inst" : "Hz/mb",
322  }
323  }
324  }
325 
326  units = None
327 
328  try:
329  units = units_spec[accel_mode][year][mode]
330  except KeyError:
331  if mode == "cum_day":
332  units = "pb^{-1}"
333  elif mode == "cum_week":
334  units = "pb^{-1}"
335  elif mode == "cum_year":
336  units = "fb^{-1}"
337  elif mode == "max_inst":
338  units = "Hz/ub"
339 
340  # DEBUG DEBUG DEBUG
341  assert not units is None
342  # DEBUG DEBUG DEBUG end
343 
344  # End of GetUnits().
345  return units
def create_public_lumi_plots.GetXLocator (   ax)
Pick a DateLocator based on the range of the x-axis.

Definition at line 374 of file create_public_lumi_plots.py.

References min, and TweakPlot().

Referenced by TweakPlot().

375 def GetXLocator(ax):
376  """Pick a DateLocator based on the range of the x-axis."""
377  (x_lo, x_hi) = ax.get_xlim()
378  num_days = x_hi - x_lo
379  min_num_ticks = min(num_days, 5)
380  locator = matplotlib.dates.AutoDateLocator(minticks=min_num_ticks,
381  maxticks=None)
382  # End of GetLocator().
383  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 362 of file create_public_lumi_plots.py.

Referenced by PlotAllYears().

363 def NumDaysInYear(year):
364  """Returns the number of days in the given year."""
365 
366  date_lo = datetime.date(year, 1, 1)
367  date_hi = datetime.date(year + 1, 1, 1)
368  num_days = (date_hi - date_lo).days
369 
370  # End of NumDaysInYear().
371  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 1542 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().

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

Definition at line 387 of file create_public_lumi_plots.py.

References GetXLocator().

Referenced by GetXLocator(), and PlotAllYears().

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

Variable Documentation

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

Definition at line 477 of file create_public_lumi_plots.py.

create_public_lumi_plots.add_extra_head_room = is_log)

Definition at line 1262 of file create_public_lumi_plots.py.

create_public_lumi_plots.amodetag_bug_workaround = False

Definition at line 485 of file create_public_lumi_plots.py.

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

Definition at line 437 of file create_public_lumi_plots.py.

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

Definition at line 1732 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.ax = fig.add_subplot(111)

Definition at line 1097 of file create_public_lumi_plots.py.

Referenced by addWindowInfoTo(), FreeTrajectoryState.canReach(), FWCollectionSummaryWidget.colorClicked(), ClusterShape.determineShape(), FastHisto2D.FastHisto2D(), FWGeometryTableViewBase::FWViewCombo.HandleButton(), FWColorSelect.HandleButton(), EEDetId.iPhiOuterRing(), EEDetId.isOuterRing(), TopologyWorker.planes_sphe(), TopologyWorker.planes_sphe_wei(), TopologyWorker.planes_thrust(), DDLDivision.processElement(), GoodSeedProducer.PSforTMVA(), MEGeom.setBinGlobalHist(), and FWGUIValidatingTextEntry.showOptions().

list create_public_lumi_plots.beam_energy = None

Definition at line 494 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  "IONPHYS" : {2010 : 3500.,
6  2011 : 3500.},
7  "PAPHYS" : {2013 : 4000.}
8  }

Definition at line 557 of file create_public_lumi_plots.py.

create_public_lumi_plots.beam_energy_from_cfg = None

Definition at line 495 of file create_public_lumi_plots.py.

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

Definition at line 491 of file create_public_lumi_plots.py.

list create_public_lumi_plots.beam_fluctuation = None

Definition at line 507 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  "IONPHYS" : {2010 : .15,
6  2011 : .15},
7  "PAPHYS" : {2013 : .15}
8  }

Definition at line 565 of file create_public_lumi_plots.py.

create_public_lumi_plots.beam_fluctuation_from_cfg = None

Definition at line 508 of file create_public_lumi_plots.py.

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

Definition at line 504 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 1036 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 826 of file create_public_lumi_plots.py.

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

Definition at line 470 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.cache_file_path = CacheFilePath(cache_file_dir, day)

Definition at line 677 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 678 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 450 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.cfg_parser = ConfigParser.SafeConfigParser(cfg_defaults)

Definition at line 459 of file create_public_lumi_plots.py.

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

Definition at line 719 of file create_public_lumi_plots.py.

int create_public_lumi_plots.cms_energy = 2

Definition at line 1015 of file create_public_lumi_plots.py.

string create_public_lumi_plots.cms_energy_str = "???"

Definition at line 1016 of file create_public_lumi_plots.py.

list create_public_lumi_plots.color = color_by_year[year]

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

create_public_lumi_plots.color_fill_del = color_scheme.color_fill_del

Definition at line 1075 of file create_public_lumi_plots.py.

create_public_lumi_plots.color_fill_peak = color_scheme.color_fill_peak

Definition at line 1077 of file create_public_lumi_plots.py.

create_public_lumi_plots.color_fill_rec = color_scheme.color_fill_rec

Definition at line 1076 of file create_public_lumi_plots.py.

create_public_lumi_plots.color_line_del = color_scheme.color_line_del

Definition at line 1078 of file create_public_lumi_plots.py.

create_public_lumi_plots.color_line_peak = color_scheme.color_line_peak

Definition at line 1080 of file create_public_lumi_plots.py.

create_public_lumi_plots.color_line_rec = color_scheme.color_line_rec

Definition at line 1079 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.color_scheme = ColorScheme(color_scheme_name)

Definition at line 1074 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 468 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 467 of file create_public_lumi_plots.py.

list create_public_lumi_plots.config_file_name = args[0]

Definition at line 447 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 519 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 681 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.date_begin_str = day.strftime(DATE_FMT_STR_LUMICALC)

Definition at line 680 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.date_end = None

Definition at line 521 of file create_public_lumi_plots.py.

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

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

create_public_lumi_plots.day_cur = date_begin

Definition at line 648 of file create_public_lumi_plots.py.

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

Definition at line 1030 of file create_public_lumi_plots.py.

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

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

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

Definition at line 740 of file create_public_lumi_plots.py.

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

Definition at line 1093 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(), HCALRecHitAnalyzer.analyze(), ESTimingTask.analyze(), ElectronSeedAnalyzer.analyze(), edm::FlatEGunASCIIWriter.analyze(), EERecoSummary.analyze(), EBRecoSummary.analyze(), HLTAlCaMonPi0.analyze(), DQMSourcePi0.analyze(), HLTAlCa.analyze(), HLTEgamma.analyze(), ResolutionAnalyzer.analyze(), res::HelperMET.b(), res::HelperElectron.b(), res::HelperMuon.b(), res::HelperJet.b(), magfieldparam::TkBfield.Bcyl(), GsfBetheHeitlerUpdator.BetheHeitlerMean(), GsfBetheHeitlerUpdator.BetheHeitlerVariance(), 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(), CutBasedElectronID.cicSelection(), NuclearInteractionSimulator.compute(), EcalUncalibRecHitRatioMethodAlgo< C >.computeAmplitude(), CastorPulseShapes.computeCastorShape(), TMarkov.computeChain(), DeDxDiscriminatorProducer.ComputeDiscriminator(), VolumeEnergyLossEstimator.computeElectrons(), EnergyLossUpdator.computeElectrons(), HcalPulseShapes.computeHFShape(), HcalPulseShapes.computeHPDShape(), HFCherenkov.computeNPE(), HFCherenkov.computeQEff(), TBPositionCalc.computeRotation(), CastorShape.computeShapeCastor(), ZDCShape.computeShapeZDC(), EcalUncalibRecHitRatioMethodAlgo< C >.computeTime(), ElectronEnergyCalibrator.correctLinearity(), ZeeKinematicTools.cosThetaElectrons_SC(), ZeeKinematicTools.cosThetaElectrons_TK(), crystalball(), CSCDriftSim.CSCDriftSim(), res::HelperMET.d(), res::HelperElectron.d(), res::HelperMuon.d(), res::HelperJet.d(), Dcxprobab(), ChargeDividerFP420.DeconvolutionShape(), egammaisolation::EgammaRecHitExtractor.deposit(), egammaisolation::EgammaHcalExtractor.deposit(), egammaisolation::EgammaEcalExtractor.deposit(), egammaisolation::EgammaTowerExtractor.deposit(), DetIdAssociator.DetIdAssociator(), Exhume::CrossSection.Differential(), HLTEcalResonanceFilter.doSelection(), DthetaDeta(), UncatchedException.dump(), ProcessNormalization.dump(), DAClusterizerInZ.dump(), Pi0FixedMassWindowCalibration.duringLoop(), ZeeCalibration.duringLoop(), EcalTBMCInfoProducer.EcalTBMCInfoProducer(), eCorr(), SingleParticleEvent.Eloss(), EMShower.EMShower(), 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(), AsymPow.evaluate(), RooCB.evaluate(), ProcessNormalization.evaluate(), RooCMSShape.evaluate(), RooDoubleCB.evaluate(), RooqqZZPdf.evaluate(), RooFermi.evaluate(), RooggZZPdf.evaluate(), RooqqZZPdf_v2.evaluate(), RooLevelledExp.evaluate(), RooggZZPdf_v2.evaluate(), RooBetaFunc_v2.evaluate(), Roo4lMasses2D_Bkg.evaluate(), Roo4lMasses2D_BkgGGZZ.evaluate(), Roo4lMasses2D.evaluate(), RooFourMuMassRes.evaluate(), RooFourEMassRes.evaluate(), RooTwoETwoMuMassRes.evaluate(), FastTemplate.Exp(), PhotonFix.expCorrection(), VVIObjDetails.expint(), 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(), cms::HICFTSfromL1orL2.FTSfromL1(), 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(), 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(), GsfBetheHeitlerUpdator.getMixtureParameters(), CaloCellId.getThetaCell(), HFGflash.gfParameterization(), HcalTB04Analysis.HcalTB04Analysis(), HcalTB06Analysis.HcalTB06Analysis(), HcalHFStatusBitFromDigis.hfSetFlagFromDigi(), HcalSiPM.hitCells(), HLTEgammaGenericFilter.hltFilter(), HLTEgammaGenericQuadraticEtaFilter.hltFilter(), HLTEgammaGenericQuadraticFilter.hltFilter(), GflashHadronShowerProfile.hoProfile(), 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(), RooFit.Lgg_7(), CSCTFPtMethods.Likelihood(), CSCTFPtMethods.Likelihood2011(), IncompleteGammaComplement.ln(), GflashKaonPlusShowerProfile.loadParameters(), GflashKaonMinusShowerProfile.loadParameters(), GflashProtonShowerProfile.loadParameters(), GflashAntiProtonShowerProfile.loadParameters(), GflashPiKShowerProfile.loadParameters(), GsfBetheHeitlerUpdator.logisticFunction(), 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(), 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(), 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()(), backgroundFunctionType11.operator()(), GflashEMShowerProfile.parameterization(), BSpdfsFcn.PDFGauss_d(), BSpdfsFcn.PDFGauss_d_resolution(), BSpdfsFcn.PDFGauss_z(), ChargeDividerFP420.PeakShape(), EcalUncalibRecHitFixedAlphaBetaAlgo< C >.PerformAnalyticFit(), L1GctJetFinderParams.pfCorrect(), res::HelperMuon.phi(), res::HelperElectron.phi(), res::HelperJet.phi(), res::HelperMET.phi(), DeterministicAnnealing.phi(), GeometricAnnealing.phi(), EMECALShowerParametrization.pHom(), TopologyWorker.planes_sphe(), TopologyWorker.planes_sphe_wei(), BremsstrahlungSimulator.poisson(), MuonBremsstrahlungSimulator.poisson(), reweight::PoissonMeanShifter.PoissonMeanShifter(), ElectronSqPtTkIsolationProducer.produce(), edm::FlatRandomOneOverPtGunProducer.produce(), edm::FlatRandomPtGunProducer.produce(), edm::FlatRandomEGunProducer.produce(), edm::MultiParticleInConeGunProducer.produce(), edm::MultiParticleInConeGunSource.produce(), edm::ExpoRandomPtGunSource.produce(), edm::FlatRandomPtGunSource.produce(), edm::ExpoRandomPtGunProducer.produce(), edm::FlatRandomEGunSource.produce(), EcalDigiSelector.produce(), TtSemiLepHitFitProducer< LeptonCollection >.produce(), PreshowerClusterShapeProducer.produce(), PiZeroDiscriminatorProducer.produce(), EgammaHLTEcalRecIsolationProducer.produce(), EgammaEcalRecHitIsolationProducer.produce(), L2MuonSeedGenerator.produce(), MuonSimHitProducer.produce(), DebugProposal.Propose(), EMECALShowerParametrization.pSam(), EcalUncalibRecHitRecAnalFitAlgo< EBDataFrame >.pulseShapeFunction(), EcalUncalibRecHitFixedAlphaBetaAlgo< C >.pulseShapeFunction(), TFParams.pulseShapepj(), TFParams.pulseShapepj2(), DAClusterizerInZ.purge(), RPCpg.rate(), EMECALShowerParametrization.rCSam(), HcalSimpleRecAlgo.reconstruct(), HITRegionalPixelSeedGenerator.regions(), PFCandConnector.rescaleFactor(), PFJetFilter.response(), RooFit.rho(), 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(), pat::ObjectSpatialResolution< T >.smearAngles(), DAClusterizerInZ.split(), SingleParticleEvent.subtractEloss(), PrimaryVertexAnalyzer4PU.supf(), VerticalInterpHistPdf.syncTotal(), 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(), RPCConst.vxMuRate(), edm::Lumi3DReWeighting.weight3D_init(), reweight::LumiReWeighting.weight3D_init(), and ECALRecHitAnalyzer.WriteECALRecHits().

create_public_lumi_plots.facecolor = color_line_peak,

Definition at line 1109 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.fig = plt.figure()

Definition at line 1084 of file create_public_lumi_plots.py.

create_public_lumi_plots.file_suffix = color_scheme.file_suffix

Definition at line 1082 of file create_public_lumi_plots.py.

create_public_lumi_plots.fontproperties = FONT_PROPS_SUPTITLE)

Definition at line 1124 of file create_public_lumi_plots.py.

int create_public_lumi_plots.head_room = 2

Definition at line 1831 of file create_public_lumi_plots.py.

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

Definition at line 439 of file create_public_lumi_plots.py.

string create_public_lumi_plots.helper_str = ""

Definition at line 953 of file create_public_lumi_plots.py.

string create_public_lumi_plots.histtype = "stepfilled"

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

tuple create_public_lumi_plots.in_file = open(cache_file_path)

Definition at line 878 of file create_public_lumi_plots.py.

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

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

Definition at line 1089 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 1110 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 665 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 1178 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 879 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.lines_ori = open(cache_file_tmp)

Definition at line 762 of file create_public_lumi_plots.py.

list create_public_lumi_plots.lines_to_be_kept = []

Definition at line 761 of file create_public_lumi_plots.py.

string create_public_lumi_plots.linestyle = "none"

Definition at line 1782 of file create_public_lumi_plots.py.

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

create_public_lumi_plots.log = log_setting,

Definition at line 1108 of file create_public_lumi_plots.py.

Referenced by ProcessNormalization.addAsymmLogNormal(), ProcessNormalization.addLogNormal(), WeakEffectsWeightProducer.alphaQED(), FSRWeightProducer.alphaRatio(), RooPower.analyticalIntegral(), DQMHOAlCaRecoStream.analyze(), HcalNoiseMonitor.analyze(), ESTimingTask.analyze(), evf::ExceptionGenerator.analyze(), ZMuMuEfficiency.analyze(), MCPhotonAnalyzer.analyze(), DQMSourceExample.analyze(), ValidationMisalignedTracker.analyze(), L1CondDBIOVWriter.analyze(), EcalPreshowerSimHitsValidation.analyze(), L1O2OTestAnalyzer.analyze(), TrackerHitAnalyzer.analyze(), EcalSimHitsValidation.analyze(), EcalRecHitsValidation.analyze(), EcalDigisValidation.analyze(), PrimaryVertexAnalyzer4PU.analyzeVertexCollection(), PrimaryVertexAnalyzer4PU.analyzeVertexCollectionTP(), PhotonFix.asinh(), ggPFClusters.BasicClusterPFCandLink(), TopDiLeptonDQM.beginJob(), TopHLTDiMuonDQM.beginJob(), EnergyLossProducer.beginRun(), DAClusterizerInZ.beta0(), GsfBetheHeitlerUpdator.BetheHeitlerVariance(), BremsstrahlungSimulator.brem(), evf::BU.BU(), FWPFEcalRecHitLegoProxyBuilder.build(), CSCSectorReceiverMiniLUT.calcGlobalEtaMEMini(), LRHelpFunctions.calcLRval(), ClusterShapeAlgo.Calculate_Covariances(), ClusterShapeAlgo.Calculate_EnergyDepTopology(), PositionCalc.Calculate_Location(), PFClusterAlgo.calculateClusterPosition(), TBPositionCalc.CalculateCMSPos(), calculateEta(), MuonNavigationSchool.calculateEta(), MuonTkNavigationSchool.calculateEta(), DirectTrackerNavigation.calculateEta(), RoadSearchCircleSeed.calculateEta(), ConversionLikelihoodCalculator.calculateLikelihood(), EcalClusterTools.cluster2ndMoments(), MultipleScatteringUpdator.compute(), GsfMultipleScatteringUpdator.compute(), MultipleScatteringSimulator.compute(), PairProductionSimulator.compute(), EnergyLossSimulator.compute(), BremsstrahlungSimulator.compute(), NuclearInteractionSimulator.compute(), EcalUncalibRecHitRatioMethodAlgo< C >.computeAmplitude(), VolumeEnergyLossEstimator.computeBetheBloch(), EnergyLossUpdator.computeBetheBloch(), TMarkov.computeChain(), DeDxDiscriminatorProducer.ComputeDiscriminator(), VolumeEnergyLossEstimator.computeElectrons(), EnergyLossUpdator.computeElectrons(), HDRShower.computeShower(), EcalUncalibRecHitRatioMethodAlgo< C >.computeTime(), EBSelectiveReadoutTask.configFirWeights(), EESelectiveReadoutTask.configFirWeights(), EcalSelectiveReadoutValidation.configFirWeights(), DDHCalBarrelAlgo.constructMidLayer(), DDHCalBarrelAlgo.constructSideLayer(), EGEnergyCorrector.CorrectedEnergyWithError(), MuonMETAlgo.correctMETforMuon(), VVIObjDetails.cosint(), PFClusterShapeAlgo.covariances(), EcalClusterTools.covariances(), DisplayManager.createGRecHit(), cond::RelationalAuthenticationService::RelationalAuthenticationService.credentials(), gen::TauolaInterface.decay(), gen::TauolappInterface.decay(), Histograms.declareHistograms(), CastorTimeSlew.delay(), HcalTimeSlew.delay(), SimpleSecondaryVertexComputer.discriminator(), JetBProbabilityComputer.discriminator(), PF_PU_AssoMapAlgos.dR(), ChargeDrifterFP420.drift(), SiLinearChargeCollectionDrifter.drift(), DAClusterizerInZ.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(), GsfElectronDataAnalyzer.endJob(), GsfElectronFakeAnalyzer.endJob(), GsfElectronMCFakeAnalyzer.endJob(), GsfElectronMCAnalyzer.endJob(), VolumeMultipleScatteringEstimator.estimate(), kinem.eta(), Geom::OnePiRange< T >.eta(), reco::GhostTrackPrediction.eta(), RawParticle.eta(), cscdqm::Detector.Eta(), fastmath.etaphi(), etaRel(), PhotonsWithConversionsAnalyzer.etaTransformation(), SimpleConvertedPhotonAnalyzer.etaTransformation(), MCElectronAnalyzer.etaTransformation(), MCPhotonAnalyzer.etaTransformation(), MCPizeroAnalyzer.etaTransformation(), SimplePhotonAnalyzer.etaTransformation(), TkConvValidator.etaTransformation(), PhotonValidator.etaTransformation(), ConversionProducer.etaTransformation(), VariablePower.eval(), ESRecHitAnalyticAlgo.EvalAmplitude(), ESRecHitSimAlgo.EvalAmplitude(), ProfiledLikelihoodRatioTestStat.Evaluate(), SimplerLikelihoodRatioTestStat.Evaluate(), cacheutils::CachingAddNLL.evaluate(), cacheutils::CachingSimNLL.evaluate(), PFPhotonAlgo.EvaluateLCorrMVA(), DDHCalFibreBundle.execute(), EnergyLossPlain.expected(), VVIObjDetails.expint(), VVIObjDetails.f1(), VVIObjDetails.f2(), 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(), ECalSD.getBirkL3(), SteppingHelixPropagator.getDeDx(), reco::PFCluster.getDepthCorrection(), DetIdAssociator.getDetIdsCloseToAPoint(), ZdcSD.getEnergyDeposit(), CastorSD.getEnergyDeposit(), EcalClusterTools.getEnergyDepTopology(), HcalNumberingFromDDD.getEta(), TopologyWorker.getetaphi(), IsolatedPixelTrackCandidateProducer.GetEtaPhiAtEcal(), PythiaFilterIsolatedTrack.GetEtaPhiAtEcal(), HCALResponse.getHCALEnergyResponse(), CastorShowerLibraryMaker.GetKinematics(), HcalTB06BeamSD.getNames(), MaterialBudgetHcalHistos.getNames(), HCalSD.getNames(), 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(), cond::XMLAuthenticationService::XMLAuthenticationService.initialize(), ParticlePropagator.initProperDecayTime(), reco::TrackProbabilityTagInfo.jetProbability(), JetProbabilityComputer.jetProbability(), JetBProbabilityComputer.jetProbability(), EMECALShowerParametrization.k4(), LandauFP420.LandauFP420(), RooFit.Lgg_7(), CSCTFPtMethods.Likelihood(), likelihood(), CSCTFPtMethods.Likelihood2(), CSCTFPtMethods.Likelihood2011(), CSCTFPtMethods.Likelihood2_2011(), IncompleteGammaComplement.ln(), GaussianSumUtilities1D.lnPdf(), CaloTPGTranscoderULUT.loadHCALCompress(), GflashAntiProtonShowerProfile.loadParameters(), GflashPiKShowerProfile.loadParameters(), GflashKaonMinusShowerProfile.loadParameters(), GflashKaonPlusShowerProfile.loadParameters(), GflashProtonShowerProfile.loadParameters(), EcalClusterLocal.localCoordsEB(), ggPFClusters.localCoordsEB(), EcalClusterLocal.localCoordsEE(), ggPFClusters.localCoordsEE(), EcalClusterTools.localCovariances(), ggPFClusters.LocalEnergyCorrection(), fit::Likelihood< Sample, PDF, Yield >.log(), FastTemplate.Log(), fit::Likelihood< Sample, PDF, NoExtendedLikelihood >.log(), CSCCrossGap.logGamma(), AsymPow.logKappaForX(), fit::Likelihood< Sample, PDF, Yield >.logNFactorial(), SteppingHelixPropagator.makeAtomStep(), HFClusterAlgo.makeCluster(), 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(), 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()(), SimG4HcalHitCluster.operator+=(), EnergyLossPlain.optimal(), EMECALShowerParametrization.p3(), SiPixelRecHitQuality::Packing.Packing(), GflashEMShowerProfile.parameterization(), Generator.particlePassesPrimaryCuts(), reco::PFCandidateElectronExtra.PFCandidateElectronExtra(), PFPhotonClusters.PFCrystalCoor(), PFSCEnergyCalibration.PFSCEnergyCalibration(), SiPixelTemplateSplit.PixelTempSplit(), 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(), RPCpg.rate(), evf::BUFUInterface.registerBU(), evf::BUFUInterface.registerFU(), SoftLepton.relativeEta(), cond::SQLMonitoringService.report(), cond::SQLMonitoringService.reportToOutputStream(), ElectronLikelihood.resultLog(), EcalClusterTools.roundnessSelectedBarrelRecHits(), RoadSearchSeedFinderAlgorithm.run(), Asymptotic.runLimit(), HybridNew.runLimit(), ecaldqm::ClusterTask.runOnBasicClusters(), RecoTracktoTP.s_eta(), TPtoRecoTrack.s_eta(), LandauFP420.SampleFluctuations(), SiG4UniversalFluctuation.SampleFluctuations(), BSFitter.scanPDF(), EcalClusterTools.scLocalCovariances(), evf::BUProxy.sendAllocate(), evf::BUProxy.sendDiscard(), HDRShower.setFuncParam(), PFElectronAlgo.SetIDOutputs(), SiPixelRecHitQuality::Packing.setProbabilityQ(), SiPixelRecHitQuality::Packing.setProbabilityXY(), HBHEPulseShapeFlagSetter.SetPulseShapeFlags(), cacheutils::CachingSimNLL.setZeroPoint(), GaussianTail.shoot(), SiG4UniversalFluctuation.SiG4UniversalFluctuation(), WeakEffectsWeightProducer.sigma0_qqbarll(), cscdqm::Utility.SignificanceLevelHigh(), cscdqm::Utility.SignificanceLevelLow(), RPCSimParam.simulate(), GflashShowino.simulateFirstInteractionPoint(), VVIObjDetails.sincosint(), pat::ObjectSpatialResolution< T >.smearAngles(), smearFunctionBase.smearEta(), HepMCValidationHelper.sortByRapidity(), MSLayersAtAngle.sum2RmRn(), PrimaryVertexAnalyzer4PU.supf(), VerticalInterpHistPdf.syncComponent(), TBposition(), hitfit.theta_to_eta(), MuonNavigableLayer.trackingRange(), muon.trackProbability(), TtFullHadSignalSel.TtFullHadSignalSel(), HcalNumberingFromDDD.unitID(), PrintGeomInfoAction.update(), EcalSimHitsValidProducer.update(), HcalTestAnalysis.update(), TrackingVerboseAction.update(), HcalTB02Analysis.update(), DoCastorAnalysis.update(), ZdcTestAnalysis.update(), CastorTestAnalysis.update(), FP420Test.update(), BscTest.update(), FWPFLegoRecHit.updateScale(), IncompleteGammaComplement.value(), cond::XMLAuthenticationService::XMLAuthenticationService.verifyFileName(), VVIObj.VVIObj(), kinem.y(), and EMECALShowerParametrization.z1().

tuple create_public_lumi_plots.log_setting = False

Definition at line 1090 of file create_public_lumi_plots.py.

string create_public_lumi_plots.log_suffix = ""

Definition at line 1137 of file create_public_lumi_plots.py.

create_public_lumi_plots.logo_name = color_scheme.logo_name

Definition at line 1081 of file create_public_lumi_plots.py.

list create_public_lumi_plots.lumi_data = lumi_data_by_day_per_year[year]

Definition at line 1023 of file create_public_lumi_plots.py.

dictionary create_public_lumi_plots.lumi_data_by_day = {}

Definition at line 872 of file create_public_lumi_plots.py.

dictionary create_public_lumi_plots.lumi_data_by_day_per_year = {}

Definition at line 933 of file create_public_lumi_plots.py.

dictionary create_public_lumi_plots.lumi_data_by_week = {}

Definition at line 903 of file create_public_lumi_plots.py.

dictionary create_public_lumi_plots.lumi_data_by_week_per_year = {}

Definition at line 915 of file create_public_lumi_plots.py.

dictionary create_public_lumi_plots.lumi_data_by_year = {}

Definition at line 925 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.lumi_data_day = LumiDataBlock()

Definition at line 876 of file create_public_lumi_plots.py.

string create_public_lumi_plots.lumicalc_cmd = "%s %s"

Definition at line 716 of file create_public_lumi_plots.py.

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

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

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

Definition at line 475 of file create_public_lumi_plots.py.

string create_public_lumi_plots.marker = "."

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

tuple create_public_lumi_plots.max_inst = max(weights_del_inst)

Definition at line 1102 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.max_rec = max(weights_rec)

Definition at line 1162 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.min_del = min(weights_del_for_cum)

Definition at line 1212 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.min_val = min(weights_del_inst)

Definition at line 1092 of file create_public_lumi_plots.py.

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

Definition at line 766 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.num_cols = None

Definition at line 1804 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.num_days = (date_end - date_begin)

Definition at line 644 of file create_public_lumi_plots.py.

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

Definition at line 751 of file create_public_lumi_plots.py.

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

Definition at line 774 of file create_public_lumi_plots.py.

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

Definition at line 789 of file create_public_lumi_plots.py.

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

Definition at line 847 of file create_public_lumi_plots.py.

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

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

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

Definition at line 543 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.output_0 = copy.deepcopy(output)

Definition at line 726 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.output_1 = copy.deepcopy(output)

Definition at line 835 of file create_public_lumi_plots.py.

list create_public_lumi_plots.particle_type_str = particle_type_strings[accel_mode]

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

tuple create_public_lumi_plots.path_name = CacheFilePath(cache_file_dir)

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

int create_public_lumi_plots.sep_line = 50

Definition at line 944 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.str_begin = None

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

tuple create_public_lumi_plots.str_end = None

Definition at line 1062 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 1055 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 1736 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 1058 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 1040 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 1039 of file create_public_lumi_plots.py.

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

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

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

Definition at line 950 of file create_public_lumi_plots.py.

int create_public_lumi_plots.tmp_x = .09

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

tuple create_public_lumi_plots.tot_del = sum(weights_del_for_cum)

Definition at line 1213 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.tot_rec = sum(weights_rec_for_cum)

Definition at line 1214 of file create_public_lumi_plots.py.

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

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

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

Definition at line 544 of file create_public_lumi_plots.py.

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

For running on pre 3.6 files the current needed to determine the magnetic field is taken from Conditions DB.

process.load("Configuration.StandardSequences.FrontierConditions_GlobalTag_cff") specify tag: process.GlobalTag.globaltag = 'START36_V10::All' or use auto-cond: from Configuration.AlCa.autoCond import autoCond process.GlobalTag.globaltag = autoCond['mc'] Request EveService Extractor of geometry needed to display it in Eve. Required for "DummyEvelyser".

For running on pre 3.6 files the current needed to determine the magnetic field is taken from Conditions DB.

Required for "DummyEvelyser".

Definition at line 472 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.week = day_cur.isocalendar()

Definition at line 651 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.week_begin = date_begin.isocalendar()

Definition at line 632 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.week_end = date_end.isocalendar()

Definition at line 633 of file create_public_lumi_plots.py.

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

Definition at line 1296 of file create_public_lumi_plots.py.

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

Definition at line 1294 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.weeks = []

Definition at line 647 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.weights_del = lumi_data.lum_del(units)

Definition at line 1043 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.weights_del_for_cum = lumi_data.lum_del(units)

Definition at line 1047 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.weights_del_inst = lumi_data.lum_inst_max(units)

Definition at line 1051 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.weights_inst = lumi_data.lum_inst_max(units)

Definition at line 1748 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.weights_rec = lumi_data.lum_rec(units)

Definition at line 1044 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.weights_rec_for_cum = lumi_data.lum_rec(units)

Definition at line 1048 of file create_public_lumi_plots.py.

list create_public_lumi_plots.weights_tmp = None

Definition at line 1773 of file create_public_lumi_plots.py.

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

Definition at line 1790 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(), RadialStripTopology.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(), and ROOT::Math::Transform3DPJ.SetComponents().

string create_public_lumi_plots.xycoords = "data"

Definition at line 1792 of file create_public_lumi_plots.py.

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

Definition at line 1791 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.year = day_cur.isocalendar()

Definition at line 650 of file create_public_lumi_plots.py.

Referenced by condbon.cdbon_write(), 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 634 of file create_public_lumi_plots.py.

tuple create_public_lumi_plots.year_end = date_end.isocalendar()

Definition at line 635 of file create_public_lumi_plots.py.

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

Definition at line 646 of file create_public_lumi_plots.py.

int create_public_lumi_plots.zoom = .97

Definition at line 1829 of file create_public_lumi_plots.py.