|
tuple | cutOptimizer.log = logging.getLogger(__name__) |
|
tuple | cutOptimizer.parser |
|
string | cutOptimizer.help = "Input directory." |
|
list | cutOptimizer.default = ["ztt", "zll", "zl", "zj", "ttj", "vv", "wj", "qcd", "data"] |
|
list | cutOptimizer.choices = ["ztt", "zll", "zl", "zj", "ttj", "vv", "wj", "qcd", "ff", "ggh", "qqh", "bbh", "vh", "htt", "data"] |
|
tuple | cutOptimizer.args = parser.parse_args() |
|
list | cutOptimizer.list_of_samples = [getattr(samples.Samples, sample) for sample in args.samples] |
|
tuple | cutOptimizer.sample_settings = samples.Samples() |
|
list | cutOptimizer.bkg_samples = [sample for sample in args.samples if sample not in ["data", "htt", "bbh"]] |
|
list | cutOptimizer.sig_samples_raw = [sample for sample in args.samples if sample in ["htt", "bbh"]] |
|
list | cutOptimizer.sig_samples = [] |
|
string | cutOptimizer.scale_str = "_%i" |
|
tuple | cutOptimizer.binnings_settings = binnings.BinningsDict() |
|
| cutOptimizer.category_string = None |
|
tuple | cutOptimizer.config |
|
list | cutOptimizer.x_bins = [x for x in range(int(float(args.x_range[0])*100),int(float(args.x_range[1])*100)+1, int((float(args.x_range[1])-float(args.x_range[0]))*4))] |
|
list | cutOptimizer.y_bins = [] |
|
list | cutOptimizer.z_bins = [] |
|
list | cutOptimizer.variables = [args.x_quantity] |
|
list | cutOptimizer.current_cuts = [] |
|
int | cutOptimizer.current_max = 0 |
|
list | cutOptimizer.real_values = [] |
|
list | cutOptimizer.b_max_index = current_cuts[0] |
|
list | cutOptimizer.b_min = x_bins[b_max_index-3] |
|
list | cutOptimizer.b_max = x_bins[b_max_index+3] |
|
tuple | cutOptimizer.step = (b_max-b_min) |
|
tuple | cutOptimizer.tfile = ROOT.TFile(os.path.expandvars(os.path.join(args.output_dir, "CutOptimizerStorage.root")), "READ") |
|
list | cutOptimizer.hist_list = [tfile.Get(name) for name in bkg_samples] |
|
tuple | cutOptimizer.htt = tfile.Get(sig_samples[0]) |
|
tuple | cutOptimizer.bkg_hist = hist_list.pop(0) |
|
tuple | cutOptimizer.opt_test = CutOptimizer(variables, [htt,bkg_hist]) |
|