Beispiel #1
0
#EventSelection
process.load("UWAnalysis.Configuration.zh_cff")
process.eventSelectionMMTT = cms.Path(process.MMTTselectionSequence)
process.eventSelectionMMMT = cms.Path(process.MMMTselectionSequence)
process.eventSelectionMMET = cms.Path(process.MMETselectionSequence)
process.eventSelectionMMEM = cms.Path(process.MMEMselectionSequence)
process.eventSelectionEEMT = cms.Path(process.EEMTselectionSequence)
process.eventSelectionEEET = cms.Path(process.EEETselectionSequence)
process.eventSelectionEETT = cms.Path(process.EETTselectionSequence)
process.eventSelectionEEEM = cms.Path(process.EEEMselectionSequence)
process.eventSelectionMM = cms.Path(process.ZMMSeq)
process.eventSelectionEE = cms.Path(process.ZEESeq)

from UWAnalysis.Configuration.tools.zzNtupleTools import addMuMuTauTauEventTree
addMuMuTauTauEventTree(process,'muMuTauTauEventTree','MMTTzzCleanedCandsAboveThreshold','EEEEFinalSel','EEMMFinalSel','MMEEFinalSel','MMEEFinalSel',MC=False,leadingOnly=True)
addMuMuTauTauEventTree(process,'muMuTauTauEventTreeFinal','MMTTFinalSel','EEEEFinalSel','EEMMFinalSel','MMEEFinalSel','MMEEFinalSel',MC=False,leadingOnly=True)
addMuMuTauTauEventTree(process,'muMuTauTauEventTreeID','MMTTzzTauID','EEEEFinalSel','EEMMFinalSel','MMEEFinalSel','MMEEFinalSel',MC=False,leadingOnly=True)
from UWAnalysis.Configuration.tools.zzNtupleTools import addMuMuMuTauEventTree
addMuMuMuTauEventTree(process,'muMuMuTauEventTree','MMMTzzCleanedCandsAboveThreshold','EEEEFinalSel','EEMMFinalSel','MMEEFinalSel','MMEEFinalSel',MC=False,leadingOnly=True)
addMuMuMuTauEventTree(process,'muMuMuTauEventTreeFinal','MMMTFinalSel','EEEEFinalSel','EEMMFinalSel','MMEEFinalSel','MMEEFinalSel',MC=False,leadingOnly=True)
addMuMuMuTauEventTree(process,'muMuMuTauEventTreeID','MMMTzzTauID','EEEEFinalSel','EEMMFinalSel','MMEEFinalSel','MMEEFinalSel',MC=False,leadingOnly=True)
from UWAnalysis.Configuration.tools.zzNtupleTools import addMuMuEleTauEventTree
addMuMuEleTauEventTree(process,'muMuEleTauEventTree','MMETzzCleanedCandsAboveThreshold','EEEEFinalSel','EEMMFinalSel','MMEEFinalSel','MMEEFinalSel',MC=False,leadingOnly=True)
addMuMuEleTauEventTree(process,'muMuEleTauEventTreeFinal','MMETFinalSel','EEEEFinalSel','EEMMFinalSel','MMEEFinalSel','MMEEFinalSel',MC=False,leadingOnly=True)
addMuMuEleTauEventTree(process,'muMuEleTauEventTreeID','MMETzzTauID','EEEEFinalSel','EEMMFinalSel','MMEEFinalSel','MMEEFinalSel',MC=False,leadingOnly=True)
from UWAnalysis.Configuration.tools.zzNtupleTools import addMuMuEleMuEventTree
addMuMuEleMuEventTree(process,'muMuEleMuEventTree','MMEMzzCleanedCandsAboveThreshold','EEEEFinalSel','EEMMFinalSel','MMEEFinalSel','MMEEFinalSel',MC=False,leadingOnly=True)
addMuMuEleMuEventTree(process,'muMuEleMuEventTreeFinal','MMEMFinalSel','EEEEFinalSel','EEMMFinalSel','MMEEFinalSel','MMEEFinalSel',MC=False,leadingOnly=True)
addMuMuEleMuEventTree(process,'muMuEleMuEventTreeID','MMEMzzEleId','EEEEFinalSel','EEMMFinalSel','MMEEFinalSel','MMEEFinalSel',MC=False,leadingOnly=True)
from UWAnalysis.Configuration.tools.zzNtupleTools import addEleEleTauTauEventTree
Beispiel #2
0
process.eventSelectionMMEE = cms.Path(process.MMEEselectionSequence)
process.eventSelectionMMMM = cms.Path(process.MMMMselectionSequence)
process.eventSelectionMMM = cms.Path(process.MMMSeq)
process.eventSelectionMME = cms.Path(process.MMESeq)
process.eventSelectionEEM = cms.Path(process.EEMSeq)
process.eventSelectionEEE = cms.Path(process.EEESeq)

