|
tuple | makePlots_datacardsSMHtt.log = logging.getLogger(__name__) |
|
tuple | makePlots_datacardsSMHtt.parser |
|
string | makePlots_datacardsSMHtt.help = "Input directory." |
|
list | makePlots_datacardsSMHtt.default = ["all"] |
|
tuple | makePlots_datacardsSMHtt.args = parser.parse_args() |
|
tuple | makePlots_datacardsSMHtt.sample_settings = samples.Samples() |
|
tuple | makePlots_datacardsSMHtt.binnings_settings = binnings.BinningsDict() |
|
tuple | makePlots_datacardsSMHtt.systematics_factory = systematics.SystematicsFactory() |
|
list | makePlots_datacardsSMHtt.plot_configs = [] |
|
list | makePlots_datacardsSMHtt.output_files = [] |
|
list | makePlots_datacardsSMHtt.merged_output_files = [] |
|
list | makePlots_datacardsSMHtt.hadd_commands = [] |
|
| makePlots_datacardsSMHtt.datacards = None |
|
dictionary | makePlots_datacardsSMHtt.category_replacements = {} |
|
tuple | makePlots_datacardsSMHtt.init_directory = os.path.join(args.output_dir, "init") |
|
string | makePlots_datacardsSMHtt.command = "MorphingSM2016 --control_region=1 --manual_rebin=false --mm_fit=false --ttbar_fit=true --only_init=" |
|
tuple | makePlots_datacardsSMHtt.exit_code = logger.subprocessCall(shlex.split(command)) |
|
tuple | makePlots_datacardsSMHtt.init_cb = ch.CombineHarvester() |
|
string | makePlots_datacardsSMHtt.tmp_input_root_filename_template = "shapes/RWTH/${ANALYSIS}_${CHANNEL}_${BIN}_${SYSTEMATIC}_${ERA}.root" |
|
string | makePlots_datacardsSMHtt.input_root_filename_template = "shapes/RWTH/${ANALYSIS}_${CHANNEL}.inputs-sm-${ERA}-2D.root" |
|
string | makePlots_datacardsSMHtt.bkg_histogram_name_template = "${BIN}/${PROCESS}" |
|
string | makePlots_datacardsSMHtt.sig_histogram_name_template = "${BIN}/${PROCESS}${MASS}" |
|
string | makePlots_datacardsSMHtt.bkg_syst_histogram_name_template = "${BIN}/${PROCESS}_${SYSTEMATIC}" |
|
string | makePlots_datacardsSMHtt.sig_syst_histogram_name_template = "${BIN}/${PROCESS}${MASS}_${SYSTEMATIC}" |
|
| makePlots_datacardsSMHtt.datacard_filename_templates = datacards.configs.htt_datacard_filename_templates |
|
string | makePlots_datacardsSMHtt.output_root_filename_template = "datacards/common/${ANALYSIS}.input_${ERA}.root" |
|
list | makePlots_datacardsSMHtt.jecUncertNames |
|
dictionary | makePlots_datacardsSMHtt.ss_os_factors |
|
dictionary | makePlots_datacardsSMHtt.wj_sf_shifts |
|
dictionary | makePlots_datacardsSMHtt.zmm_cr_factors |
|
string | makePlots_datacardsSMHtt.zmm_cr_0jet_global = "(1.0)" |
|
string | makePlots_datacardsSMHtt.zmm_cr_boosted_global = "(1.0)" |
|
string | makePlots_datacardsSMHtt.zmm_cr_vbf_global = "(1.02)" |
|
dictionary | makePlots_datacardsSMHtt.zmm_cr_factors_official |
|
list | makePlots_datacardsSMHtt.top_pt_reweight_nicks |
|
list | makePlots_datacardsSMHtt.categoriesWithRelaxedIsolationForW |
|
list | makePlots_datacardsSMHtt.categoriesWithRelaxedIsolationForQCD |
|
| makePlots_datacardsSMHtt.do_not_normalize_by_bin_width = args.do_not_normalize_by_bin_width |
|
list | makePlots_datacardsSMHtt.tmp_output_files = [] |
|
tuple | makePlots_datacardsSMHtt.output_file |
|
tuple | makePlots_datacardsSMHtt.categories = datacards.cb.cp() |
|
tuple | makePlots_datacardsSMHtt.categories_save = sorted(categories) |
|
tuple | makePlots_datacardsSMHtt.category = official2private(official_category, category_replacements) |
|
tuple | makePlots_datacardsSMHtt.datacards_per_channel_category = smhttdatacards.SMHttDatacards(cb=datacards.cb.cp().channel([channel]).bin([official_category])) |
|
tuple | makePlots_datacardsSMHtt.exclude_cuts = copy.deepcopy(args.exclude_cuts) |
|
list | makePlots_datacardsSMHtt.higgs_masses = [mass for mass in datacards_per_channel_category.cb.mass_set() if mass != "*"] |
|
tuple | makePlots_datacardsSMHtt.nominal = (shape_systematic == "nominal") |
|
list | makePlots_datacardsSMHtt.list_of_samples = [datacards.configs.process2sample(process) for process in list_of_samples] |
|
string | makePlots_datacardsSMHtt.systematic = "nominal" |
|
string | makePlots_datacardsSMHtt.samples = "\", \"" |
|
| makePlots_datacardsSMHtt.channel = channel, |
|
tuple | makePlots_datacardsSMHtt.ss_os_factor = ss_os_factors.get(category,0.0) |
|
tuple | makePlots_datacardsSMHtt.wj_sf_shift = wj_sf_shifts.get(category,0.0) |
|
tuple | makePlots_datacardsSMHtt.zmm_cr_factor = zmm_cr_factors_official.get(category, "(1.0)") |
|
tuple | makePlots_datacardsSMHtt.config |
|
tuple | makePlots_datacardsSMHtt.systematics_settings = systematics_factory.get(shape_systematic) |
|
list | makePlots_datacardsSMHtt.weightAtIndex = config["weights"] |
|
string | makePlots_datacardsSMHtt.binnings_key = "binningHtt13TeV_" |
|
| makePlots_datacardsSMHtt.histogram_name_template = bkg_histogram_name_templateifnominalelsebkg_syst_histogram_name_template |
|
tuple | makePlots_datacardsSMHtt.PROCESS = datacards.configs.sample2process(sample) |
|
| makePlots_datacardsSMHtt.BIN = official_category, |
|
| makePlots_datacardsSMHtt.SYSTEMATIC = systematic |
|
tuple | makePlots_datacardsSMHtt.tmp_output_file |
|
| makePlots_datacardsSMHtt.DST = output_file, |
|
string | makePlots_datacardsSMHtt.SRC = " " |
|
list | makePlots_datacardsSMHtt.debug_plot_configs = [] |
|
| makePlots_datacardsSMHtt.update_systematics = True |
|
tuple | makePlots_datacardsSMHtt.processes = datacards.cb.cp() |
|
float | makePlots_datacardsSMHtt.add_threshold = 0.05 |
|
dictionary | makePlots_datacardsSMHtt.datacards_cbs = {} |
|
dictionary | makePlots_datacardsSMHtt.datacards_poi_ranges = {} |
|
tuple | makePlots_datacardsSMHtt.channels = cb.channel_set() |
|
tuple | makePlots_datacardsSMHtt.datacards_workspaces = datacards.text2workspace(datacards_cbs, n_processes=args.n_processes) |
|
tuple | makePlots_datacardsSMHtt.datacards_postfit_shapes = datacards.postfit_shapes_fromworkspace(datacards_cbs, datacards_workspaces, False, args.n_processes, "--sampling" + (" --print" if args.n_processes <= 1 else "")) |
|
dictionary | makePlots_datacardsSMHtt.backgrounds_to_merge |
|
dictionary | makePlots_datacardsSMHtt.x_tick_labels |
|
dictionary | makePlots_datacardsSMHtt.texts |
|
dictionary | makePlots_datacardsSMHtt.texts_x |
|
dictionary | makePlots_datacardsSMHtt.vertical_lines |
|
tuple | makePlots_datacardsSMHtt.prefit_postfit_plot_configs = datacards.prefit_postfit_plots(datacards_cbs, datacards_postfit_shapes, plotting_args={"ratio" : args.ratio, "args" : args.args, "lumi" : args.lumi, "normalize" : not(do_not_normalize_by_bin_width), "era" : args.era, "x_expressions" : config["x_expressions"][0], "return_configs" : True, "merge_backgrounds" : backgrounds_to_merge, "add_soverb_ratio" : True}, n_processes=args.n_processes) |
|
list | makePlots_datacardsSMHtt.plot_category = plot_config["filename"] |
|
list | makePlots_datacardsSMHtt.plot_channel = plot_config["title"] |
|