8 newSource = cms.EDProducer(
"MCParticleReplacer",
9 src = cms.InputTag(
"selectedMuons"),
10 beamSpotSrc = cms.InputTag(
"dummy"),
11 primaryVertexLabel = cms.InputTag(
"dummy"),
12 hepMcSrc = cms.InputTag(
"generator"),
14 algorithm = cms.string(
"ParticleGun"),
15 hepMcMode = cms.string(
"new"),
17 verbose = cms.bool(
False),
19 ParticleGun = cms.PSet(
20 gunParticle = cms.int32(15),
21 particleOrigin = cms.string(
"muonReferencePoint"),
22 forceTauPolarization = cms.string(
"W"),
23 forceTauDecay = cms.string(
"none"),
24 forceTauPlusHelicity = cms.int32(0),
25 forceTauMinusHelicity = cms.int32(0),
26 generatorMode = cms.string(
"Tauola"),
27 ExternalDecays = cms.PSet(
30 TauolaDefaultInputCards
32 parameterSets = cms.vstring(
'Tauola')
34 PythiaParameters = cms.PSet(
35 pythiaUESettingsBlock,
36 pgunTauolaParameters = cms.vstring([
"MDME(%d,1)=0" % x
for x
in range(89, 143)]),
37 parameterSets = cms.vstring(
"pythiaUESettings")
42 TauolaOptions = cms.PSet(
48 mdtau = cms.int32(102)
51 filterEfficiency = cms.untracked.double(1.0),
52 pythiaHepMCVerbosity = cms.untracked.bool(
False),
53 generatorMode = cms.string(
"Tauola"),
61 if process.newSource.generatorMode.value() !=
"Pythia" and abs(process.newSource.ParticleGun.gunParticle.value()) == 15:
62 process.newSource.ParticleGun.PythiaParameters.parameterSets.append(
"pgunTauolaParameters")