pluginName=cms.string('vertexQualityBgEstQCDenriched'),
    pluginType=cms.string('VertexMinEventSelector'),
    src=cms.InputTag('selectedPrimaryVertexQualityForMuTauBgEstQCDenriched'),
    minNumber=cms.uint32(1))
cfgVertexPositionForMuTauBgEstQCDenriched = cms.PSet(
    pluginName=cms.string('vertexPositionBgEstQCDenriched'),
    pluginType=cms.string('VertexMinEventSelector'),
    src=cms.InputTag('selectedPrimaryVertexPositionForMuTauBgEstQCDenriched'),
    minNumber=cms.uint32(1))

evtSelConfiguratorBgEstQCDenriched = eventSelFlagProdConfigurator(
    [
        cfgMuonPFRelIsoCutBgEstQCDenriched, cfgTauTaNCdiscrCutBgEstQCDenriched,
        cfgTauMuonVetoBgEstQCDenriched, cfgVertexForMuTauBgEstQCDenriched,
        cfgVertexQualityForMuTauBgEstQCDenriched,
        cfgVertexPositionForMuTauBgEstQCDenriched,
        cfgMuTauPairBgEstQCDenriched, cfgMuTauPairMt1METbgEstQCDenriched,
        cfgMuTauPairPzetaDiffBgEstQCDenriched, cfgDiMuonVetoBgEstQCDenriched
    ],
    boolEventSelFlagProducer="BoolEventSelFlagProducer",
    pyModuleName=__name__)

selectEventsBgEstQCDenriched = evtSelConfiguratorBgEstQCDenriched.configure()

#--------------------------------------------------------------------------------
# apply event selection criteria; fill histograms
#--------------------------------------------------------------------------------

from TauAnalysis.Configuration.analyzeZtoMuTau_cfi import *
#from TauAnalysis.BgEstimationTools.selectZtoMuTauEventVertex_cff import *
cfgElecTauPairZeeHypothesisVetoBgEstZeeJetMisIdEnriched.minNumber = cms.uint32(
    1)

evtSelConfiguratorBgEstZeeJetMisIdEnriched = eventSelFlagProdConfigurator(
    [
        cfgElectronIdCutBgEstZeeJetMisIdEnriched,
        cfgElectronAntiCrackCutBgEstZeeJetMisIdEnriched,
        cfgElectronEtaCutBgEstZeeJetMisIdEnriched,
        cfgElectronPtCutBgEstZeeJetMisIdEnriched,
        cfgElectronIsoCutBgEstZeeJetMisIdEnriched,
        cfgElectronConversionVetoBgEstZeeJetMisIdEnriched,
        cfgElectronTrkIPcutBgEstZeeJetMisIdEnriched,
        cfgTauAntiOverlapWithElectronsVetoBgEstZeeJetMisIdEnriched,
        cfgTauEtaCutBgEstZeeJetMisIdEnriched,
        cfgTauPtCutBgEstZeeJetMisIdEnriched,
        cfgTauLeadTrkPtCutBgEstZeeJetMisIdEnriched,
        cfgTauIsoCutBgEstZeeJetMisIdEnriched,
        cfgTauElectronVetoBgEstZeeJetMisIdEnriched,
        ##    cfgTauEcalCrackVetoBgEstZeeJetMisIdEnriched,
        cfgTauMuonVetoBgEstZeeJetMisIdEnriched,
        cfgDiTauCandidateAntiOverlapVetoBgEstZeeJetMisIdEnriched,
        cfgDiTauCandidateForElecTauMt1METCutBgEstZeeJetMisIdEnriched,
        cfgDiTauCandidateForElecTauPzetaDiffCutBgEstZeeJetMisIdEnriched,
        cfgDiTauCandidateForElecTauZeroChargeCutBgEstZeeJetMisIdEnriched,
        cfgElecTauPairZeeHypothesisVetoBgEstZeeJetMisIdEnriched
    ],
    boolEventSelFlagProducer="BoolEventSelFlagProducer",
    pyModuleName=__name__)

selectEventsBgEstZeeJetMisIdEnriched = evtSelConfiguratorBgEstZeeJetMisIdEnriched.configure(
)
예제 #3
0
zToMuTauEventSelConfiguratorOS = eventSelFlagProdConfigurator(
    [ cfgGenPhaseSpaceCut,
      cfgTrigger,      
      cfgGlobalMuonCut,
      cfgMuonEtaCut,
      cfgMuonPtCut,
      cfgTauAntiOverlapWithMuonsVeto,
      cfgTauEtaCut,
      cfgTauPtCut,
      cfgMuonVbTfIdCut,
      cfgMuonPFRelIsoCut,
      cfgMuonTrkIPcut,
      cfgTauLeadTrkCut,
      cfgTauLeadTrkPtCut,
      cfgTauTaNCdiscrCut,
      cfgTauProngCut,
      cfgTauChargeCut,
      cfgTauMuonVeto,
      cfgTauElectronVeto,
      cfgDiTauCandidateForMuTauAntiOverlapVeto,
      cfgDiTauCandidateForMuTauMt1METcut,
      cfgDiTauCandidateForMuTauPzetaDiffCut,
      cfgDiTauCandidateForMuTauZeroChargeCut,
      cfgPrimaryEventVertexForMuTau,
      cfgPrimaryEventVertexQualityForMuTau,
      cfgPrimaryEventVertexPositionForMuTau,
      cfgDiMuPairZmumuHypothesisVetoByLooseIsolation,
      cfgDiMuPairDYmumuHypothesisVeto ],
    boolEventSelFlagProducer = "BoolEventSelFlagProducer",
    pyModuleName = __name__
)
    minNumber = cms.uint32(1)
)
cfgVertexPositionForMuTauBgEstTTplusJetsEnriched = cms.PSet(
    pluginName = cms.string('vertexPositionBgEstTTplusJetsEnriched'),
    pluginType = cms.string('VertexMinEventSelector'),
    src = cms.InputTag('selectedPrimaryVertexPositionForMuTauBgEstTTplusJetsEnriched'),
    minNumber = cms.uint32(1)
)

evtSelConfiguratorBgEstTTplusJetsEnriched = eventSelFlagProdConfigurator(
    [ cfgMuonVbTfIdCutBgEstTTplusJetsEnriched,
      cfgMuonPFRelIsoCutBgEstTTplusJetsEnriched,
      cfgVertexForMuTauBgEstTTplusJetsEnriched,
      cfgVertexQualityForMuTauBgEstTTplusJetsEnriched,
      cfgVertexPositionForMuTauBgEstTTplusJetsEnriched,
      cfgMuTauPairBgEstTTplusJetsEnriched,
      cfgMuTauPairZeroChargeBgEstTTplusJetsEnriched,
      cfgJetsEt40BgEstTTplusJetsEnriched,
      cfgJetEt40bTagBgEstTTplusJetsEnriched,
      cfgJetEt60BgEstTTplusJetsEnriched ],
    boolEventSelFlagProducer = "BoolEventSelFlagProducer",
    pyModuleName = __name__
)

