Пример #1
0
#-------- SEQUENCE
#sequence = cfg.Sequence(coreSequence+[vvSkimmer,vvTreeProducer])

coreSequence = [
    skimAnalyzer,
    genAna,
    triggerAna,
    vertexAna,
    lepAna,
    leptonicVAna,
    dumpEvents,
]
    
#sequence = cfg.Sequence(coreSequence)
sequence = cfg.Sequence(coreSequence+[vvTreeProducer])

 

#-------- HOW TO RUN
test = 1
if test==1:
    # test a single component, using a single thread.
    #selectedComponents = dataSamples
    #selectedComponents = [SingleMuon_Run2015D_Promptv4,SingleElectron_Run2015D_Promptv4]
    #[SingleElectron_Run2015D_Promptv4,SingleElectron_Run2015D_05Oct]
    #selectedComponents = [RSGravToZZToZZinv_narrow_800]
    #selectedComponents = [BulkGravToZZ_narrow_800]
    #selectedComponents = [BulkGravToZZToZlepZhad_narrow_800]
    selectedComponents = bulkJetsSamples
    for c in selectedComponents:
Пример #2
0
coreSequence = [
    skimAnalyzer,
    genAna,
    jsonAna,
    triggerAna,
    pileUpAna,
    vertexAna,
    lepAna,
    metAna,
    leptonicVAna,
    multiStateAna,
    triggerFlagsAna,
]

#sequence = cfg.Sequence(coreSequence)
sequence = cfg.Sequence(coreSequence + [vvSkimmer, vvTreeProducer])

#-------- HOW TO RUN
test = 1
if test == 1:
    # test a single component, using a single thread.
    selectedComponents = dataSamples
    #selectedComponents = [SingleMuon_Run2015D_05Oct]
    #selectedComponents = mcSamples
    #selectedComponents = [SingleMuon_Run2015D_Promptv4,SingleElectron_Run2015D_Promptv4]
    #[SingleElectron_Run2015D_Promptv4,SingleElectron_Run2015D_05Oct]
    #selectedComponents = [RSGravToZZToZZinv_narrow_800]
    #selectedComponents = [BulkGravToZZ_narrow_800]
    #selectedComponents = [BulkGravToZZToZlepZhad_narrow_800]
    for c in selectedComponents:
        #c.files = c.files[0]
Пример #3
0
    genAna,
    jsonAna,
    #    triggerAna,
    pileUpAna,
    vertexAna,
    lepAna,
    jetAna,
    metAna,
    #    leptonicVAna,
    #    multiStateAna,
    triggerFlagsAna,
]

#sequence = cfg.Sequence(coreSequence)
#sequence = cfg.Sequence(coreSequence+[vvSkimmer,vvTreeProducer])
sequence = cfg.Sequence(coreSequence + [jetTreeProducer])

#-------- HOW TO RUN
test = 1
if test == 1:
    # test a single component, using a single thread.
    selectedComponents = [JERCRef_data]
    for c in selectedComponents:
        for i in c.files:
            if ROOT.TString(i).Contains(
                    "000913F7-E9A7-E511-A286-003048FFD79C.root"):
                c.files = i
        print c.files
        #c.files = c.files[0]
        #c.splitFactor = (len(c.files)/10 if len(c.files)>10 else 1)
        c.splitFactor = 1