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

Namespaces

 makePlots_PolSelEfficiency
 

Functions

def makePlots_PolSelEfficiency.add_s_over_sqrtb_subplot
 
def makePlots_PolSelEfficiency.add_s_over_sqrtb_integral_subplot
 
def makePlots_PolSelEfficiency.blind_signal
 

Variables

tuple makePlots_PolSelEfficiency.log = logging.getLogger(__name__)
 
tuple makePlots_PolSelEfficiency.parser
 
string makePlots_PolSelEfficiency.help = "Input directory."
 
list makePlots_PolSelEfficiency.default = ["ztt", "zll", "ttj", "vv", "wj", "qcd", "data"]
 
list makePlots_PolSelEfficiency.choices
 
tuple makePlots_PolSelEfficiency.args = parser.parse_args()
 
list makePlots_PolSelEfficiency.list_of_samples = [getattr(samples.Samples, sample) for sample in args.samples]
 
tuple makePlots_PolSelEfficiency.sample_settings = samples.Samples(embedding=True,embedding_weight=args.embedded_weights)
 
list makePlots_PolSelEfficiency.bkg_samples = [sample for sample in args.samples if sample not in ["data", "htt", "ggh", "bbh"]]
 
list makePlots_PolSelEfficiency.sig_samples_raw = [sample for sample in args.samples if sample in ["htt", "ggh", "bbh"]]
 
list makePlots_PolSelEfficiency.sig_samples = []
 
string makePlots_PolSelEfficiency.scale_str = "_%i"
 
tuple makePlots_PolSelEfficiency.binnings_settings = binnings.BinningsDict()
 
list makePlots_PolSelEfficiency.plot_configs = []
 
string makePlots_PolSelEfficiency.global_category_string = "catHtt13TeV"
 
string makePlots_PolSelEfficiency.global_cut_type = "baseline"
 
tuple makePlots_PolSelEfficiency.channels_background_methods = zip(args.channels, args.background_method)
 
dictionary makePlots_PolSelEfficiency.channel_config = {}
 
tuple makePlots_PolSelEfficiency.last_loop = (index == len(channels_background_methods) - 1)
 
tuple makePlots_PolSelEfficiency.category_string = (global_category_string + "_{channel}_{category}")
 
dictionary makePlots_PolSelEfficiency.json_config = {}
 
list makePlots_PolSelEfficiency.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_PolSelEfficiency.json_filename = os.path.expandvars(json_filename)
 
tuple makePlots_PolSelEfficiency.quantity = json_config.pop("x_expressions", [quantity])
 
tuple makePlots_PolSelEfficiency.config
 
tuple makePlots_PolSelEfficiency.config_gen
 
 makePlots_PolSelEfficiency.binning_string = None
 
 makePlots_PolSelEfficiency.binnings_key = None
 
list makePlots_PolSelEfficiency.bkg_samples_used = [nick for nick in bkg_samples if nick in config["nicks"]]
 
list makePlots_PolSelEfficiency.scale_nicks_temp = []
 
list makePlots_PolSelEfficiency.scale_nicks = []
 
list makePlots_PolSelEfficiency.replaced_sig_nicks = []
 
list makePlots_PolSelEfficiency.replaced_bkg_nicks = []
 
 makePlots_PolSelEfficiency.nick = sample
 
list makePlots_PolSelEfficiency.sig_samples_used = [nick if nick not in scale_nicks else "%s_Scaled"%nick for nick in replaced_sig_nicks]
 
string makePlots_PolSelEfficiency.higgs_temp = "htt125"