selectEventsBgEstTTplusJetsEnriched = evtSelConfiguratorBgEstTTplusJetsEnriched.configure()

#--------------------------------------------------------------------------------
# apply event selection criteria; fill histograms
#--------------------------------------------------------------------------------

from TauAnalysis.Configuration.analyzeZtoMuTau_cfi import *
from TauAnalysis.BgEstimationTools.selectZtoMuTauEventVertex_cff import *
zToElecMuEventSelConfigurator = eventSelFlagProdConfigurator(
    [
        cfgTrigger,
        cfgPrimaryEventVertex,
        cfgPrimaryEventVertexQuality,
        cfgPrimaryEventVertexPosition,
        cfgElectronIdMinCut,
        cfgElectronIdMaxCut,
        cfgElectronAntiCrackCut,
        cfgElectronEtaCut,
        cfgElectronPtCut,
        cfgElectronIsoCut,
        cfgElectronTrkCut,
        #cfgElectronTrkIPCut,
        cfgGlobalMuonMinCut,
        cfgGlobalMuonMaxCut,
        cfgMuonEtaCut,
        cfgMuonPtCut,
        cfgMuonIsoCut,
        cfgMuonAntiPionCut,
        #cfgMuonTrkIPCut,
        cfgDiTauCandidateForElecMuDRminCut,
        cfgDiTauCandidateForElecMuZeroChargeCut,
        cfgDiTauCandidateForElecMuMt1METCut,
        cfgDiTauCandidateForElecMuMt2METCut,
        cfgDiTauCandidateForElecMuDPhiCut,
        #cfgDiTauCandidateForElecMuOneLegPtCut,
        cfgMETMaxCut,
        cfgJetMinCut,
        cfgJetMaxCut,
        cfgJetBtagMinCut,
        cfgJetBtagMaxCut
    ],
    boolEventSelFlagProducer="BoolEventSelFlagProducer",
    pyModuleName=__name__)
    minNumber=cms.uint32(1))
cfgPrimaryEventVertexPosition = cms.PSet(
    pluginName=cms.string('primaryEventVertexPosition'),
    pluginType=cms.string('VertexMinEventSelector'),
    src=cms.InputTag('selectedPrimaryVertexPosition'),
    minNumber=cms.uint32(1))
cfgPrimaryEventVertexHighestPtTrackSum = cms.PSet(
    pluginName=cms.string('primaryEventVertexHighestPtTrackSum'),
    pluginType=cms.string('VertexMinEventSelector'),
    src=cms.InputTag('selectedPrimaryVertexPosition'),
    minNumber=cms.uint32(1))

zToElecTauEventVertexSelConfigurator = eventSelFlagProdConfigurator(
    [
        cfgPrimaryEventVertex, cfgPrimaryEventVertexQuality,
        cfgPrimaryEventVertexPosition
    ],
    boolEventSelFlagProducer="BoolEventSelFlagProducer",
    pyModuleName=__name__)

produceEventVertexSelFlagsZtoElecTau = zToElecTauEventVertexSelConfigurator.configure(
)

evtSelPrimaryEventVertex = cms.PSet(
    pluginName=cms.string('evtSelPrimaryEventVertex'),
    pluginType=cms.string('BoolEventSelector'),
    src=cms.InputTag('primaryEventVertex'))
evtSelPrimaryEventVertexQuality = cms.PSet(
    pluginName=cms.string('evtSelPrimaryEventVertexQuality'),
    pluginType=cms.string('BoolEventSelector'),
    src=cms.InputTag('primaryEventVertexQuality'))
#   with opposite charge w.r.t the primary electron
cfgDiElecPairZeeHypothesisVetoByLooseIsolation = cms.PSet(
    pluginName=cms.string('diElecPairZeeHypothesisVetoByLooseIsolation'),
    pluginType=cms.string('PATCandViewMaxEventSelector'),
    src=cms.InputTag('selectedDiElecPairZeeHypothesesByLooseIsolation'),
    maxNumber=cms.uint32(0))

zToElecTauEventSelConfiguratorOS = eventSelFlagProdConfigurator(
    [
        cfgGenPhaseSpaceCut, cfgTrigger, cfgPrimaryEventVertexQuality,
        cfgPrimaryEventVertexPosition, cfgElectronIdCut,
        cfgElectronAntiCrackCut, cfgElectronEtaCut, cfgElectronPtCut,
        cfgElectronIsoCut, cfgElectronConversionVeto, cfgElectronTrkIPcut,
        cfgTauAntiOverlapWithElectronsVeto, cfgTauEtaCut, cfgTauPtCut,
        cfgTauDecayModeFindingCut, cfgTauLeadTrkPtCut, cfgTauIsoCut,
        cfgTauElectronVeto, cfgTauMuonVeto,
        cfgDiTauCandidateForElecTauAntiOverlapVeto,
        cfgDiTauCandidateForElecTauMt1METCut,
        cfgDiTauCandidateForElecTauPzetaDiffCut,
        cfgDiTauCandidateForElecTauZeroChargeCut,
        cfgDiElecPairZeeHypothesisVetoByLooseIsolation
    ],
    boolEventSelFlagProducer="BoolEventSelFlagProducer",
    pyModuleName=__name__)

produceEventSelFlagsZtoElecTauOS = zToElecTauEventSelConfiguratorOS.configure()

zToElecTauEventSelConfiguratorSS = eventSelFlagProdConfigurator(
    [cfgDiTauCandidateForElecTauNonZeroChargeCut],
    boolEventSelFlagProducer="BoolEventSelFlagProducer",
    pyModuleName=__name__)
예제 #8
0
    pluginName=cms.string('jetsBgEstZbbEnrichedEta24'),
    src=cms.InputTag('jetsBgEstZbbEnrichedEta24'))

cfgJetsBgEstZbbEnrichedEt20 = cfgJetsBgEstZbbEnrichedAntiOverlapWithLeptonsVeto.clone(
    pluginName=cms.string('jetsBgEstZbbEnrichedEt20'),
    src=cms.InputTag('jetsBgEstZbbEnrichedEt20'))

cfgJetsBgEstZbbEnrichedEt20bTag = cfgJetsBgEstZbbEnrichedAntiOverlapWithLeptonsVeto.clone(
    pluginName=cms.string('jetsBgEstZbbEnrichedEt20bTag'),
    src=cms.InputTag('jetsBgEstZbbEnrichedEt20bTag'))

evtSelConfiguratorBgEstZbbEnriched = eventSelFlagProdConfigurator(
    [
        cfgGoodIsoMuPlusBgEstZbbEnriched, cfgGoodIsoMuMinusBgEstZbbEnriched,
        cfgGoldenZmumuCandidatesBgEstZbbEnriched,
        cfgJetsBgEstZbbEnrichedAntiOverlapWithLeptonsVeto,
        cfgJetsBgEstZbbEnrichedEta24, cfgJetsBgEstZbbEnrichedEt20,
        cfgJetsBgEstZbbEnrichedEt20bTag
    ],
    boolEventSelFlagProducer="BoolEventSelFlagProducer",
    pyModuleName=__name__)

