# ---- main # legend = '[tprime]:' ds = TprimeData(821.0) if doTest: print 'TEST' #ds.generate_hists(options.test) ds.load_all_hists(infile, merge_ewk=options.merge_ewk) _map={} _map['Ewk_ht35:fitMass'] = 392 _map['Top_ht35:fitMass'] = 1685 ds.CreatePseudoData('pseudoData', _map) ds.list(options.hist_pattern) if (options.combine_bins) or (options.action and options.action == "combine_bins"): from combine_bins import * prefix = '' if options.prefix: prefix = options.prefix[0] CombineBins(options.mass, options.scale_factor, options.error, infile, options.out_file, prefix, method = options.combine_bins, make_plots = options.make_plots, maxErrSig = options.max_err_sig, channel = options.channel)
# ---- main # legend = '[tprime]:' ds = TprimeData(821.0) if doTest: print 'TEST' #ds.generate_hists(options.test) ds.load_all_hists(infile, merge_ewk=options.merge_ewk) _map = {} _map['Ewk_ht35:fitMass'] = 392 _map['Top_ht35:fitMass'] = 1685 ds.CreatePseudoData('pseudoData', _map) ds.list(options.hist_pattern) if (options.combine_bins) or (options.action and options.action == "combine_bins"): from combine_bins import * prefix = '' if options.prefix: prefix = options.prefix[0] CombineBins(options.mass, options.scale_factor, options.error, infile, options.out_file, prefix,