process.myTopTaggerWithMuon4T = topTagger4T.clone(
    metSrc = cms.InputTag("pfMetType1"),
    jetSrc = cms.InputTag("patJetsPFchsPt30"),
)
process.myTopTaggerWithMuon5T = topTagger5T.clone(
    metSrc = cms.InputTag("pfMetType1"),
    jetSrc = cms.InputTag("patJetsPFchsPt30"),
)
process.myTopTaggerWithMuon6T = topTagger6T.clone(
    metSrc = cms.InputTag("pfMetType1"),
    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')
Exemple #2
0

## --- Jets ------------------------------------------------------------

# Store collection with some lose pt cut to be able to
# adjust to JEC/JER changes
process.load('JetMETCorrections.Configuration.DefaultJEC_cff')

#from RA2Classic.Utils.patJetCollectionSubsetProducer_cfi import patJetCollectionSubsetProducer
#process.patJetsPFchs = patJetCollectionSubsetProducer.clone(
#    Jets   = cms.InputTag('patJetsPF'),
#    PtMin        = cms.double(10.)
#    )
from SandBox.Skims.basicJetSelector_cfi import selectedPatJets
process.patJetsPFchs = selectedPatJets.clone(
    src   = cms.InputTag('patJetsPF'),
    cut   = cms.string("pt>10.0")
    )
from RA2Classic.Utils.patJetCollectionSubsetProducer_cfi import patJetCollectionSubsetProducer
process.genJets = patJetCollectionSubsetProducer.clone(
    Jets   = cms.InputTag('ak5GenJets'),
    PtMin        = cms.double(10.)
    )
# For lost lepton
process.caloJets = patJetCollectionSubsetProducer.clone(
    Jets   = cms.InputTag('ak5CaloJetsL2L3'),
    PtMin        = cms.double(10.)
    )

## --- Additional jet-related Info -------------------------------------
## Store info are
## - Area for L1 corrections
Exemple #3
0
##
###############################################################################

## --- Jets ------------------------------------------------------------

# Store collection with some lose pt cut to be able to
# adjust to JEC/JER changes
process.load('JetMETCorrections.Configuration.DefaultJEC_cff')

#from RA2Classic.Utils.patJetCollectionSubsetProducer_cfi import patJetCollectionSubsetProducer
#process.patJetsPFchs = patJetCollectionSubsetProducer.clone(
#    Jets   = cms.InputTag('patJetsPF'),
#    PtMin        = cms.double(10.)
#    )
from SandBox.Skims.basicJetSelector_cfi import selectedPatJets
process.patJetsPFchs = selectedPatJets.clone(src=cms.InputTag('patJetsPF'),
                                             cut=cms.string("pt>10.0"))
from RA2Classic.Utils.patJetCollectionSubsetProducer_cfi import patJetCollectionSubsetProducer
process.genJets = patJetCollectionSubsetProducer.clone(
    Jets=cms.InputTag('ak5GenJets'), PtMin=cms.double(10.))
# For lost lepton
process.caloJets = patJetCollectionSubsetProducer.clone(
    Jets=cms.InputTag('ak5CaloJetsL2L3'), PtMin=cms.double(10.))

## --- Additional jet-related Info -------------------------------------
## Store info are
## - Area for L1 corrections
## - Neutral energy fractions for PBNR filter
## - btag (CSV) discriminator value
## Requires in addition the jet 4-vectors
from RA2Classic.SUSYParams.additionalJetInfo_cfi import AdditionalJetInfo
process.AdditionalJetInfo = AdditionalJetInfo.clone(
import FWCore.ParameterSet.Config as cms
from SandBox.Skims.basicJetSelector_cfi import selectedPatJets
patJetsForIndirectTauVetoPhotonsID = selectedPatJets.clone()
patJetsForIndirectTauVetoPhotonsID.src = cms.InputTag("patJetsPFNoPhotonIDSpecial")
patJetsForIndirectTauVetoPhotonsID.cut = cms.string('pt > 15 && abs(eta) < 2.4 && bDiscriminator("combinedSecondaryVertexBJetTags") <= 0.898')

patJetsForIndirectTauVetoPhotonsIDPFIso = patJetsForIndirectTauVetoPhotonsID.clone()
patJetsForIndirectTauVetoPhotonsIDPFIso.src = cms.InputTag("patJetsPFNoPhotonIDPFIsoSpecial")

#######
patJetsForIndirectTauVetoDiMuons = patJetsForIndirectTauVetoPhotonsID.clone()
patJetsForIndirectTauVetoDiMuons.src = cms.InputTag("patJetsPFNoMuon")

#######
patJetsForIndirectTauVetoDiElectrons = patJetsForIndirectTauVetoPhotonsID.clone()
patJetsForIndirectTauVetoDiElectrons.src = cms.InputTag("patJetsPFNoElectron")

#######
patJetsForIndirectTauVetoZInv = patJetsForIndirectTauVetoPhotonsID.clone()
patJetsForIndirectTauVetoZInv.src = cms.InputTag("newJetsMET")


#================ configure filters =======================#

#from SandBox.HadSTopSkims.muonVetoFilter_cfi import muonVetoSTop
#sTopPFMuonVeto       = muonVetoSTop.clone()
#sTopPFMuonVetoDiMuon = muonVetoSTop.clone(MaxMuons = cms.int32(2))
from SandBox.Stop.sakLooseMuonSelector_cfi import sakLooseMuonSelector
sTopPFMuonVeto       = sakLooseMuonSelector.clone()
sTopPFMuonVetoDiMuon = sakLooseMuonSelector.clone(MaxMuons = cms.int32(2))
from SandBox.Skims.RA2Leptons_cff import patMuonsPFIDIso