selectEventsBgEstZbbEnriched = evtSelConfiguratorBgEstZbbEnriched.configure()

#--------------------------------------------------------------------------------
# apply event selection criteria; fill histograms
#--------------------------------------------------------------------------------

from TauAnalysis.Configuration.analyzeZtoMuTau_cfi import *
from TauAnalysis.BgEstimationTools.selectZtoMuTauEventVertex_cff import *
from TauAnalysis.Core.candidateHistManager_cfi import *
예제 #9
0
zToElecMuEventSelConfigurator = eventSelFlagProdConfigurator(
    [ cfgTrigger,
      cfgPrimaryEventVertex,
      cfgPrimaryEventVertexQuality,
      cfgPrimaryEventVertexPosition,
      cfgElectronIdMinCut,
      cfgElectronIdMaxCut,
      cfgElectronAntiCrackCut,
      cfgElectronEtaCut,
      cfgElectronPtCut,
      cfgElectronIsoCut,
      cfgElectronTrkCut,
      #cfgElectronTrkIPCut,
      cfgGlobalMuonMinCut,
      cfgGlobalMuonMaxCut,
      cfgMuonEtaCut,
      cfgMuonPtCut,
      cfgMuonIsoCut,
      cfgMuonAntiPionCut,
      #cfgMuonTrkIPCut,
      cfgDiTauCandidateForElecMuDRminCut,
      cfgDiTauCandidateForElecMuZeroChargeCut,
      cfgDiTauCandidateForElecMuMt1METCut,
      cfgDiTauCandidateForElecMuMt2METCut,
      cfgDiTauCandidateForElecMuDPhiCut,
      #cfgDiTauCandidateForElecMuOneLegPtCut,
      cfgMETMaxCut,
      cfgJetMinCut,
      cfgJetMaxCut,
      cfgJetBtagMinCut,
      cfgJetBtagMaxCut
      ],
    boolEventSelFlagProducer = "BoolEventSelFlagProducer",
    pyModuleName = __name__
)
    minNumber=cms.uint32(1))
cfgVertexPositionForMuTauBgEstTTplusJetsEnriched = cms.PSet(
    pluginName=cms.string('vertexPositionBgEstTTplusJetsEnriched'),
    pluginType=cms.string('VertexMinEventSelector'),
    src=cms.InputTag(
        'selectedPrimaryVertexPositionForMuTauBgEstTTplusJetsEnriched'),
    minNumber=cms.uint32(1))

evtSelConfiguratorBgEstTTplusJetsEnriched = eventSelFlagProdConfigurator(
    [
        cfgMuonVbTfIdCutBgEstTTplusJetsEnriched,
        cfgMuonPFRelIsoCutBgEstTTplusJetsEnriched,
        cfgVertexForMuTauBgEstTTplusJetsEnriched,
        cfgVertexQualityForMuTauBgEstTTplusJetsEnriched,
        cfgVertexPositionForMuTauBgEstTTplusJetsEnriched,
        cfgMuTauPairBgEstTTplusJetsEnriched,
        cfgMuTauPairZeroChargeBgEstTTplusJetsEnriched,
        cfgJetsEt40BgEstTTplusJetsEnriched,
        cfgJetEt40bTagBgEstTTplusJetsEnriched,
        cfgJetEt60BgEstTTplusJetsEnriched
    ],
    boolEventSelFlagProducer="BoolEventSelFlagProducer",
    pyModuleName=__name__)

selectEventsBgEstTTplusJetsEnriched = evtSelConfiguratorBgEstTTplusJetsEnriched.configure(
)

#--------------------------------------------------------------------------------
# apply event selection criteria; fill histograms
#--------------------------------------------------------------------------------
    minNumber = cms.uint32(1)
    )

wToTauNuBoostedEventSelConfigurator = eventSelFlagProdConfigurator(
    [cfgPrimaryEventVertexBoosted,
     cfgPrimaryEventVertexQualityBoosted,
     cfgPrimaryEventVertexPositionBoosted,
     cfgTauEtaCutBoosted,
     cfgTauPtCutBoosted,
     cfgPFMetPtBoosted,
     cfgMetPtBoosted,
     cfgTauLeadTrkBoosted,
     cfgTauLeadTrkPtBoosted,
     cfgTauEcalIsoBoosted,
     cfgTauTrkIsoBoosted,
     cfgTauProngCutBoosted,
     cfgTauChargeCutBoosted,
     cfgTauMuonVetoBoosted,
     cfgTauElectronVetoBoosted,
     cfgTauEcalCrackVetoBoosted,
     cfgRecoilJetBoosted,
     cfgCentralJetVetoBoosted,
     cfgPhiMetTauBoosted,
     cfgMetTopologyCutBoosted,
     cfgMetSignificanceCutBoosted
     ],
    boolEventSelFlagProducer = "BoolEventSelFlagProducer",
    pyModuleName = __name__
    )

selectWtoTauNuEventsBoosted = wToTauNuBoostedEventSelConfigurator.configure()
cfgVertexPositionForMuTauBgEstWplusJetsEnriched = cms.PSet(
    pluginName = cms.string('vertexPositionBgEstWplusJetsEnriched'),
    pluginType = cms.string('VertexMinEventSelector'),
    src = cms.InputTag('selectedPrimaryVertexPositionForMuTauBgEstWplusJetsEnriched'),
    minNumber = cms.uint32(1)
)


evtSelConfiguratorBgEstWplusJetsEnriched = eventSelFlagProdConfigurator(
    [ cfgMuonPtCutBgEstWplusJetsEnriched,
      cfgMuonVbTfIdCutBgEstWplusJetsEnriched,      
      cfgMuonPFRelIsoCutBgEstWplusJetsEnriched,
      cfgTauTaNCdiscrCutBgEstWplusJetsEnriched,
      cfgTauMuonVetoBgEstWplusJetsEnriched,
      cfgVertexForMuTauBgEstWplusJetsEnriched,
      cfgVertexQualityForMuTauBgEstWplusJetsEnriched,
      cfgVertexPositionForMuTauBgEstWplusJetsEnriched,
      cfgMuTauPairBgEstWplusJetsEnriched,
      cfgMuTauPairMt1MEtBgEstWplusJetsEnriched,
      cfgCentralJetVetoBgEstWplusJetsEnriched,
      cfgDiMuonVetoBgEstWplusJetsEnriched ],
    boolEventSelFlagProducer = "BoolEventSelFlagProducer",
    pyModuleName = __name__
)

selectEventsBgEstWplusJetsEnriched = evtSelConfiguratorBgEstWplusJetsEnriched.configure()

