-
Notifications
You must be signed in to change notification settings - Fork 0
/
POWHEG_PYTHIA6_Tauola_HH_bbgg_TEMPLATETeV_cff_py_GEN.py
184 lines (167 loc) · 9.03 KB
/
POWHEG_PYTHIA6_Tauola_HH_bbgg_TEMPLATETeV_cff_py_GEN.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
# -*- coding: utf-8 -*-
# Auto generated configuration file
# using:
# Revision: 1.381.2.18
# Source: /local/reps/CMSSW/CMSSW/Configuration/PyReleaseValidation/python/ConfigBuilder.py,v
# with command line options: Configuration/GenProduction/python/EightTeV/POWHEG_PYTHIA6_Tauola_HH_bbWW_lnulnu_withTau_8TeV_cff.py --step GEN --eventcontent RAWSIM --datatier GEN --conditions auto:mc --filein file:/tmp/amassiro/LHE.root --fileout /tmp/amassiro/provaGEN.root --mc -n 100
import FWCore.ParameterSet.Config as cms
process = cms.Process('GEN')
# import of standard configurations
process.load('Configuration.StandardSequences.Services_cff')
process.load('SimGeneral.HepPDTESSource.pythiapdt_cfi')
process.load('FWCore.MessageService.MessageLogger_cfi')
process.load('Configuration.EventContent.EventContent_cff')
process.load('SimGeneral.MixingModule.mixNoPU_cfi')
process.load('Configuration.StandardSequences.GeometryRecoDB_cff')
process.load('Configuration.StandardSequences.MagneticField_38T_cff')
process.load('Configuration.StandardSequences.Generator_cff')
process.load('IOMC.EventVertexGenerators.VtxSmearedRealistic8TeVCollision_cfi')
process.load('GeneratorInterface.Core.genFilterSummary_cff')
process.load('Configuration.StandardSequences.EndOfProcess_cff')
process.load('Configuration.StandardSequences.FrontierConditions_GlobalTag_cff')
process.maxEvents = cms.untracked.PSet(
input = cms.untracked.int32(-1)
)
process.MessageLogger.cerr.FwkReport.reportEvery = 100
# Input source
process.source = cms.Source("PoolSource",
secondaryFileNames = cms.untracked.vstring(),
fileNames = cms.untracked.vstring('file:TEMPLATEINPUTFILE')
)
process.options = cms.untracked.PSet(
)
# Production Info
process.configurationMetadata = cms.untracked.PSet(
version = cms.untracked.string('$Revision: 1.2 $'),
annotation = cms.untracked.string('POWHEG + PYTHIA6 + Tauola - HiggsHiggs -> bbgg at TEMPLATEENERGY TeV'),
name = cms.untracked.string('$Source: /local/reps/CMSSW/CMSSW/Configuration/GenProduction/python/EightTeV/POWHEG_PYTHIA6_Tauola_H_WW_lnulnu_withTau_8TeV_cff.py,v $')
)
# Output definition
process.RAWSIMoutput = cms.OutputModule("PoolOutputModule",
splitLevel = cms.untracked.int32(0),
eventAutoFlushCompressedSize = cms.untracked.int32(5242880),
outputCommands = process.RAWSIMEventContent.outputCommands,
fileName = cms.untracked.string('TEMPLATEOUTPUTFILE'),
dataset = cms.untracked.PSet(
filterName = cms.untracked.string(''),
dataTier = cms.untracked.string('GEN')
),
SelectEvents = cms.untracked.PSet(
SelectEvents = cms.vstring('generation_step')
)
)
# Additional output definition
# Other statements
process.genstepfilter.triggerConditions=cms.vstring("generation_step")
from Configuration.AlCa.GlobalTag import GlobalTag
process.GlobalTag = GlobalTag(process.GlobalTag, 'auto:mc', '')
process.generator = cms.EDFilter("Pythia6HadronizerFilter",
ExternalDecays = cms.PSet(
Tauola = cms.untracked.PSet(
UseTauolaPolarization = cms.bool(True),
InputCards = cms.PSet(
mdtau = cms.int32(0),
pjak2 = cms.int32(0),
pjak1 = cms.int32(0)
)
),
parameterSets = cms.vstring('Tauola')
),
pythiaPylistVerbosity = cms.untracked.int32(1),
filterEfficiency = cms.untracked.double(1.0),
pythiaHepMCVerbosity = cms.untracked.bool(False),
comEnergy = cms.double(TEMPLATEENERGY),
maxEventsToPrint = cms.untracked.int32(0),
PythiaParameters = cms.PSet(
pythiaUESettings = cms.vstring('MSTU(21)=1 ! Check on possible errors during program execution',
'MSTJ(22)=2 ! Decay those unstable particles',
'PARJ(71)=10 . ! for which ctau 10 mm',
'MSTP(33)=0 ! no K factors in hard cross sections',
'MSTP(2)=1 ! which order running alphaS',
'MSTP(51)=10042 ! structure function chosen (external PDF CTEQ6L1)',
'MSTP(52)=2 ! work with LHAPDF',
'PARP(82)=1.921 ! pt cutoff for multiparton interactions',
'PARP(89)=1800. ! sqrts for which PARP82 is set',
'PARP(90)=0.227 ! Multiple interactions: rescaling power',
'MSTP(95)=6 ! CR (color reconnection parameters)',
'PARP(77)=1.016 ! CR',
'PARP(78)=0.538 ! CR',
'PARP(80)=0.1 ! Prob. colored parton from BBR',
'PARP(83)=0.356 ! Multiple interactions: matter distribution parameter',
'PARP(84)=0.651 ! Multiple interactions: matter distribution parameter',
'PARP(62)=1.025 ! ISR cutoff',
'MSTP(91)=1 ! Gaussian primordial kT',
'PARP(93)=10.0 ! primordial kT-max',
'MSTP(81)=21 ! multiple parton interactions 1 is Pythia default',
'MSTP(82)=4 ! Defines the multi-parton model'),
processParameters = cms.vstring('MSEL=0 ! User defined processes',
'PMAS(5,1)=4.75 ! b quark mass',
'PMAS(6,1)=172.5 ! t quark mass',
'MDME(210,1)=0 ! Higgs decay into dd',
'MDME(211,1)=0 ! Higgs decay into uu',
'MDME(212,1)=0 ! Higgs decay into ss',
'MDME(213,1)=0 ! Higgs decay into cc',
'MDME(214,1)=1 ! Higgs decay into bb',
'MDME(215,1)=0 ! Higgs decay into tt',
'MDME(216,1)=0 ! Higgs decay into bbbar prime',
'MDME(217,1)=0 ! Higgs decay into ttbar prime',
'MDME(218,1)=0 ! Higgs decay into e e',
'MDME(219,1)=0 ! Higgs decay into mu mu',
'MDME(220,1)=0 ! Higgs decay into tau tau',
'MDME(221,1)=0 ! Higgs decay into tau tau prime',
'MDME(222,1)=0 ! Higgs decay into g g',
'MDME(223,1)=0 ! Higgs decay into gam gam',
'MDME(224,1)=0 ! Higgs decay into gam Z',
'MDME(225,1)=0 ! Higgs decay into Z Z',
'MDME(226,1)=0 ! Higgs decay into W W',
'MDME(190,1)=0 ! W decay into dbar u',
'MDME(191,1)=0 ! W decay into dbar c',
'MDME(192,1)=0 ! W decay into dbar t',
'MDME(194,1)=0 ! W decay into sbar u',
'MDME(195,1)=0 ! W decay into sbar c',
'MDME(196,1)=0 ! W decay into sbar t',
'MDME(198,1)=0 ! W decay into bbar u',
'MDME(199,1)=0 ! W decay into bbar c',
'MDME(200,1)=0 ! W decay into bbar t',
'MDME(206,1)=1 ! W decay into e+ nu_e',
'MDME(207,1)=1 ! W decay into mu+ nu_mu',
'MDME(208,1)=1 ! W decay into tau+ nu_tau',
'PMAS(35,1)=125. ! mH ',
'MDME(334,1)=0 ! Higgs(H) decay into d dbar',
'MDME(335,1)=0 ! Higgs(H) decay into u ubar',
'MDME(336,1)=0 ! Higgs(H) decay into s sbar',
'MDME(337,1)=0 ! Higgs(H) decay into c cbar',
'MDME(338,1)=0 ! Higgs(H) decay into b bbar',
'MDME(339,1)=0 ! Higgs(H) decay into t tbar',
'MDME(340,1)=0 ! Higgs(H) decay into b bbar',
'MDME(341,1)=0 ! Higgs(H) decay into t tbar',
'MDME(342,1)=0 ! Higgs(H) decay into e- e+',
'MDME(343,1)=0 ! Higgs(H) decay into mu- mu+',
'MDME(344,1)=0 ! Higgs(H) decay into tau- tau+',
'MDME(345,1)=0 ! Higgs(H) decay into tau- tau+',
'MDME(346,1)=0 ! Higgs(H) decay into g g',
'MDME(347,1)=1 ! Higgs(H) decay into gamma gamma',
'MDME(348,1)=0 ! Higgs(H) decay into gamma Z0',
'MDME(349,1)=0 ! Higgs(H) decay into Z0 Z0',
'MDME(350,1)=0 ! Higgs(H) decay into W+ W-',
'MDME(351,1)=0 ! Higgs(H) decay into Z0 h0',
'MDME(352,1)=0 ! Higgs(H) decay into h0 h0',
'MDME(353,1)=0 ! Higgs(H) decay into W+ H-',
'MDME(354,1)=0 ! Higgs(H) decay into H+ W-',
'MDME(355,1)=0 ! Higgs(H) decay into Z0 A0',
'MDME(356,1)=0 ! Higgs(H) decay into h0 A0',
'MDME(357,1)=0 ! Higgs(H) decay into A0 A0'),
parameterSets = cms.vstring('pythiaUESettings',
'processParameters')
)
)
# Path and EndPath definitions
process.generation_step = cms.Path(process.pgen)
process.genfiltersummary_step = cms.EndPath(process.genFilterSummary)
process.endjob_step = cms.EndPath(process.endOfProcess)
process.RAWSIMoutput_step = cms.EndPath(process.RAWSIMoutput)
# Schedule definition
process.schedule = cms.Schedule(process.generation_step,process.genfiltersummary_step,process.endjob_step,process.RAWSIMoutput_step)
# filter all path with the production filter sequence
for path in process.paths:
getattr(process,path)._seq = process.generator * getattr(process,path)._seq