1 import FWCore.ParameterSet.Config
as cms
6 Build PFTauDecayModes containing Monte Carlo objects
7 They either contain the visible decay products of taus selected by
8 the 'mcDecayedTaus' package or all of the consituents of a QCD GenJet
11 mcDecayedTaus = cms.EDFilter(
"PdgIdAndStatusCandViewSelector",
12 status = cms.vint32(2),
13 src = cms.InputTag(
"genParticles"),
14 pdgId = cms.vint32(15, -15)
17 makeMCTauDecayModes = cms.EDProducer(
"TruthTauDecayModeProducer",
18 totalEtaCut = cms.double(2.5),
19 inputTag = cms.InputTag(
"mcDecayedTaus"),
20 leadTrackEtaCut = cms.double(2.5),
21 leadTrackPtCut = cms.double(-1.0),
22 totalPtCut = cms.double(5.0),
23 iAmSignal = cms.bool(
True)
26 makeMCQCDTauDecayModes = makeMCTauDecayModes.clone(
27 totalEtaCut = cms.double(2.5),
28 inputTag = cms.InputTag(
"ak4GenJets"),
29 leadTrackEtaCut = cms.double(2.5),
30 leadTrackPtCut = cms.double(-1.0),
31 totalPtCut = cms.double(5.0),
32 iAmSignal = cms.bool(
False)
35 makeMC = cms.Sequence(mcDecayedTaus*makeMCTauDecayModes)
37 makeMCQCD = cms.Sequence(makeMCQCDTauDecayModes)