#--------------------------------------------------------------------------------  
# apply event selection criteria; fill histograms
#--------------------------------------------------------------------------------

from TauAnalysis.Configuration.analyzeZtoMuTau_cfi import *
    pluginName = cms.string('primaryEventVertexPosition'),
    pluginType = cms.string('VertexMinEventSelector'),
    src = cms.InputTag('selectedPrimaryVertexPosition'),
    minNumber = cms.uint32(1)
)
cfgPrimaryEventVertexHighestPtTrackSum = cms.PSet(
    pluginName = cms.string('primaryEventVertexHighestPtTrackSum'),
    pluginType = cms.string('VertexMinEventSelector'),
    src = cms.InputTag('selectedPrimaryVertexPosition'),
    minNumber = cms.uint32(1)
)

zToElecTauEventVertexSelConfigurator = eventSelFlagProdConfigurator(
    [ cfgPrimaryEventVertex,
      cfgPrimaryEventVertexQuality,
      cfgPrimaryEventVertexPosition ],
    boolEventSelFlagProducer = "BoolEventSelFlagProducer",
    pyModuleName = __name__
)

produceEventVertexSelFlagsZtoElecTau = zToElecTauEventVertexSelConfigurator.configure()

evtSelPrimaryEventVertex = cms.PSet(
    pluginName = cms.string('evtSelPrimaryEventVertex'),
    pluginType = cms.string('BoolEventSelector'),
    src = cms.InputTag('primaryEventVertex')
)
evtSelPrimaryEventVertexQuality = cms.PSet(
    pluginName = cms.string('evtSelPrimaryEventVertexQuality'),
    pluginType = cms.string('BoolEventSelector'),
    src = cms.InputTag('primaryEventVertexQuality')
예제 #14
0
    minNumber=cms.uint32(1))

cfgMetTopologyCutBoosted = cms.PSet(
    pluginName=cms.string('metTopologyCutBoosted'),
    pluginType=cms.string('MEtTopologyMinEventSelector'),
    src=cms.InputTag('selectedMEtTopology04'),
    minNumber=cms.uint32(1))

cfgMetSignificanceCutBoosted = cms.PSet(
    pluginName=cms.string('metSignificanceCutBoosted'),
    pluginType=cms.string('PATCandViewMinEventSelector'),
    src=cms.InputTag('selectedMetSignificance10'),
    minNumber=cms.uint32(1))

wToTauNuBoostedEventSelConfigurator = eventSelFlagProdConfigurator(
    [
        cfgPrimaryEventVertexBoosted, cfgPrimaryEventVertexQualityBoosted,
        cfgPrimaryEventVertexPositionBoosted, cfgTauEtaCutBoosted,
        cfgTauPtCutBoosted, cfgPFMetPtBoosted, cfgMetPtBoosted,
        cfgTauLeadTrkBoosted, cfgTauLeadTrkPtBoosted, cfgTauEcalIsoBoosted,
        cfgTauTrkIsoBoosted, cfgTauProngCutBoosted, cfgTauChargeCutBoosted,
        cfgTauMuonVetoBoosted, cfgTauElectronVetoBoosted,
        cfgTauEcalCrackVetoBoosted, cfgRecoilJetBoosted,
        cfgCentralJetVetoBoosted, cfgPhiMetTauBoosted,
        cfgMetTopologyCutBoosted, cfgMetSignificanceCutBoosted
    ],
    boolEventSelFlagProducer="BoolEventSelFlagProducer",
    pyModuleName=__name__)

selectWtoTauNuEventsBoosted = wToTauNuBoostedEventSelConfigurator.configure()
예제 #15
0
zToDiTauEventSelConfigurator = eventSelFlagProdConfigurator(
    [
        cfgGenPhaseSpaceCut,
        cfgTrigger,
        cfgPrimaryEventVertex,
        cfgPrimaryEventVertexQuality,
        cfgPrimaryEventVertexPosition,
        cfgFirstTauEtaCut,
        cfgFirstTauPtCut,
        cfgFirstTauLeadTrkCut,
        cfgFirstTauLeadTrkPtCut,
        cfgFirstTauTaNCdiscrCut,
        cfgFirstTauTrkIsoCut,
        cfgFirstTauEcalIsoCut,
        cfgFirstTauProngCut,
        cfgFirstTauChargeCut,
        cfgFirstTauMuonVeto,
        cfgFirstTauElectronVeto,
        cfgSecondTauEtaCut,
        cfgSecondTauPtCut,
        cfgSecondTauLeadTrkCut,
        cfgSecondTauLeadTrkPtCut,
        cfgSecondTauTaNCdiscrCut,
        cfgSecondTauTrkIsoCut,
        cfgSecondTauEcalIsoCut,
        cfgSecondTauProngCut,
        cfgSecondTauChargeCut,
        cfgSecondTauMuonVeto,
        cfgSecondTauElectronVeto,
        cfgDiTauCandidateForDiTauAntiOverlapVeto,
        cfgDiTauCandidateForDiTauZeroChargeCut,
        cfgDiTauCandidateForDiTauAcoplanarityCut,
        cfgDiTauCandidateForDiTauPzetaDiffCut,
    ],
    # cfgCentralJetVeto ],
    boolEventSelFlagProducer="BoolEventSelFlagProducer",
    pyModuleName=__name__,
)
예제 #16
0
ahToElecMuEventSelConfigurator = eventSelFlagProdConfigurator(
    [
        cfgTrigger,
        cfgPrimaryEventVertex,
        cfgPrimaryEventVertexQuality,
        cfgPrimaryEventVertexPosition,
        cfgElectronIdMinCut,
        #cfgElectronIdMaxCut,
        cfgElectronAntiCrackCut,
        cfgElectronEtaCut,
        cfgElectronPtCut,
        cfgElectronIsoCut,
        #cfgElectronTrkIsoCut,
        #cfgElectronEcalIsoCut,
        #cfgElectronHcalIsoCut,
        cfgElectronTrkCut,
        #cfgElectronTrkIPCut,
        cfgGlobalMuonMinCut,
        #cfgGlobalMuonMaxCut,
        cfgMuonEtaCut,
        cfgMuonPtCut,
        cfgMuonIsoCut,
        #cfgMuonTrkIsoCut,
        #cfgMuonEcalIsoCut,
        #cfgMuonHcalIsoCut,
        cfgMuonAntiPionCut,
        #cfgMuonTrkIPCut,
        cfgDiTauCandidateForElecMuZeroChargeCut,
        #cfgDiTauCandidateForElecMuAcoplanarityCut,
        cfgDiTauCandidateForElecMuDPhiCut,
        #cfgDiTauCandidateForElecMuImpParamSigCut,
        cfgDiTauCandidateForElecMuOneLegPtCut,
        cfgMETMaxCut,
        cfgJetMinCut,
        cfgJetMaxCut,
        cfgJetBtagMinCut,
        cfgJetBtagMaxCut
        ##       cfgElectronIso005Cut,
        ##       cfgElectronIso010Cut,
        ##       cfgElectronIso015Cut,
        ##       cfgElectronIso020Cut,
        ##       cfgElectronIso025Cut,
        ##       cfgElectronIso030Cut,
        ##       cfgMuonIso005Cut,
        ##       cfgMuonIso010Cut,
        ##       cfgMuonIso015Cut,
        ##       cfgMuonIso020Cut,
        ##       cfgMuonIso025Cut,
        ##       cfgMuonIso030Cut,
        ##       cfgElectronPt10Cut,
        ##       cfgElectronPt11Cut,
        ##       cfgElectronPt12Cut,
        ##       cfgElectronPt13Cut,
        ##       cfgElectronPt14Cut,
        ##       cfgElectronPt15Cut,
        ##       cfgElectronPt16Cut,
        ##       cfgElectronPt17Cut,
        ##       cfgElectronPt18Cut,
        ##       cfgElectronPt19Cut,
        ##       cfgElectronPt20Cut,
        ##       cfgMuonPt10Cut,
        ##       cfgMuonPt11Cut,
        ##       cfgMuonPt12Cut,
        ##       cfgMuonPt13Cut,
        ##       cfgMuonPt14Cut,
        ##       cfgMuonPt15Cut,
        ##       cfgMuonPt16Cut,
        ##       cfgMuonPt17Cut,
        ##       cfgMuonPt18Cut,
        ##       cfgMuonPt19Cut,
        ##       cfgMuonPt20Cut,
        ##       cfgElectronLooseIdMinCut,
        ##       cfgElectronTightIdMinCut,
        ##       cfgElectronRobustIdMinCut,
        ##       cfgDiTauCandidateForElecMuOneLegPt18Cut,
        ##       cfgDiTauCandidateForElecMuOneLegPt20Cut,
        ##       cfgDiTauCandidateForElecMuOneLegPt22Cut,
        ##       cfgDiTauCandidateForElecMuOneLegPt24Cut,
        ##       cfgDiTauCandidateForElecMuOneLegPt26Cut,
        ##       cfgDiTauCandidateForElecMuOneLegPt28Cut,
        ##       cfgDiTauCandidateForElecMuOneLegPt30Cut
    ],
    boolEventSelFlagProducer="BoolEventSelFlagProducer",
    pyModuleName=__name__)
