00001 import FWCore.ParameterSet.Config as cms 00002 00003 from RecoJets.Configuration.RecoGenJets_cff import * 00004 00005 mcDecayedTaus = cms.EDProducer("PdgIdAndStatusCandViewSelector", 00006 status = cms.vint32(2), 00007 src = cms.InputTag("genParticles"), 00008 pdgId = cms.vint32(15, -15) 00009 ) 00010 00011 makeMCTauDecayModes = cms.EDProducer("TruthTauDecayModeProducer", 00012 totalEtaCut = cms.double(2.5), 00013 inputTag = cms.InputTag("mcDecayedTaus"), 00014 leadTrackEtaCut = cms.double(2.5), 00015 leadTrackPtCut = cms.double(-1.0), 00016 totalPtCut = cms.double(5.0), 00017 iAmSignal = cms.bool(True) 00018 ) 00019 00020 makeMCQCDTauDecayModes = cms.EDProducer("TruthTauDecayModeProducer", 00021 totalEtaCut = cms.double(2.5), 00022 inputTag = cms.InputTag("iterativeCone5GenJets"), 00023 leadTrackEtaCut = cms.double(2.5), 00024 leadTrackPtCut = cms.double(-1.0), 00025 totalPtCut = cms.double(5.0), 00026 iAmSignal = cms.bool(False) 00027 ) 00028 00029 makeMC = cms.Sequence(mcDecayedTaus*makeMCTauDecayModes) 00030 00031 makeMCQCD = cms.Sequence(iterativeCone5GenJets*makeMCQCDTauDecayModes) 00032