from UWAnalysis.Configuration.tools.zzNtupleTools import addMuMuMuTauEventTree
addMuMuMuTauEventTree(process,'muMuMuTauEventTree_noIsoOS','MMMTnoIsoOSF','EEEEFinalSel','EEMMFinalSel','MMEEFinalSel','MMMMFinalSel')
addMuMuMuTauEventTree(process,'muMuMuTauEventTree_noIsoSS','MMMTnoIsoSSF','EEEEFinalSel','EEMMFinalSel','MMEEFinalSel','MMMMFinalSel')
addMuMuMuTauEventTree(process,'muMuMuTauEventTree_noIsoSScheck','MMMTnoIsoSScheckF','EEEEFinalSel','EEMMFinalSel','MMEEFinalSel','MMMMFinalSel')
addMuMuMuTauEventTree(process,'muMuMuTauEventTree_antiIso','MMMTantiIsoBothF','EEEEFinalSel','EEMMFinalSel','MMEEFinalSel','MMMMFinalSel')
addMuMuMuTauEventTree(process,'muMuMuTauEventTree_antiIso1','MMMTantiIso1F','EEEEFinalSel','EEMMFinalSel','MMEEFinalSel','MMMMFinalSel')
addMuMuMuTauEventTree(process,'muMuMuTauEventTree_antiIso2','MMMTantiIso2F','EEEEFinalSel','EEMMFinalSel','MMEEFinalSel','MMMMFinalSel')
from UWAnalysis.Configuration.tools.zzNtupleTools import addMuMuTauTauEventTree
addMuMuTauTauEventTree(process,'muMuTauTauEventTree_noIsoOS','MMTTnoIsoOSF','EEEEFinalSel','EEMMFinalSel','MMEEFinalSel','MMMMFinalSel')
addMuMuTauTauEventTree(process,'muMuTauTauEventTree_noIsoSS','MMTTnoIsoSSF','EEEEFinalSel','EEMMFinalSel','MMEEFinalSel','MMMMFinalSel')
addMuMuTauTauEventTree(process,'muMuTauTauEventTree_noIsoSScheck','MMTTnoIsoSScheckF','EEEEFinalSel','EEMMFinalSel','MMEEFinalSel','MMMMFinalSel')
addMuMuTauTauEventTree(process,'muMuTauTauEventTree_antiIso','MMTTantiIsoBothF','EEEEFinalSel','EEMMFinalSel','MMEEFinalSel','MMMMFinalSel')
addMuMuTauTauEventTree(process,'muMuTauTauEventTree_antiIso1','MMTTantiIso1F','EEEEFinalSel','EEMMFinalSel','MMEEFinalSel','MMMMFinalSel')
addMuMuTauTauEventTree(process,'muMuTauTauEventTree_antiIso2','MMTTantiIso2F','EEEEFinalSel','EEMMFinalSel','MMEEFinalSel','MMMMFinalSel')
from UWAnalysis.Configuration.tools.zzNtupleTools import addMuMuEleTauEventTree
addMuMuEleTauEventTree(process,'muMuEleTauEventTree_noIsoOS','MMETnoIsoOSF','EEEEFinalSel','EEMMFinalSel','MMEEFinalSel','MMMMFinalSel')
addMuMuEleTauEventTree(process,'muMuEleTauEventTree_noIsoSS','MMETnoIsoSSF','EEEEFinalSel','EEMMFinalSel','MMEEFinalSel','MMMMFinalSel')
addMuMuEleTauEventTree(process,'muMuEleTauEventTree_noIsoSScheck','MMETnoIsoSScheckF','EEEEFinalSel','EEMMFinalSel','MMEEFinalSel','MMMMFinalSel')
addMuMuEleTauEventTree(process,'muMuEleTauEventTree_antiIso','MMETantiIsoBothF','EEEEFinalSel','EEMMFinalSel','MMEEFinalSel','MMMMFinalSel')
addMuMuEleTauEventTree(process,'muMuEleTauEventTree_antiIso1','MMETantiIso1F','EEEEFinalSel','EEMMFinalSel','MMEEFinalSel','MMMMFinalSel')
addMuMuEleTauEventTree(process,'muMuEleTauEventTree_antiIso2','MMETantiIso2F','EEEEFinalSel','EEMMFinalSel','MMEEFinalSel','MMMMFinalSel')
from UWAnalysis.Configuration.tools.zzNtupleTools import addMuMuEleMuEventTree
addMuMuEleMuEventTree(process,'muMuEleMuEventTree_noIsoOS','MMEMnoIsoOSF','EEEEFinalSel','EEMMFinalSel','MMEEFinalSel','MMMMFinalSel')
addMuMuEleMuEventTree(process,'muMuEleMuEventTree_noIsoSS','MMEMnoIsoSSF','EEEEFinalSel','EEMMFinalSel','MMEEFinalSel','MMMMFinalSel')
Beispiel #3
0
    "HLT_Ele17_CaloIdT_CaloIsoVL_TrkIdVL_TrkIsoVL_Ele8_CaloIdT_CaloIsoVL_TrkIdVL_TrkIsoVL"
])