cfgElecTauPairZeeHypothesisVetoBgEstPhotonPlusJetsEnriched.src = cms.InputTag('selectedDiElecPairBgEstPhotonPlusJetsEnrichedZeeHypothesesByLooseIsolation')


evtSelConfiguratorBgEstPhotonPlusJetsEnriched = eventSelFlagProdConfigurator(
    [ cfgElectronIdCutBgEstPhotonPlusJetsEnriched,
      cfgElectronAntiCrackCutBgEstPhotonPlusJetsEnriched,
      cfgElectronEtaCutBgEstPhotonPlusJetsEnriched,
      cfgElectronPtCutBgEstPhotonPlusJetsEnriched,
      cfgElectronIsoCutBgEstPhotonPlusJetsEnriched,
      cfgElectronConversionVetoBgEstPhotonPlusJetsEnriched,
      cfgElectronTrkIPcutBgEstPhotonPlusJetsEnriched,
      cfgTauAntiOverlapWithElectronsVetoBgEstPhotonPlusJetsEnriched,
      cfgTauEtaCutBgEstPhotonPlusJetsEnriched,
      cfgTauPtCutBgEstPhotonPlusJetsEnriched,
      cfgTauLeadTrkPtCutBgEstPhotonPlusJetsEnriched,
      cfgTauIsoCutBgEstPhotonPlusJetsEnriched,
      cfgTauElectronVetoBgEstPhotonPlusJetsEnriched,
##    cfgTauEcalCrackVetoBgEstPhotonPlusJetsEnriched,
      cfgTauMuonVetoBgEstPhotonPlusJetsEnriched,
      cfgDiTauCandidateAntiOverlapVetoBgEstPhotonPlusJetsEnriched,
      cfgDiTauCandidateForElecTauMt1METCutBgEstPhotonPlusJetsEnriched,
      cfgDiTauCandidateForElecTauPzetaDiffCutBgEstPhotonPlusJetsEnriched,
      cfgDiTauCandidateForElecTauZeroChargeCutBgEstPhotonPlusJetsEnriched,
      cfgDiTauCandidateForElecTauDPhiCutBgEstPhotonPlusJetsEnriched,
      cfgElecTauPairZeeHypothesisVetoBgEstPhotonPlusJetsEnriched
      ],
    boolEventSelFlagProducer = "BoolEventSelFlagProducer",
    pyModuleName = __name__
)

selectEventsBgEstPhotonPlusJetsEnriched = evtSelConfiguratorBgEstPhotonPlusJetsEnriched.configure()
예제 #18
0
wToTauNuEventSelConfigurator = eventSelFlagProdConfigurator(
    [
        cfgTrigger,
        cfgPrimaryEventVertex,
        cfgPrimaryEventVertexQuality,
        cfgPrimaryEventVertexPosition,
        cfgTauEtaCut,
        cfgTauPtCut,
        cfgTauTrkVertex,
        cfgTauLeadTrk,
        cfgTauLeadTrkPt,
        cfgTauMuonVeto,
        cfgMuonVeto,
        cfgTauElectronVeto,
        cfgTauEmFraction,
        cfgElectronVeto,
        cfgTauIso,
        cfgTauProngCut,
        cfgTauChargeCut,
        cfgTauEcalCrackVeto,
        cfgPFMetPt,
        cfgHtRatioCut,
        cfgMtCut,
        cfgTrigger2
        #    cfgMetTopologyCut
    ],
    boolEventSelFlagProducer="BoolEventSelFlagProducer",
    pyModuleName=__name__,
)
evtSelConfiguratorBgEstZmumuEnriched = eventSelFlagProdConfigurator(
    [ cfgTauTaNCdiscrBgEstZmumuJetMisIdEnriched,
      cfgTauMuonVetoBgEstZmumuJetMisIdEnriched,
      cfgVertexForMuTauBgEstZmumuJetMisIdEnriched,
      cfgVertexQualityForMuTauBgEstZmumuJetMisIdEnriched,
      cfgVertexPositionForMuTauBgEstZmumuJetMisIdEnriched,
      cfgMuTauPairBgEstZmumuJetMisIdEnriched,
      cfgMuTauPairMt1METbgEstZmumuJetMisIdEnriched,
      cfgMuTauPairPzetaDiffBgEstZmumuJetMisIdEnriched,
      cfgDiMuonPairBgEstZmumuJetMisIdEnriched,
      cfgDiMuonPairZeroChargeBgEstZmumuJetMisIdEnriched,
      cfgDiMuonPairInvMassBgEstZmumuJetMisIdEnriched,
      cfgMuonStandaloneZmumuMuonMisIdEnriched,
      cfgTauEtaBgEstZmumuMuonMisIdEnriched,
      cfgTauPtBgEstZmumuMuonMisIdEnriched,
      cfgTauLeadTrkBgEstZmumuMuonMisIdEnriched,
      cfgTauLeadTrkPtBgEstZmumuMuonMisIdEnriched,
      cfgTauTaNCdiscrBgEstZmumuMuonMisIdEnriched,
      cfgTauProngBgEstZmumuMuonMisIdEnriched,
      cfgTauChargeBgEstZmumuMuonMisIdEnriched,
      cfgTauAntiMuonVetoBgEstZmumuMuonMisIdEnriched,      
      cfgVertexForMuTauBgEstZmumuMuonMisIdEnriched,
      cfgVertexQualityForMuTauBgEstZmumuMuonMisIdEnriched,
      cfgVertexPositionForMuTauBgEstZmumuMuonMisIdEnriched,
      cfgMuTauPairBgEstZmumuMuonMisIdEnriched,
      cfgMuTauPairZeroChargeBgEstZmumuMuonMisIdEnriched,
      cfgDiMuonPairBgEstZmumuMuonMisIdEnriched ],
    boolEventSelFlagProducer = "BoolEventSelFlagProducer",
    pyModuleName = __name__
)
예제 #20
0
# veto events containing additional central jets with Et > 20 GeV
#cfgCentralJetVeto = cms.PSet(
#    pluginName = cms.string('centralJetVeto'),
#    pluginType = cms.string('PATCandViewMaxEventSelector'),
#    src = cms.InputTag('selectedPatJetsEt20Cumulative'), # CV: need to carefully check InputTag before using central jet veto !!
#    maxNumber = cms.uint32(0)
#)

