HiggsAnalysis-KITHiggsToTauTau
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
makePlots_controlPlots.py File Reference

Namespaces

 makePlots_controlPlots
 

Functions

def makePlots_controlPlots.add_s_over_sqrtb_subplot
 
def makePlots_controlPlots.add_s_over_sqrtb_integral_subplot
 
def makePlots_controlPlots.blind_signal
 

Variables

tuple makePlots_controlPlots.log = logging.getLogger(__name__)
 
tuple makePlots_controlPlots.parser
 
string makePlots_controlPlots.help = "Input directory."
 
list makePlots_controlPlots.default = ["ztt", "zll", "ttj", "vv", "wj", "qcd", "data"]
 
tuple makePlots_controlPlots.args = parser.parse_args()
 
list makePlots_controlPlots.list_of_samples = [getattr(samples.Samples, sample) for sample in args.samples]
 
list makePlots_controlPlots.asimov_nicks = []
 
tuple makePlots_controlPlots.sample_settings = samples.Samples()
 
list makePlots_controlPlots.bkg_samples = [sample for sample in args.samples if sample not in ["data", "htt", "ggh", "bbh"]]
 
list makePlots_controlPlots.sig_samples_raw = [sample for sample in args.samples if sample in ["htt", "ggh", "bbh"]]
 
list makePlots_controlPlots.sig_samples = []
 
string makePlots_controlPlots.scale_str = "_%i"
 
tuple makePlots_controlPlots.binnings_settings = binnings.BinningsDict()
 
list makePlots_controlPlots.plot_configs = []
 
string makePlots_controlPlots.global_category_string = "catHtt13TeV"
 
string makePlots_controlPlots.global_cut_type = "baseline"
 
tuple makePlots_controlPlots.channels_background_methods = zip(args.channels, args.background_method)
 
dictionary makePlots_controlPlots.channel_config = {}
 
string makePlots_controlPlots.cut_type = "mssm2016full"
 
tuple makePlots_controlPlots.last_loop = len(channels_background_methods)
 
 makePlots_controlPlots.category_string = None
 
dictionary makePlots_controlPlots.json_config = {}
 
list makePlots_controlPlots.json_filenames = [os.path.join(args.json_dir, "8TeV" if args.run1 else "13TeV", channel_dir, quantity + ".json") for channel_dir in [channel, "default"]]
 
tuple makePlots_controlPlots.json_filename = os.path.expandvars(json_filename)
 
tuple makePlots_controlPlots.quantity = json_config.pop("x_expressions", [quantity])
 
tuple makePlots_controlPlots.config
 
tuple makePlots_controlPlots.x_expression = json_config.pop("x_expressions", [quantity])
 
int makePlots_controlPlots.sub_conf_index = 0
 
string makePlots_controlPlots.binning_string = "binningHtt13TeV"
 
string makePlots_controlPlots.binnings_key = "{binning_string}{channel}{category}_{quantity}"
 
 makePlots_controlPlots.channel = channel,
 
string makePlots_controlPlots.category = "_"
 
tuple makePlots_controlPlots.x_bins = json_config.pop("x_bins", [binnings_key])
 
tuple makePlots_controlPlots.x_binning = re.search("(--x-bins)[\s=\"\']*(?P<x_bins>\S*)[\"\']?\S", args.args)
 
list makePlots_controlPlots.bkg_samples_used = [nick for nick in bkg_samples if nick in config["nicks"]]
 
list makePlots_controlPlots.scale_nicks_temp = []
 
list makePlots_controlPlots.scale_nicks = []
 
list makePlots_controlPlots.replaced_sig_nicks = []
 
list makePlots_controlPlots.replaced_bkg_nicks = []
 
 makePlots_controlPlots.nick = sample
 
list makePlots_controlPlots.sig_samples_used = [nick if nick not in scale_nicks else "%s_Scaled"%nick for nick in replaced_sig_nicks]
 
string makePlots_controlPlots.higgs_temp = "htt125"
 
list makePlots_controlPlots.samples_used = [nick for nick in bkg_samples if nick in config["nicks"]]
 
list makePlots_controlPlots.list_of_config_dicts = [args.args]
 
 makePlots_controlPlots.n_processes = args.batch