#EventSelection
process.load("UWAnalysis.Configuration.zzLLLLAnalysis_cff")
process.eventSelectionMMTT = cms.Path(
    process.MMTTselectionSequence)  ##changing to multiples see below
process.eventSelectionMMMT = cms.Path(process.MMMTselectionSequence)
process.eventSelectionMMET = cms.Path(process.MMETselectionSequence)
process.eventSelectionMMEM = cms.Path(process.MMEMselectionSequence)
process.eventSelectionMMEE = cms.Path(process.MMEEselectionSequence)
process.eventSelectionMMMM = cms.Path(process.MMMMselectionSequence)

from UWAnalysis.Configuration.tools.zzNtupleTools import addMuMuTauTauEventTree

addMuMuTauTauEventTree(process, 'muMuTauTauEventTree',
                       'MMTTzzCleanedCandsAboveThreshold')
addMuMuTauTauEventTree(process, 'muMuTauTauEventTreeID', 'MMTTzzTauID')
from UWAnalysis.Configuration.tools.zzNtupleTools import addMuMuMuTauEventTree

addMuMuMuTauEventTree(process, 'muMuMuTauEventTree',
                      'MMMTzzCleanedCandsAboveThreshold')
addMuMuMuTauEventTree(process, 'muMuMuTauEventTreeID', 'MMMTzzTauID')
from UWAnalysis.Configuration.tools.zzNtupleTools import addMuMuEleTauEventTree

addMuMuEleTauEventTree(process, 'muMuEleTauEventTree',
                       'MMETzzCleanedCandsAboveThreshold')
addMuMuEleTauEventTree(process, 'muMuEleTauEventTreeID', 'MMETzzTauID')
from UWAnalysis.Configuration.tools.zzNtupleTools import addMuMuEleMuEventTree

addMuMuEleMuEventTree(process, 'muMuEleMuEventTree',
                      'MMEMzzCleanedCandsAboveThreshold')