zToDiTauEventSelConfigurator = eventSelFlagProdConfigurator(
    [
        cfgGenPhaseSpaceCut, cfgTrigger, cfgPrimaryEventVertex,
        cfgPrimaryEventVertexQuality, cfgPrimaryEventVertexPosition,
        cfgFirstTauEtaCut, cfgFirstTauPtCut, cfgFirstTauLeadTrkCut,
        cfgFirstTauLeadTrkPtCut, cfgFirstTauTaNCdiscrCut, cfgFirstTauTrkIsoCut,
        cfgFirstTauEcalIsoCut, cfgFirstTauProngCut, cfgFirstTauChargeCut,
        cfgFirstTauMuonVeto, cfgFirstTauElectronVeto, cfgSecondTauEtaCut,
        cfgSecondTauPtCut, cfgSecondTauLeadTrkCut, cfgSecondTauLeadTrkPtCut,
        cfgSecondTauTaNCdiscrCut, cfgSecondTauTrkIsoCut,
        cfgSecondTauEcalIsoCut, cfgSecondTauProngCut, cfgSecondTauChargeCut,
        cfgSecondTauMuonVeto, cfgSecondTauElectronVeto,
        cfgDiTauCandidateForDiTauAntiOverlapVeto,
        cfgDiTauCandidateForDiTauZeroChargeCut,
        cfgDiTauCandidateForDiTauAcoplanarityCut,
        cfgDiTauCandidateForDiTauPzetaDiffCut
    ],
    #cfgCentralJetVeto ],
    boolEventSelFlagProducer="BoolEventSelFlagProducer",
    pyModuleName=__name__)

selectZtoDiTauEvents = zToDiTauEventSelConfigurator.configure()
    minNumber = cms.uint32(1)
)
cfgVertexPositionForMuTauBgEstQCDenriched = cms.PSet(
    pluginName = cms.string('vertexPositionBgEstQCDenriched'),
    pluginType = cms.string('VertexMinEventSelector'),
    src = cms.InputTag('selectedPrimaryVertexPositionForMuTauBgEstQCDenriched'),
    minNumber = cms.uint32(1)
)

evtSelConfiguratorBgEstQCDenriched = eventSelFlagProdConfigurator(
    [ cfgMuonPFRelIsoCutBgEstQCDenriched,
      cfgTauTaNCdiscrCutBgEstQCDenriched,
      cfgTauMuonVetoBgEstQCDenriched,
      cfgVertexForMuTauBgEstQCDenriched,
      cfgVertexQualityForMuTauBgEstQCDenriched,
      cfgVertexPositionForMuTauBgEstQCDenriched,
      cfgMuTauPairBgEstQCDenriched,
      cfgMuTauPairMt1METbgEstQCDenriched,
      cfgMuTauPairPzetaDiffBgEstQCDenriched,
      cfgDiMuonVetoBgEstQCDenriched ],
    boolEventSelFlagProducer = "BoolEventSelFlagProducer",
    pyModuleName = __name__
)

selectEventsBgEstQCDenriched = evtSelConfiguratorBgEstQCDenriched.configure()

#--------------------------------------------------------------------------------  
# apply event selection criteria; fill histograms
#--------------------------------------------------------------------------------

from TauAnalysis.Configuration.analyzeZtoMuTau_cfi import *
#from TauAnalysis.BgEstimationTools.selectZtoMuTauEventVertex_cff import *
evtSelConfiguratorBgEstZmumuEnriched = eventSelFlagProdConfigurator(
    [
        cfgTauTaNCdiscrBgEstZmumuJetMisIdEnriched,
        cfgTauMuonVetoBgEstZmumuJetMisIdEnriched,
        cfgVertexForMuTauBgEstZmumuJetMisIdEnriched,
        cfgVertexQualityForMuTauBgEstZmumuJetMisIdEnriched,
        cfgVertexPositionForMuTauBgEstZmumuJetMisIdEnriched,
        cfgMuTauPairBgEstZmumuJetMisIdEnriched,
        cfgMuTauPairMt1METbgEstZmumuJetMisIdEnriched,
        cfgMuTauPairPzetaDiffBgEstZmumuJetMisIdEnriched,
        cfgDiMuonPairBgEstZmumuJetMisIdEnriched,
        cfgDiMuonPairZeroChargeBgEstZmumuJetMisIdEnriched,
        cfgDiMuonPairInvMassBgEstZmumuJetMisIdEnriched,
        cfgMuonStandaloneZmumuMuonMisIdEnriched,
        cfgTauEtaBgEstZmumuMuonMisIdEnriched,
        cfgTauPtBgEstZmumuMuonMisIdEnriched,
        cfgTauLeadTrkBgEstZmumuMuonMisIdEnriched,
        cfgTauLeadTrkPtBgEstZmumuMuonMisIdEnriched,
        cfgTauTaNCdiscrBgEstZmumuMuonMisIdEnriched,
        cfgTauProngBgEstZmumuMuonMisIdEnriched,
        cfgTauChargeBgEstZmumuMuonMisIdEnriched,
        cfgTauAntiMuonVetoBgEstZmumuMuonMisIdEnriched,
        cfgVertexForMuTauBgEstZmumuMuonMisIdEnriched,
        cfgVertexQualityForMuTauBgEstZmumuMuonMisIdEnriched,
        cfgVertexPositionForMuTauBgEstZmumuMuonMisIdEnriched,
        cfgMuTauPairBgEstZmumuMuonMisIdEnriched,
        cfgMuTauPairZeroChargeBgEstZmumuMuonMisIdEnriched,
        cfgDiMuonPairBgEstZmumuMuonMisIdEnriched
    ],
    boolEventSelFlagProducer="BoolEventSelFlagProducer",
    pyModuleName=__name__)
