Пример #1
0
                maxErrSig = options.max_err_sig,
                channel = options.channel)

if doToys:
    print legend, 'beginning a toy study of possible model bias...'
    import tprime_toys as toys
    toys.run(ds)

if doPlotHist:
    ds.load_all_hists(infile, merge_ewk=options.merge_ewk)
    ds.hists[options.hist_name].Draw('H0')
    raw_input('press <enter> to continue...')
    
if doDumpHists:
    ds.load_all_hists(infile, merge_ewk=options.merge_ewk)
    ds.processes()
    #ds.list_cat('Top')
    #ds.list_process('Wjets')

if doListHists:
    ds.load_all_hists(infile, merge_ewk=options.merge_ewk)
    ds.list(options.hist_pattern)

if doDumpVariables:
    ds.load_all_hists(infile, merge_ewk=options.merge_ewk)
    ds.variables()

if doReduce:
    ds.load_all_hists(infile, merge_ewk=options.merge_ewk)
    ds.reduce(options.reduced_filename)
Пример #2
0
                maxErrSig=options.max_err_sig,
                channel=options.channel)

if doToys:
    print legend, 'beginning a toy study of possible model bias...'
    import tprime_toys as toys
    toys.run(ds)

if doPlotHist:
    ds.load_all_hists(infile, merge_ewk=options.merge_ewk)
    ds.hists[options.hist_name].Draw('H0')
    raw_input('press <enter> to continue...')

if doDumpHists:
    ds.load_all_hists(infile, merge_ewk=options.merge_ewk)
    ds.processes()
    #ds.list_cat('Top')
    #ds.list_process('Wjets')

if doListHists:
    ds.load_all_hists(infile, merge_ewk=options.merge_ewk)
    ds.list(options.hist_pattern)

if doDumpVariables:
    ds.load_all_hists(infile, merge_ewk=options.merge_ewk)
    ds.variables()

if doReduce:
    ds.load_all_hists(infile, merge_ewk=options.merge_ewk)
    ds.reduce(options.reduced_filename)