Beispiel #4
0
createGeneratedParticles(process,
                         'genDaughters',
                          [
                           "keep++ pdgId = {Z0}",
                           "drop pdgId = {Z0} & status = 2",
                           "keep pdgId = {tau+}",
                           "keep pdgId = {tau-}",
                           "keep pdgId = {mu+}",
                           "keep pdgId = {mu-}",
                           "drop pdgId = 11",
                           "drop pdgId = -11"
                          ]
)

from UWAnalysis.Configuration.tools.zzNtupleTools import addMuMuTauTauEventTree
addMuMuTauTauEventTree(process,'muMuTauTauEventTree','MMTTzzCleanedCandsAboveThreshold')
addMuMuTauTauEventTree(process,'muMuTauTauEventTreeID','MMTTzzTauID')
addMuMuTauTauEventTree(process,'muMuTauTauEventTreeTauUp','MMTTzzCleanedCandsAboveThresholdTauUp')
addMuMuTauTauEventTree(process,'muMuTauTauEventTreeTauDown','MMTTzzCleanedCandsAboveThresholdTauDown')
from UWAnalysis.Configuration.tools.zzNtupleTools import addMuMuMuTauEventTree
addMuMuMuTauEventTree(process,'muMuMuTauEventTree','MMMTzzCleanedCandsAboveThreshold')
addMuMuMuTauEventTree(process,'muMuMuTauEventTreeID','MMMTzzTauID')
addMuMuMuTauEventTree(process,'muMuMuTauEventTreeTauUp','MMMTzzCleanedCandsAboveThresholdTauUp')
addMuMuMuTauEventTree(process,'muMuMuTauEventTreeTauDown','MMMTzzCleanedCandsAboveThresholdTauDown')
from UWAnalysis.Configuration.tools.zzNtupleTools import addMuMuEleTauEventTree
addMuMuEleTauEventTree(process,'muMuEleTauEventTree','MMETzzCleanedCandsAboveThreshold')
addMuMuEleTauEventTree(process,'muMuEleTauEventTreeID','MMETzzTauID')
addMuMuEleTauEventTree(process,'muMuEleTauEventTreeTauUp','MMETzzCleanedCandsAboveThresholdTauUp')
addMuMuEleTauEventTree(process,'muMuEleTauEventTreeTauDown','MMETzzCleanedCandsAboveThresholdTauDown')
from UWAnalysis.Configuration.tools.zzNtupleTools import addMuMuEleMuEventTree
addMuMuEleMuEventTree(process,'muMuEleMuEventTree','MMEMzzCleanedCandsAboveThreshold')
Beispiel #5
0
addMuMuMuTauEventTree(
    process,
    "muMuMuTauEventTree_antiIso2",
    "MMMTantiIso2F",
    "EEEEFinalSel",
    "EEMMFinalSel",
    "MMEEFinalSel",
    "MMMMFinalSel",
)
from UWAnalysis.Configuration.tools.zzNtupleTools import addMuMuTauTauEventTree

