CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/RecoTauTag/TauTagTools/python/TruthTauDecayModeProducer_cfi.py

Go to the documentation of this file.
00001 import FWCore.ParameterSet.Config as cms
00002 
00003 from RecoJets.Configuration.RecoGenJets_cff import *
00004 
00005 """
00006 Build PFTauDecayModes containing Monte Carlo objects
00007 They either contain the visible decay products of taus selected by 
00008 the 'mcDecayedTaus' package or all of the consituents of a QCD GenJet
00009 """
00010 
00011 mcDecayedTaus = cms.EDFilter("PdgIdAndStatusCandViewSelector",
00012     status = cms.vint32(2),
00013     src = cms.InputTag("genParticles"),
00014     pdgId = cms.vint32(15, -15)
00015 )
00016 
00017 makeMCTauDecayModes = cms.EDProducer("TruthTauDecayModeProducer",
00018     totalEtaCut = cms.double(2.5),
00019     inputTag = cms.InputTag("mcDecayedTaus"),
00020     leadTrackEtaCut = cms.double(2.5),
00021     leadTrackPtCut = cms.double(-1.0),
00022     totalPtCut = cms.double(5.0),
00023     iAmSignal = cms.bool(True)
00024 )
00025 
00026 makeMCQCDTauDecayModes = cms.EDProducer("TruthTauDecayModeProducer",
00027     totalEtaCut = cms.double(2.5),
00028     inputTag = cms.InputTag("iterativeCone5GenJets"),
00029     leadTrackEtaCut = cms.double(2.5),
00030     leadTrackPtCut = cms.double(-1.0),
00031     totalPtCut = cms.double(5.0),
00032     iAmSignal = cms.bool(False)
00033 )
00034 
00035 makeMC = cms.Sequence(mcDecayedTaus*makeMCTauDecayModes)
00036 
00037 makeMCQCD = cms.Sequence(iterativeCone5GenJets*makeMCQCDTauDecayModes)
00038