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

Variables

tuple log = logging.getLogger(__name__)
 
tuple parser
 
string help = "Input directory."
 
list default = ["ztt", "zll", "ttj", "vv", "wj", "qcd", "data"]
 
list choices = ["ztt", "zll", "ttj", "vv", "wj", "qcd", "ggh", "qqh", "vh", "htt", "data"]
 
tuple args = parser.parse_args()
 
list list_of_samples = [getattr(samples.Samples, sample) for sample in args.samples]
 
tuple sample_settings = samples.Samples()
 
list bkg_samples = [sample for sample in args.samples if sample != "data" and sample != "htt"]
 
list sample_ztt = [getattr(samples.Samples, "ztt")]
 
list sample_rest = [getattr(samples.Samples, sample) for sample in args.samples if sample != "ztt" ]
 
list es_shifts = [shift for shift in args.es_shifts]
 
list plot_configs = []
 
list fit_configs = []
 
 channel = args.channel
 
 quantity = args.quantity
 
dictionary merged_config = {}
 
list binEdges = []
 
tuple lowEdge = str(args.pt_ranges[pt_index])
 
list highEdge = args.pt_ranges[pt_index+1]
 
string ptweight = "(pt_2>"
 
list ztt_configs = []
 
dictionary rest_config = {}
 
tuple config_rest
 
tuple config_ztt
 
dictionary shift_config = {}
 
list all_samples = [nick for nick in shift_config["nicks"] if not "noplot" in nick]
 
list all_bkgs = [nick for nick in all_samples if not "data" in nick]
 
list all_data = [nick for nick in all_samples if "data" in nick]
 
list config_plotfits = []
 
string add_result_nick = "noplot_ztt_"
 
dictionary config_plotfit = {}
 
list es_shifts_str = [str(shift) for shift in args.es_shifts]
 
list bkg_samples_used = [(nick + "_" + str(pt_index)) for nick in bkg_samples if (nick + "_" + str(pt_index)) in merged_config["nicks"]]
 
list ztt_nicks = [("ztt_" + str(shift).replace(".", "_") + "_" + str(pt_index)) for shift in args.es_shifts]
 
dictionary config_resultfit = {}
 

Variable Documentation

string makePlots_tauEsStudies.add_result_nick = "noplot_ztt_"
list makePlots_tauEsStudies.all_bkgs = [nick for nick in all_samples if not "data" in nick]
list makePlots_tauEsStudies.all_data = [nick for nick in all_samples if "data" in nick]
list makePlots_tauEsStudies.all_samples = [nick for nick in shift_config["nicks"] if not "noplot" in nick]
tuple makePlots_tauEsStudies.args = parser.parse_args()
tuple makePlots_tauEsStudies.binEdges = []
list makePlots_tauEsStudies.bkg_samples = [sample for sample in args.samples if sample != "data" and sample != "htt"]
list makePlots_tauEsStudies.bkg_samples_used = [(nick + "_" + str(pt_index)) for nick in bkg_samples if (nick + "_" + str(pt_index)) in merged_config["nicks"]]
makePlots_tauEsStudies.channel = args.channel
list makePlots_tauEsStudies.choices = ["ztt", "zll", "ttj", "vv", "wj", "qcd", "ggh", "qqh", "vh", "htt", "data"]
dictionary makePlots_tauEsStudies.config_plotfit = {}
list makePlots_tauEsStudies.config_plotfits = []
tuple makePlots_tauEsStudies.config_rest
Initial value:
1 = sample_settings.get_config(
2  samples=sample_rest,
3  channel=channel,
4  category="cat" + decayMode + "_" + channel,
5  nick_suffix="_" + str(pt_index),
6  weight=ptweight,
7  lumi=args.lumi * 1000
8  )
dictionary makePlots_tauEsStudies.config_resultfit = {}
tuple makePlots_tauEsStudies.config_ztt
Initial value:
1 = sample_settings.get_config(
2  samples=sample_ztt,
3  channel=channel,
4  category="cat" + decayMode + "_" + channel,
5  nick_suffix="_" + str(shift).replace(".", "_") + "_" + str(pt_index),
6  ztt_from_mc=args.ztt_from_mc,
7  weight=ptweight,
8  lumi=args.lumi * 1000
9  )
string makePlots_tauEsStudies.default = ["ztt", "zll", "ttj", "vv", "wj", "qcd", "data"]
list makePlots_tauEsStudies.es_shifts = [shift for shift in args.es_shifts]
list makePlots_tauEsStudies.es_shifts_str = [str(shift) for shift in args.es_shifts]
list makePlots_tauEsStudies.fit_configs = []
string makePlots_tauEsStudies.help = "Input directory."
string makePlots_tauEsStudies.highEdge = args.pt_ranges[pt_index+1]
list makePlots_tauEsStudies.list_of_samples = [getattr(samples.Samples, sample) for sample in args.samples]
tuple makePlots_tauEsStudies.log = logging.getLogger(__name__)
tuple makePlots_tauEsStudies.lowEdge = str(args.pt_ranges[pt_index])
tuple makePlots_tauEsStudies.merged_config = {}
tuple makePlots_tauEsStudies.parser
Initial value:
1 = argparse.ArgumentParser(description="Make Data-MC control plots.",
2  parents=[logger.loggingParser])
list makePlots_tauEsStudies.plot_configs = []
string makePlots_tauEsStudies.ptweight = "(pt_2>"
makePlots_tauEsStudies.quantity = args.quantity
tuple makePlots_tauEsStudies.rest_config = {}
list makePlots_tauEsStudies.sample_rest = [getattr(samples.Samples, sample) for sample in args.samples if sample != "ztt" ]
tuple makePlots_tauEsStudies.sample_settings = samples.Samples()
list makePlots_tauEsStudies.sample_ztt = [getattr(samples.Samples, "ztt")]
tuple makePlots_tauEsStudies.shift_config = {}
list makePlots_tauEsStudies.ztt_configs = []
list makePlots_tauEsStudies.ztt_nicks = [("ztt_" + str(shift).replace(".", "_") + "_" + str(pt_index)) for shift in args.es_shifts]