HiggsAnalysis-KITHiggsToTauTau
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
makePlots_theoryUncertainties Namespace Reference

Variables

tuple log = logging.getLogger(__name__)
 
tuple parser
 
string help = "Input directory."
 
list default = ["tt", "mt", "et", "em", "mm"]
 
tuple args = parser.parse_args()
 
list list_of_samples = [getattr(samples.Samples, sample) for sample in args.samples]
 
tuple sample_settings = samples.Samples()
 
tuple binnings_settings = binnings.BinningsDict()
 
list plot_configs = []
 
string global_category_string = "catHtt13TeV"
 
string global_cut_type = "baseline"
 
tuple channels_background_methods = zip(args.channels, args.background_method)
 
dictionary channel_config = {}
 
string cut_type = "mssm2016"
 
tuple category_string = (global_category_string + "_{channel}_{category}")
 
dictionary json_config = {}
 
list json_filenames = [os.path.join(args.json_dir, "13TeV", channel_dir, quantity + ".json") for channel_dir in [channel, "default"]]
 
tuple json_filename = os.path.expandvars(json_filename)
 
tuple quantity = json_config.pop("x_expressions", [quantity])
 
dictionary config_kwargs
 
tuple config_up
 
tuple config_down
 
tuple config_nominal
 
tuple config = copy.deepcopy(config_up)
 
 binning_string = None
 
string binnings_key = "{binning_string}{channel}{category}_{quantity}"
 
 channel = channel,
 
tuple category = (("_"+category) if category else "")
 

Variable Documentation

tuple makePlots_theoryUncertainties.args = parser.parse_args()
tuple makePlots_theoryUncertainties.binning_string = None
string makePlots_theoryUncertainties.binnings_key = "{binning_string}{channel}{category}_{quantity}"
tuple makePlots_theoryUncertainties.binnings_settings = binnings.BinningsDict()
tuple makePlots_theoryUncertainties.category = (("_"+category) if category else "")
makePlots_theoryUncertainties.category_string = (global_category_string + "_{channel}_{category}")
makePlots_theoryUncertainties.channel = channel,
dictionary makePlots_theoryUncertainties.channel_config = {}
tuple makePlots_theoryUncertainties.channels_background_methods = zip(args.channels, args.background_method)
tuple makePlots_theoryUncertainties.config = copy.deepcopy(config_up)
tuple makePlots_theoryUncertainties.config_down
Initial value:
1 = sample_settings.get_config(
2  weight = "((%s)*(%s))" % (json_config.pop("weights", ["1.0"])[0], weight_down),
3  nick_suffix = "down",
4  **config_kwargs
5  )
dictionary makePlots_theoryUncertainties.config_kwargs
Initial value:
1 = {
2  "samples" : list_of_samples,
3  "channel" : channel,
4  "category" : category_string,
5  "higgs_masses" : args.higgs_masses,
6  "normalise_signal_to_one_pb" : False,
7  "ztt_from_mc" : True,
8  "lumi " : args.lumi * 1000,
9  "exclude_cuts" : args.exclude_cuts + json_config.pop("exclude_cuts", []),
10  "estimationMethod" : background_method,
11  "mssm" : args.mssm,
12  "cut_type" : global_cut_type,
13  "no_ewk_samples" : args.no_ewk_samples,
14  "no_ewkz_as_dy" : args.no_ewkz_as_dy,
15  }
tuple makePlots_theoryUncertainties.config_nominal
Initial value:
1 = sample_settings.get_config(
2  weight = "((%s)*(%s))" % (json_config.pop("weights", ["1.0"])[0], "1.0"),
3  nick_suffix = "",
4  **config_kwargs
5  )
tuple makePlots_theoryUncertainties.config_up
Initial value:
1 = sample_settings.get_config(
2  weight = "((%s)*(%s))" % (json_config.pop("weights", ["1.0"])[0], weight_up),
3  nick_suffix = "up",
4  **config_kwargs
5  )
string makePlots_theoryUncertainties.cut_type = "mssm2016"
string makePlots_theoryUncertainties.default = ["tt", "mt", "et", "em", "mm"]
string makePlots_theoryUncertainties.global_category_string = "catHtt13TeV"
string makePlots_theoryUncertainties.global_cut_type = "baseline"
string makePlots_theoryUncertainties.help = "Input directory."
tuple makePlots_theoryUncertainties.json_config = {}
tuple makePlots_theoryUncertainties.json_filename = os.path.expandvars(json_filename)
list makePlots_theoryUncertainties.json_filenames = [os.path.join(args.json_dir, "13TeV", channel_dir, quantity + ".json") for channel_dir in [channel, "default"]]
list makePlots_theoryUncertainties.list_of_samples = [getattr(samples.Samples, sample) for sample in args.samples]
tuple makePlots_theoryUncertainties.log = logging.getLogger(__name__)
tuple makePlots_theoryUncertainties.parser
Initial value:
1 = argparse.ArgumentParser(description="Make plots for the study of theory uncertainties.",
2  parents=[logger.loggingParser])
list makePlots_theoryUncertainties.plot_configs = []
makePlots_theoryUncertainties.quantity = json_config.pop("x_expressions", [quantity])
tuple makePlots_theoryUncertainties.sample_settings = samples.Samples()