CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Namespaces | Functions | Variables
create_public_pileup_plots.py File Reference

Go to the source code of this file.

Namespaces

 create_public_pileup_plots
 

Functions

def create_public_pileup_plots.TweakPlot
 

Variables

tuple create_public_pileup_plots.arg_parser = optparse.OptionParser(description=desc_str)
 
tuple create_public_pileup_plots.ax = fig.add_subplot(111)
 
list create_public_pileup_plots.bin_edges
 
tuple create_public_pileup_plots.cache_file_dir = cfg_parser.get("general", "cache_dir")
 
dictionary create_public_pileup_plots.cfg_defaults
 
tuple create_public_pileup_plots.cfg_parser = ConfigParser.SafeConfigParser(cfg_defaults)
 
string create_public_pileup_plots.cmd = "pileupCalc.py -i %s --inputLumiJSON=%s %s %s"
 
tuple create_public_pileup_plots.cms_energy_str = cfg_parser.get("general", "cms_energy_str")
 
 create_public_pileup_plots.color_fill_pileup = color_scheme.color_fill_pileup
 
 create_public_pileup_plots.color_line_pileup = color_scheme.color_line_pileup
 
tuple create_public_pileup_plots.color_scheme = ColorScheme(color_scheme_name)
 
list create_public_pileup_plots.color_scheme_names = [i.strip() for i in color_scheme_names_tmp.split(",")]
 
tuple create_public_pileup_plots.color_scheme_names_tmp = cfg_parser.get("general", "color_schemes")
 
list create_public_pileup_plots.config_file_name = args[0]
 
string create_public_pileup_plots.desc_str = "This script creates the official CMS pileup plots "
 
 create_public_pileup_plots.edgecolor = color_line_pileup,
 
tuple create_public_pileup_plots.exp = RoundAwayFromZero(math.log10(min_val))
 
 create_public_pileup_plots.facecolor = color_fill_pileup)
 
tuple create_public_pileup_plots.fig = plt.figure()
 
 create_public_pileup_plots.file_suffix = color_scheme.file_suffix
 
 create_public_pileup_plots.fontproperties = FONT_PROPS_SUPTITLE)
 
string create_public_pileup_plots.help = "Ignore all cached PU results "
 
string create_public_pileup_plots.histtype = "stepfilled"
 
string create_public_pileup_plots.horizontalalignment = "right"
 
 create_public_pileup_plots.ignore_cache = options.ignore_cache
 
tuple create_public_pileup_plots.in_file = TFile.Open(tmp_file_name, "READ")
 
tuple create_public_pileup_plots.input_json = cfg_parser.get("general", "input_json")
 
tuple create_public_pileup_plots.input_lumi_json = cfg_parser.get("general", "input_lumi_json")
 
tuple create_public_pileup_plots.is_log = (type == "log")
 
 create_public_pileup_plots.log_setting = False
 
string create_public_pileup_plots.log_suffix = ""
 
 create_public_pileup_plots.logo_name = color_scheme.logo_name
 
tuple create_public_pileup_plots.min_val = min(weights)
 
tuple create_public_pileup_plots.particle_type_str = cfg_parser.get("general", "particle_type_str")
 
tuple create_public_pileup_plots.pileup_hist = in_file.Get("pileup")
 
tuple create_public_pileup_plots.pileupcalc_flags_from_cfg = cfg_parser.get("general", "pileupcalc_flags")
 
tuple create_public_pileup_plots.tmp_file_name = os.path.join(cache_file_dir,"pileup_calc_tmp.root")
 
 create_public_pileup_plots.transform = ax.transAxes,
 
list create_public_pileup_plots.vals
 
tuple create_public_pileup_plots.verbose = cfg_parser.getboolean("general", "verbose")
 
list create_public_pileup_plots.weights
 
tuple create_public_pileup_plots.year = int(cfg_parser.get("general", "year"))