예제 #1
0
def fn(input_name, isData, full_path):
    a = analysis('graph', ak=True, ak8=True, puppiJets=True)
    a.inpath = input_name
    a.outpath = utils.input_to_output(input_name)
    a.datapath = data_dir
    a.isData = isData
    utils.set_year(a, 2016)

    skimmer = root.pa.CTAnalyzer(a)

    return utils.run_Analyzer(skimmer, isData, a.outpath)
예제 #2
0
def fn(input_name, isData, full_path):
    a = analysis('graph', ak=True, ak8=True, puppiJets=True)
    a.inpath = input_name
    a.outpath = utils.input_to_output(input_name)
    a.datapath = data_dir
    a.isData = isData
    utils.set_year(a, 2016)
    a.processType = utils.classify_sample(full_path, isData)

    skimmer = root.pa.JGAnalyzer(a)

    return utils.run_PandaAnalyzer(skimmer, isData, a.outpath)
예제 #3
0
def fn(input_name, isData, full_path):
    a = analysis('jes', varyJES=True, rerunJES=True)
    a.inpath = input_name
    a.outpath = utils.input_to_output(input_name)
    a.datapath = data_dir
    a.isData = isData
    utils.set_year(a, 2016)
    a.processType = utils.classify_sample(full_path, isData)

    skimmer = root.pa.PandaAnalyzer(a)

    return utils.run_PandaAnalyzer(skimmer, isData, a.outpath)
예제 #4
0
def fn(input_name, isData, full_path):
    a = monotop(True)
    a.inpath = input_name
    a.outpath = utils.input_to_output(input_name)
    a.datapath = data_dir
    a.isData = isData
    utils.set_year(a, 2016)
    a.processType = utils.classify_sample(full_path, isData)	

    skimmer = root.pa.PandaAnalyzer(a)
    skimmer.AddPresel(root.pa.RecoilSel())

    return utils.run_PandaAnalyzer(skimmer, isData, a.outpath)
예제 #5
0
def fn(input_name, isData, full_path):

    logger.info(sname + '.fn', 'Starting to process ' + input_name)
    # now we instantiate and configure the analyzer
    a = analysis("l1", verbose=False)
    a.inpath = input_name
    a.outpath = utils.input_to_output(input_name)
    a.datapath = data_dir
    a.isData = isData
    utils.set_year(a, 2016)

    skimmer = root.pa.L1Analyzer(a)

    return utils.run_Analyzer(skimmer, isData, a.outpath)
예제 #6
0
def fn(input_name, isData, full_path):

    logger.info(sname + '.fn', 'Starting to process ' + input_name)
    # now we instantiate and configure the analyzer
    a = breg()
    a.inpath = input_name
    a.outpath = utils.input_to_output(input_name)
    a.datapath = data_dir
    a.isData = isData
    utils.set_year(a, 2017)
    a.processType = utils.classify_sample(full_path, isData)

    skimmer = root.pa.PandaAnalyzer(a)

    return utils.run_PandaAnalyzer(skimmer, isData, a.outpath)
예제 #7
0
def fn(input_name, isData, full_path):
    
    # now we instantiate and configure the analyzer
    a = monotop()
    a.inpath = input_name
    a.outpath = utils.input_to_output(input_name)
    a.datapath = data_dir
    a.isData = isData
    utils.set_year(a, 2016)
    a.processType = utils.classify_sample(full_path, isData)	

    skimmer = root.pa.PandaAnalyzer(a)
    skimmer.AddPresel(root.pa.MonotopSel())

    return utils.run_PandaAnalyzer(skimmer, isData, a.outpath)
예제 #8
0
def fn(input_name, isData, full_path):
    a = analysis('substructure',
                 recalcECF=False,
                 reclusterFJ=True,
                 ak=False) 
    a.inpath = input_name
    a.outpath = utils.input_to_output(input_name)
    a.datapath = data_dir
    a.isData = isData
    utils.set_year(a, 2016)
    a.processType = utils.classify_sample(full_path, isData)	

    skimmer = root.pa.HRAnalyzer(a)

    return utils.run_HRAnalyzer(skimmer, isData, a.outpath)
예제 #9
0
def fn(input_name, isData, full_path):
    a = wlnhbb(True)
    a.inpath = input_name
    a.outpath = utils.input_to_output(input_name)
    a.datapath = data_dir
    a.isData = isData
    utils.set_year(a, 2017)
    a.processType = utils.classify_sample(full_path, isData)
    if a.processType in {root.pa.kTT, root.pa.kH}:
        a.reclusterGen = True  # only turn on if necessary

    skimmer = root.pa.PandaAnalyzer(a)
    skimmer.AddPresel(root.pa.VHbbSel())
    skimmer.AddPresel(root.pa.TriggerSel())

    return utils.run_PandaAnalyzer(skimmer, isData, a.outpath)
예제 #10
0
def fn(input_name, isData, full_path):

    logger.info(sname + '.fn', 'Starting to process ' + input_name)
    # now we instantiate and configure the analyzer
    a = wlnhbb2017(True)
    a.inpath = input_name
    a.outpath = utils.input_to_output(input_name)
    a.datapath = data_dir
    a.isData = isData
    utils.set_year(a, 2017)
    a.processType = utils.classify_sample(full_path, isData)
    if a.processType in {root.pa.kTT, root.pa.kH}:
        a.reclusterGen = True  # only turn on if necessary

    skimmer = root.pa.PandaAnalyzer(a)
    skimmer.AddPresel(root.pa.VHbbSel())
    skimmer.AddPresel(root.pa.TriggerSel())

    return utils.run_PandaAnalyzer(skimmer, isData, a.outpath)