예제 #23
0
zToElecTauEventSelConfiguratorOS = eventSelFlagProdConfigurator(
    [
        cfgGenPhaseSpaceCut,
        cfgTrigger,
        cfgPrimaryEventVertexQuality,
        cfgPrimaryEventVertexPosition,
        cfgElectronIdCut,
        cfgElectronAntiCrackCut,
        cfgElectronEtaCut,
        cfgElectronPtCut,
        cfgElectronIsoCut,
        cfgElectronConversionVeto,
        cfgElectronTrkIPcut,
        cfgTauAntiOverlapWithElectronsVeto,
        cfgTauEtaCut,
        cfgTauPtCut,
        cfgTauDecayModeFindingCut,
        cfgTauLeadTrkPtCut,
        cfgTauIsoCut,
        cfgTauElectronVeto,
        cfgTauMuonVeto,
        cfgDiTauCandidateForElecTauAntiOverlapVeto,
        cfgDiTauCandidateForElecTauMt1METCut,
        cfgDiTauCandidateForElecTauPzetaDiffCut,
        cfgDiTauCandidateForElecTauZeroChargeCut,
        cfgDiElecPairZeeHypothesisVetoByLooseIsolation,
    ],
    boolEventSelFlagProducer="BoolEventSelFlagProducer",
    pyModuleName=__name__,
)
cfgTauEcalCrackVetoBgEstQCDEnriched.src_cumulative = cms.InputTag('tausBgEstQCDEnrichedEcalCrackVetoCumulative')

evtSelConfiguratorBgEstQCDEnriched = eventSelFlagProdConfigurator(
    [ cfgTriggerBgEst,
      cfgPrimaryEventVertexBgEst,
      cfgPrimaryEventVertexQualityBgEst,
      cfgPrimaryEventVertexPositionBgEst,
      cfgTauEtaCutBgEstQCDEnriched,
      cfgTauPtCutBgEstQCDEnriched,
      cfgTauTrkVertexCutBgEstQCDEnriched,
      cfgTauLeadTrkCutBgEstQCDEnriched,
      cfgTauLeadTrkPtCutBgEstQCDEnriched,
      cfgTauMuonVetoBgEstQCDEnriched,
      cfgMuonVetoBgEstQCDEnriched,
      cfgTauElectronVetoBgEstQCDEnriched,
      cfgTauEmFractionBgEstQCDEnriched,
      cfgElectronVetoBgEstQCDEnriched,
      cfgTauIsoBgEstQCDEnriched,
      cfgTauProngBgEstQCDEnriched,
      cfgTauChargeBgEstQCDEnriched,
      cfgTauEcalCrackVetoBgEstQCDEnriched,
      cfgPFMetPtBgEstQCDEnriched,
      cfgHtRatioCutBgEstQCDEnriched,
      cfgSingleTauCutBgEstQCDEnriched,
      cfgMetTopologyCutBgEstQCDEnriched
      ],
    boolEventSelFlagProducer = "BoolEventSelFlagProducer",
    pyModuleName = __name__
    )

selectEventsBgEstQCDEnriched = evtSelConfiguratorBgEstQCDEnriched.configure()
예제 #25
0
# MET topology cut
#cfgMetTopologyCut = cms.PSet(
#    pluginName = cms.string('metTopologyCut'),
#    pluginType = cms.string('MEtTopologyMinEventSelector'),
#    src = cms.InputTag('selectedMEtTopology05Cumulative'),
#    systematics = cms.vstring(metTopologySystematics.keys()),
#    minNumber = cms.uint32(1)
#    )

wToTauNuEventSelConfigurator = eventSelFlagProdConfigurator(
    [
        cfgTrigger, cfgPrimaryEventVertex, cfgPrimaryEventVertexQuality,
        cfgPrimaryEventVertexPosition, cfgTauEtaCut, cfgTauPtCut,
        cfgTauTrkVertex, cfgTauLeadTrk, cfgTauLeadTrkPt, cfgTauMuonVeto,
        cfgMuonVeto, cfgTauElectronVeto, cfgTauEmFraction, cfgElectronVeto,
        cfgTauIso, cfgTauProngCut, cfgTauChargeCut, cfgTauEcalCrackVeto,
        cfgPFMetPt, cfgHtRatioCut, cfgMtCut, cfgTrigger2
        #    cfgMetTopologyCut
    ],
    boolEventSelFlagProducer="BoolEventSelFlagProducer",
    pyModuleName=__name__)

produceEventSelFlagsWtoTauNu = wToTauNuEventSelConfigurator.configure()

