jetSrc = cms.InputTag("patJetsPFchsPt30"),
)

####
from SandBox.Skims.basicJetSelector_cfi import selectedPatJets
process.patJetsForIndirectTauVeto = selectedPatJets.clone()
process.patJetsForIndirectTauVeto.src = cms.InputTag("patJetsAK5PFchs")
process.patJetsForIndirectTauVeto.cut = cms.string('pt > 15 && abs(eta) < 2.4 && bDiscriminator("combinedSecondaryVertexBJetTags") <= 0.898')

from SandBox.HadSTopSkims.muonVetoFilter_cfi import muonVetoSTop
process.sTopPFMuonVeto = muonVetoSTop.clone()
from SandBox.HadSTopSkims.electronVetoFilter_cfi import electronVetoSTop
process.sTopPFElectronVeto = electronVetoSTop.clone(
    ElectronSource = cms.InputTag('patElectronsPFchs'))
from SandBox.HadSTopSkims.indirectTauVeto_cfi import indirectTauVeto
process.sTopTauVeto = indirectTauVeto.clone()

process.patJetsPFchsPt30.src = cms.InputTag("patJetsAK5PFchs")
process.patCSVMJetsPF.src = cms.InputTag('patJetsAK5PFchs')
process.patCSVTJetsPF.src = cms.InputTag('patJetsAK5PFchs')

process.patJetsPFNoMuon.src = cms.InputTag("patJetsAK5PFchs")
process.patJetsPFNoMuon.checkOverlaps.taus.src                = cms.InputTag('patTausPFchs')
process.patJetsPFNoMuon.checkOverlaps.electrons.src           = cms.InputTag('patElectronsPFchs')
process.patJetsPFNoMuon.checkOverlaps.tkIsoElectrons.src      = cms.InputTag('patElectronsPFchs')
process.patJetsPFNoMuon.checkOverlaps.photons.src             = cms.InputTag('patPhotons')

process.patJetsPFNoMuonPt30.src = cms.InputTag("patJetsAK5PFchs")
process.patJetsPFNoMuonPt30.checkOverlaps.taus.src                = cms.InputTag('patTausPFchs')
process.patJetsPFNoMuonPt30.checkOverlaps.electrons.src           = cms.InputTag('patElectronsPFchs')
process.patJetsPFNoMuonPt30.checkOverlaps.tkIsoElectrons.src      = cms.InputTag('patElectronsPFchs')
    vertexInputTag      = cms.InputTag("offlinePrimaryVertices"),
    dR_ConeSize         = cms.double(0.3),
    dz_CutValue         = cms.double(0.05),
    minPt_PFCandidate   = cms.double(10.0)
)
from SandBox.HadSTopSkims.isolatedTrackVeto_cfi import isolatedTrackVeto
process.sTopIsoTrkVeto = isolatedTrackVeto.clone(
    CandidatesCharge     = cms.InputTag("sTopTrkIsolationMaker","pfcandschg"),
    CandidatesTrkIso     = cms.InputTag("sTopTrkIsolationMaker","pfcandstrkiso"),
    CandidatesPt         = cms.InputTag("sTopTrkIsolationMaker","pfcandspt"),
    CandidatesDZ         = cms.InputTag("sTopTrkIsolationMaker","pfcandsdzpv"),
    MaxChargedCandidates = cms.int32(0),
)
from SandBox.HadSTopSkims.indirectTauVeto_cfi import indirectTauVeto
process.sTopTauVetoID = indirectTauVeto.clone(
    JetSource     = cms.InputTag("patJetsForIndirectTauVetoID"),
    METSource     = cms.InputTag("pfType1MetNoPhotonID","selected"),
)
process.sTopTauVetoIDPFIso = indirectTauVeto.clone(
    JetSource     = cms.InputTag("patJetsForIndirectTauVetoIDPFIso"),
    METSource     = cms.InputTag("pfType1MetNoPhotonIDPFIso","selected"),
)

####
process.load('SandBox.Skims.RA2Cleaning_cff')
process.load('SandBox.Skims.RA2CleaningFilterResults_cfg')
process.prefilterCounter        = cms.EDProducer("EventCountProducer")
process.postStdCleaningCounter  = cms.EDProducer("EventCountProducer")

process.RA2_NoScraping = process.booleanFilter.clone(ResultSource = cms.InputTag("noscraping"))
#process.RA2_beamHaloFilter.ResultSource        = cms.InputTag("passCSCTightHaloFilter")
## Don't use this filter for now, needs to understand performance on physics events
####
from SandBox.Skims.basicJetSelector_cfi import selectedPatJets
process.patJetsForIndirectTauVeto = selectedPatJets.clone()
process.patJetsForIndirectTauVeto.src = cms.InputTag("patJetsPFNoMuon")
process.patJetsForIndirectTauVeto.cut = cms.string('pt > 15 && abs(eta) < 2.4 && bDiscriminator("combinedSecondaryVertexBJetTags") <= 0.898')

from SandBox.HadSTopSkims.electronVetoFilter_cfi import electronVetoSTop
process.sTopPFElectronVeto = electronVetoSTop.clone(
    DoElectronVeto = cms.bool(True),
    ElectronSource = cms.InputTag('patElectronsPFchs'),
    #ElectronSource = cms.InputTag('gsfElectrons')
)
from SandBox.HadSTopSkims.indirectTauVeto_cfi import indirectTauVeto
process.sTopTauVeto = indirectTauVeto.clone(
    JetSource     = cms.InputTag("patJetsForIndirectTauVeto"),
    METSource     = cms.InputTag("pfMetType1NoMuon","selected"),
    DoTauVeto     = cms.bool(True),
)