addMuMuTauTauEventTree(
    process,
    "muMuTauTauEventTree_noIsoOS",
    "MMTTnoIsoOSF",
    "EEEEFinalSel",
    "EEMMFinalSel",
    "MMEEFinalSel",
    "MMMMFinalSel",
)
addMuMuTauTauEventTree(
    process,
    "muMuTauTauEventTree_noIsoSS",
    "MMTTnoIsoSSF",
    "EEEEFinalSel",
    "EEMMFinalSel",
    "MMEEFinalSel",
    "MMMMFinalSel",
)
addMuMuTauTauEventTree(
    process,
Beispiel #6
0
    addEleTree(process,'finalElectrons','mvaedElectrons',leadingOnly=False)
    addEleTree(process,'correctedElectrons','corrElectrons',leadingOnly=False)
    addEleTree(process,'cleanElectrons','cleanPatElectrons',leadingOnly=False)

if options.run2l2t:
    process.eventSelectionMMTT = cms.Path(process.MMTTselectionSequence)
    process.eventSelectionMMMT = cms.Path(process.MMMTselectionSequence)
    process.eventSelectionMMET = cms.Path(process.MMETselectionSequence)
    process.eventSelectionMMEM = cms.Path(process.MMEMselectionSequence)
    process.eventSelectionEEMT = cms.Path(process.EEMTselectionSequence)
    process.eventSelectionEEET = cms.Path(process.EEETselectionSequence)
    process.eventSelectionEETT = cms.Path(process.EETTselectionSequence)
    process.eventSelectionEEEM = cms.Path(process.EEEMselectionSequence)

    from UWAnalysis.Configuration.tools.zzNtupleTools import addMuMuTauTauEventTree
    addMuMuTauTauEventTree(process,'muMuTauTauEventTree','MMTTzzCleanedCands','EEEEFinalSel','EEMMFinalSel','MMEEFinalSel','MMEEFinalSel',MC=False,leadingOnly=leadingOnly)
    addMuMuTauTauEventTree(process,'muMuTauTauEventTreeFinal','MMTTFinalSel','EEEEFinalSel','EEMMFinalSel','MMEEFinalSel','MMEEFinalSel',MC=False,leadingOnly=leadingOnly)
    from UWAnalysis.Configuration.tools.zzNtupleTools import addMuMuMuTauEventTree
    addMuMuMuTauEventTree(process,'muMuMuTauEventTree','MMMTzzCleanedCands','EEEEFinalSel','EEMMFinalSel','MMEEFinalSel','MMEEFinalSel',MC=False,leadingOnly=leadingOnly)
    addMuMuMuTauEventTree(process,'muMuMuTauEventTreeFinal','MMMTFinalSel','EEEEFinalSel','EEMMFinalSel','MMEEFinalSel','MMEEFinalSel',MC=False,leadingOnly=leadingOnly)
    from UWAnalysis.Configuration.tools.zzNtupleTools import addMuMuEleTauEventTree
    addMuMuEleTauEventTree(process,'muMuEleTauEventTree','MMETzzCleanedCands','EEEEFinalSel','EEMMFinalSel','MMEEFinalSel','MMEEFinalSel',MC=False,leadingOnly=leadingOnly)
    addMuMuEleTauEventTree(process,'muMuEleTauEventTreeFinal','MMETFinalSel','EEEEFinalSel','EEMMFinalSel','MMEEFinalSel','MMEEFinalSel',MC=False,leadingOnly=leadingOnly)
    from UWAnalysis.Configuration.tools.zzNtupleTools import addMuMuEleMuEventTree
    addMuMuEleMuEventTree(process,'muMuEleMuEventTree','MMEMzzCleanedCands','EEEEFinalSel','EEMMFinalSel','MMEEFinalSel','MMEEFinalSel',MC=False,leadingOnly=leadingOnly)
    addMuMuEleMuEventTree(process,'muMuEleMuEventTreeFinal','MMEMFinalSel','EEEEFinalSel','EEMMFinalSel','MMEEFinalSel','MMEEFinalSel',MC=False,leadingOnly=leadingOnly)
    from UWAnalysis.Configuration.tools.zzNtupleTools import addEleEleTauTauEventTree
    addEleEleTauTauEventTree(process,'eleEleTauTauEventTree','EETTzzCleanedCands','EEEEFinalSel','EEMMFinalSel','MMEEFinalSel','MMEEFinalSel',MC=False,leadingOnly=leadingOnly)
    addEleEleTauTauEventTree(process,'eleEleTauTauEventTreeFinal','EETTFinalSel','EEEEFinalSel','EEMMFinalSel','MMEEFinalSel','MMEEFinalSel',MC=False,leadingOnly=leadingOnly)
    from UWAnalysis.Configuration.tools.zzNtupleTools import addEleEleEleTauEventTree
    addEleEleEleTauEventTree(process,'eleEleEleTauEventTree','EEETzzCleanedCands','EEEEFinalSel','EEMMFinalSel','MMEEFinalSel','MMEEFinalSel',MC=False,leadingOnly=leadingOnly)