Ejemplo n.º 1
0
# selectedComponents = [s for s in selectedComponents if 'TT_pow' in s.name]
# selectedComponents = [s for s in selectedComponents if s.name in ['HiggsSUSYBB800', 'HiggsSUSYBB1400', 'HiggsSUSYGG350']]

###################################################
###             CHERRY PICK EVENTS              ###
###################################################

if pick_events:
    eventSelector.toSelect = [486113, 164284, 252066, 399795, 11269]
    sequence.insert(0, eventSelector)

if not syncntuple:
    module = [
        s for s in sequence if s.name == 'H2TauTauSyncTreeProducerTauMu'
    ][0]
    sequence.remove(module)

if not cmssw:
    module = [s for s in sequence if s.name == 'MCWeighter'][0]
    sequence.remove(module)

###################################################
###            SET BATCH OR LOCAL               ###
###################################################
if not production:
    cache = True
    comp = sync_list[0]
    comp = [s for s in selectedComponents if 'DYJets' in s.name][0]
    # comp = [s for s in selectedComponents if 'TT' in s.name][0]
    selectedComponents = [comp]
    if data:
Ejemplo n.º 2
0
selectedComponents = samples + data_list
selectedComponents = data_list
# selectedComponents = samples


###################################################
###             CHERRY PICK EVENTS              ###
###################################################

if pick_events:
    eventSelector.toSelect = [308041,191584,240060,73996]
    sequence.insert(0, eventSelector)

if not syncntuple:
    module = [s for s in sequence if s.name == 'H2TauTauSyncTreeProducerTauMu'][0]
    sequence.remove(module)

###################################################
###            SET BATCH OR LOCAL               ###
###################################################
if not production:
    cache = True
    # comp = my_connect.mc_dict['HiggsSUSYGG160']
    # selectedComponents = [comp]
    # comp = selectedComponents[0]
    # comp = data_list[0]
    comp = QCD_Mu15
    selectedComponents = [comp]
    comp.splitFactor = 1
    comp.fineSplitFactor = 1
    # comp.files = comp.files[]