isRecWtoTauNu = cms.EDProducer(
    "BoolEventSelFlagProducer",
    pluginName=cms.string('isRecWtoTauNu'),
    pluginType=cms.string('MultiBoolEventSelFlagSelector'),
    flags=cms.VInputTag(cms.InputTag('Trigger'),
                        cms.InputTag('primaryEventVertex'),
                        cms.InputTag('primaryEventVertexQuality'),
    'tausBgEstQCDEnrichedChargeCumulative')

cfgTauEcalCrackVetoBgEstQCDEnriched = copy.deepcopy(cfgTauEcalCrackVeto)
cfgTauEcalCrackVetoBgEstQCDEnriched.pluginName = cms.string(
    'tauEcalCrackVetoBgEstQCDEnriched')
cfgTauEcalCrackVetoBgEstQCDEnriched.src_cumulative = cms.InputTag(
    'tausBgEstQCDEnrichedEcalCrackVetoCumulative')

evtSelConfiguratorBgEstQCDEnriched = eventSelFlagProdConfigurator(
    [
        cfgTriggerBgEst, cfgPrimaryEventVertexBgEst,
        cfgPrimaryEventVertexQualityBgEst, cfgPrimaryEventVertexPositionBgEst,
        cfgTauEtaCutBgEstQCDEnriched, cfgTauPtCutBgEstQCDEnriched,
        cfgTauTrkVertexCutBgEstQCDEnriched, cfgTauLeadTrkCutBgEstQCDEnriched,
        cfgTauLeadTrkPtCutBgEstQCDEnriched, cfgTauMuonVetoBgEstQCDEnriched,
        cfgMuonVetoBgEstQCDEnriched, cfgTauElectronVetoBgEstQCDEnriched,
        cfgTauEmFractionBgEstQCDEnriched, cfgElectronVetoBgEstQCDEnriched,
        cfgTauIsoBgEstQCDEnriched, cfgTauProngBgEstQCDEnriched,
        cfgTauChargeBgEstQCDEnriched, cfgTauEcalCrackVetoBgEstQCDEnriched,
        cfgPFMetPtBgEstQCDEnriched, cfgHtRatioCutBgEstQCDEnriched,
        cfgSingleTauCutBgEstQCDEnriched, cfgMetTopologyCutBgEstQCDEnriched
    ],
    boolEventSelFlagProducer="BoolEventSelFlagProducer",
    pyModuleName=__name__)

selectEventsBgEstQCDEnriched = evtSelConfiguratorBgEstQCDEnriched.configure()

#--------------------------------------------------------------------------------
# apply event selection criteria; fill histograms
#--------------------------------------------------------------------------------
from TauAnalysis.Configuration.analyzeWtoTauNu_cff import *
from TauAnalysis.Configuration.analyzeWtoTauNu_cfi import *
예제 #27
0
ahToElecMuEventSelConfigurator = eventSelFlagProdConfigurator(
    [ cfgTrigger,
      cfgPrimaryEventVertex,
      cfgPrimaryEventVertexQuality,
      cfgPrimaryEventVertexPosition,
      cfgElectronIdMinCut,
      #cfgElectronIdMaxCut,
      cfgElectronAntiCrackCut,
      cfgElectronEtaCut,
      cfgElectronPtCut,
      cfgElectronIsoCut,
      #cfgElectronTrkIsoCut,
      #cfgElectronEcalIsoCut,
      #cfgElectronHcalIsoCut,
      cfgElectronTrkCut,
      #cfgElectronTrkIPCut,
      cfgGlobalMuonMinCut,
      #cfgGlobalMuonMaxCut,
      cfgMuonEtaCut,
      cfgMuonPtCut,
      cfgMuonIsoCut,
      #cfgMuonTrkIsoCut,
      #cfgMuonEcalIsoCut,
      #cfgMuonHcalIsoCut,
      cfgMuonAntiPionCut,
      #cfgMuonTrkIPCut,
      cfgDiTauCandidateForElecMuZeroChargeCut,
      #cfgDiTauCandidateForElecMuAcoplanarityCut,
      cfgDiTauCandidateForElecMuDPhiCut,
      #cfgDiTauCandidateForElecMuImpParamSigCut,
      cfgDiTauCandidateForElecMuOneLegPtCut,
      cfgMETMaxCut,
      cfgJetMinCut,
      cfgJetMaxCut,
      cfgJetBtagMinCut,
      cfgJetBtagMaxCut
##       cfgElectronIso005Cut,
##       cfgElectronIso010Cut,
##       cfgElectronIso015Cut,
##       cfgElectronIso020Cut,
##       cfgElectronIso025Cut,
##       cfgElectronIso030Cut,
##       cfgMuonIso005Cut,
##       cfgMuonIso010Cut,
##       cfgMuonIso015Cut,
##       cfgMuonIso020Cut,
##       cfgMuonIso025Cut,
##       cfgMuonIso030Cut,
##       cfgElectronPt10Cut,
##       cfgElectronPt11Cut,
##       cfgElectronPt12Cut,
##       cfgElectronPt13Cut,
##       cfgElectronPt14Cut,
##       cfgElectronPt15Cut,
##       cfgElectronPt16Cut,
##       cfgElectronPt17Cut,
##       cfgElectronPt18Cut,
##       cfgElectronPt19Cut,
##       cfgElectronPt20Cut,
##       cfgMuonPt10Cut,
##       cfgMuonPt11Cut,
##       cfgMuonPt12Cut,
##       cfgMuonPt13Cut,
##       cfgMuonPt14Cut,
##       cfgMuonPt15Cut,
##       cfgMuonPt16Cut,
##       cfgMuonPt17Cut,
##       cfgMuonPt18Cut,
##       cfgMuonPt19Cut,
##       cfgMuonPt20Cut,
##       cfgElectronLooseIdMinCut,
##       cfgElectronTightIdMinCut,
##       cfgElectronRobustIdMinCut,
##       cfgDiTauCandidateForElecMuOneLegPt18Cut,
##       cfgDiTauCandidateForElecMuOneLegPt20Cut,
##       cfgDiTauCandidateForElecMuOneLegPt22Cut,
##       cfgDiTauCandidateForElecMuOneLegPt24Cut,
##       cfgDiTauCandidateForElecMuOneLegPt26Cut,
##       cfgDiTauCandidateForElecMuOneLegPt28Cut,
##       cfgDiTauCandidateForElecMuOneLegPt30Cut
      ],
    boolEventSelFlagProducer = "BoolEventSelFlagProducer",
    pyModuleName = __name__
)
예제 #28
0
cfgDiMuPairDYmumuHypothesisVeto = cms.PSet(
    pluginName=cms.string('diMuPairDYmumuHypothesisVeto'),
    pluginType=cms.string('PATCandViewMaxEventSelector'),
    src=cms.InputTag('selectedDiMuPairDYmumuHypotheses'),
    #systematics = cms.vstring(muonSystematics.keys()),
    maxNumber=cms.uint32(0))

zToMuTauEventSelConfiguratorOS = eventSelFlagProdConfigurator(
    [
        cfgGenPhaseSpaceCut, cfgTrigger, cfgGlobalMuonCut, cfgMuonEtaCut,
        cfgMuonPtCut, cfgTauAntiOverlapWithMuonsVeto, cfgTauEtaCut,
        cfgTauPtCut, cfgMuonVbTfIdCut, cfgMuonPFRelIsoCut, cfgMuonTrkIPcut,
        cfgTauLeadTrkCut, cfgTauLeadTrkPtCut, cfgTauTaNCdiscrCut,
        cfgTauProngCut, cfgTauChargeCut, cfgTauMuonVeto, cfgTauElectronVeto,
        cfgDiTauCandidateForMuTauAntiOverlapVeto,
        cfgDiTauCandidateForMuTauMt1METcut,
        cfgDiTauCandidateForMuTauPzetaDiffCut,
        cfgDiTauCandidateForMuTauZeroChargeCut, cfgPrimaryEventVertexForMuTau,
        cfgPrimaryEventVertexQualityForMuTau,
        cfgPrimaryEventVertexPositionForMuTau,
        cfgDiMuPairZmumuHypothesisVetoByLooseIsolation,
        cfgDiMuPairDYmumuHypothesisVeto
    ],
    boolEventSelFlagProducer="BoolEventSelFlagProducer",
    pyModuleName=__name__)

produceEventSelFlagsZtoMuTauOS = zToMuTauEventSelConfiguratorOS.configure()

zToMuTauEventSelConfiguratorSS = eventSelFlagProdConfigurator(
    [cfgDiTauCandidateForMuTauNonZeroChargeCut],
    boolEventSelFlagProducer="BoolEventSelFlagProducer",
    pyModuleName=__name__)