) cache['fileset'] = fileset cache['cfg'] = cfg cache['histograms'] = histograms cache['simple_output'] = output cache.dump() lines = ['entry'] lines += [ 'filter', 'lepveto', 'trilep', 'p_T(lep0)>25', 'p_T(lep1)>20', 'trigger', 'offZ', 'MET>50', 'N_jet>2', 'N_central>1', 'N_btag>0', 'N_fwd>0', ] from Tools.helpers import getCutFlowTable df = getCutFlowTable(output, processes=list(fileset.keys()), lines=lines, significantFigures=4, signal='topW_v3')
'function_args': { 'flatten': False }, "schema": NanoAODSchema, } exe = processor.futures_executor output = processor.run_uproot_job( fileset, "Events", systematicsAnalyzer(year=year, variations=variations, acumulator=desired_output), exe, exe_args, chunksize=250000, ) from Tools.helpers import getCutFlowTable processes = ['tW_scattering', 'topW_v2'] lines = ['entry'] lines += [ 'lepveto', 'dilep', 'trigger', 'filter', 'p_T(lep0)>25', 'p_T(lep1)>20', 'OS', 'N_btag=2', 'N_jet>2', 'N_fwd>0', 'MET>30' ] df = getCutFlowTable(output, processes=processes, lines=lines, significantFigures=4)
'TTW': fileset_2018['TTW'], 'TTX': fileset_2018['TTXnoW'], } exe_args = { 'workers': 16, 'function_args': {'flatten': False}, "schema": NanoAODSchema, } exe = processor.futures_executor output = processor.run_uproot_job( fileset, "Events", strong_tW(year=year, variations=variations, accumulator=desired_output), exe, exe_args, chunksize=250000, ) from Tools.helpers import getCutFlowTable processes = ['topW_v2', 'TTW', 'TTX'] lines = ['entry'] lines += ['lepveto', 'dilep', 'filter', 'p_T(lep0)>25', 'p_T(lep1)>20', 'SS'] lines += ['N_jet>3', 'N_central>2', 'N_btag>0', 'lead_lep', 'mll', 'MET>50', 'eta_fwd', 'delta_eta', 'ST'] df = getCutFlowTable(output, processes=processes, lines=lines, significantFigures=4, signal='topW_v2')