process.patJetsPFchsPt30.src = cms.InputTag("patJetsAK5PFchs")
process.patCSVMJetsPF.src = cms.InputTag('patJetsAK5PFchs')
process.patCSVTJetsPF.src = cms.InputTag('patJetsAK5PFchs')

process.patJetsPFNoMuon.src = cms.InputTag("patJetsAK5PFchs")
process.patJetsPFNoMuon.checkOverlaps.taus.src                = cms.InputTag('patTausPFchs')
process.patJetsPFNoMuon.checkOverlaps.electrons.src           = cms.InputTag('patElectronsPFchs')
process.patJetsPFNoMuon.checkOverlaps.tkIsoElectrons.src      = cms.InputTag('patElectronsPFchs')
process.patJetsPFNoMuon.checkOverlaps.photons.src             = cms.InputTag('patPhotons')

process.patJetsPFNoMuonPt30.src = cms.InputTag("patJetsAK5PFchs")
process.patJetsPFNoMuonPt30.checkOverlaps.taus.src                = cms.InputTag('patTausPFchs')
    vertexInputTag      = cms.InputTag("offlinePrimaryVertices"),
    dR_ConeSize         = cms.double(0.3),
    dz_CutValue         = cms.double(0.05),
    minPt_PFCandidate   = cms.double(10.0)
)
from SandBox.HadSTopSkims.isolatedTrackVeto_cfi import isolatedTrackVeto
process.sTopIsoTrkVeto = isolatedTrackVeto.clone(
    CandidatesCharge     = cms.InputTag("sTopTrkIsolationMaker","pfcandschg"),
    CandidatesTrkIso     = cms.InputTag("sTopTrkIsolationMaker","pfcandstrkiso"),
    CandidatesPt         = cms.InputTag("sTopTrkIsolationMaker","pfcandspt"),
    CandidatesDZ         = cms.InputTag("sTopTrkIsolationMaker","pfcandsdzpv"),
    MaxChargedCandidates = cms.int32(2),
)
from SandBox.HadSTopSkims.indirectTauVeto_cfi import indirectTauVeto
process.sTopTauVeto = indirectTauVeto.clone(
    JetSource     = cms.InputTag("patJetsForIndirectTauVeto"),
    METSource     = cms.InputTag("pfType1MetNoMuon","selected"),
)
      
process.goodVertices = cms.EDFilter("VertexSelector",
    filter = cms.bool(False),
    src = cms.InputTag("offlinePrimaryVertices"),
    cut = cms.string('!isFake && ndof > 4 && abs(z) <= 24 && position.Rho <= 2')
)

process.load('SandBox.Skims.RA2Cleaning_cff')
process.load('SandBox.Skims.RA2CleaningFilterResults_cfg')
process.prefilterCounter        = cms.EDProducer("EventCountProducer")
process.postStdCleaningCounter  = cms.EDProducer("EventCountProducer")

process.RA2_NoScraping = process.booleanFilter.clone(ResultSource = cms.InputTag("passBeamScrapingFilter"))
process.RA2_beamHaloFilter.ResultSource        = cms.InputTag("passCSCTightHaloFilter")
示例#5
0
from SandBox.Stop.trackIsolationMaker_cfi import trackIsolationFilter
sTopTrkIsolationMaker = trackIsolationFilter.clone(doTrkIsoVeto = cms.bool(False))
sTopTrkIsolationMakerDiLeptons = sTopTrkIsolationMaker.clone(MaxChargedCandidates = cms.uint32(2))

##from SandBox.HadSTopSkims.isolatedTrackVeto_cfi import isolatedTrackVeto
##sTopIsoTrkVeto          = isolatedTrackVeto.clone(
##    CandidatesCharge     = cms.InputTag("sTopTrkIsolationMaker","pfcandschg"),
##    CandidatesTrkIso     = cms.InputTag("sTopTrkIsolationMaker","pfcandstrkiso"),
##    CandidatesPt         = cms.InputTag("sTopTrkIsolationMaker","pfcandspt"),
##    CandidatesDZ         = cms.InputTag("sTopTrkIsolationMaker","pfcandsdzpv"),
##)
##sTopIsoTrkVetoDiLeptons = sTopIsoTrkVeto.clone(MaxChargedCandidates = cms.int32(2))

from SandBox.HadSTopSkims.indirectTauVeto_cfi import indirectTauVeto
sTopTauVetoDiMuon = indirectTauVeto.clone(
    JetSource     = cms.InputTag("patJetsForIndirectTauVetoDiMuons"),
    METSource     = cms.InputTag("pfType1MetNoMuon","pfcand"),
)
sTopTauVetoDiElectron = indirectTauVeto.clone(
    JetSource     = cms.InputTag("patJetsForIndirectTauVetoDiElectrons"),
    METSource     = cms.InputTag("pfType1MetNoElectron","pfcand"),
)
sTopTauVetoPhotonID = indirectTauVeto.clone(
    JetSource     = cms.InputTag("patJetsForIndirectTauVetoPhotonsID"),
    METSource     = cms.InputTag("pfType1MetNoPhotonID","pfcand"),
)
sTopTauVetoPhotonIDPFIso = indirectTauVeto.clone(
    JetSource     = cms.InputTag("patJetsForIndirectTauVetoPhotonsIDPFIso"),
    METSource     = cms.InputTag("pfType1MetNoPhotonIDPFIso","pfcand"),
)
sTopTauVetoZInv = indirectTauVeto.clone(
    JetSource   = cms.InputTag("patJetsForIndirectTauVetoZInv"),