CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
PythiaMinBias_cfi.py
Go to the documentation of this file.
1 # The following comments couldn't be translated into the new config version:
2 
3 #
4 # this is example use of CTEQ 5L lhapdf grid input
5 # for details, see pythia manual section 9.3
6 #
7 # "MSTP(51)=19070 ! CTEQ 5L chosen, via LHAPDF LHgrid file",
8 # "MSTP(52)=2 ! tell pythia to use LHgrid file",
9 #
10 
11 import FWCore.ParameterSet.Config as cms
12 
14 generator = cms.EDFilter("Pythia6GeneratorFilter",
15  pythiaHepMCVerbosity = cms.untracked.bool(False),
16  maxEventsToPrint = cms.untracked.int32(0),
17  pythiaPylistVerbosity = cms.untracked.int32(0),
18  PythiaParameters = cms.PSet(
19  # Default (mostly empty - to keep PYTHIA default) card file
20  # Name of the set is "pythiaDefault"
21  pythiaDefaultBlock,
22  # User cards - name is "myParameters"
23  # Pythia's random generator initialization
24  myParameters = cms.vstring(),
25  # This is a vector of ParameterSet names to be read, in this order
26  # The first two are in the include files below
27  # The last one are simply my additional parameters
28  parameterSets = cms.vstring('pythiaDefault',
29  'pythiaMinBias',
30  'myParameters'),
31  pythiaMinBias = cms.vstring('MSEL=0 ! User defined processes',
32  'MSUB(11)=1 ! Min bias process',
33  'MSUB(12)=1 ! Min bias process',
34  'MSUB(13)=1 ! Min bias process',
35  'MSUB(28)=1 ! Min bias process',
36  'MSUB(53)=1 ! Min bias process',
37  'MSUB(68)=1 ! Min bias process',
38  'MSUB(92)=1 ! Min bias process, single diffractive',
39  'MSUB(93)=1 ! Min bias process, single diffractive',
40  'MSUB(94)=1 ! Min bias process, double diffractive',
41  'MSUB(95)=1 ! Min bias process',
42  'MSTJ(11)=3 ! Choice of the fragmentation function',
43  'MSTJ(22)=2 ! Decay those unstable particles',
44  'PARJ(71)=10 . ! for which ctau 10 mm',
45  'MSTP(2)=1 ! which order running alphaS',
46  'MSTP(33)=0 ! no K factors in hard cross sections',
47  'MSTP(51)=7 ! choice of proton parton-distribution set (D=7 and means CTEQ 5L)',
48  'MSTP(52)=1 ! choice of proton pdf library (D=1 and means internal pythia one, according to MSTP(51) above',
49  'MSTP(81)=1 ! multiple parton interactions 1 is Pythia default',
50  'MSTP(82)=4 ! Defines the multi-parton model',
51  'MSTU(21)=1 ! Check on possible errors during program execution',
52  'PARP(82)=1.9409 ! pt cutoff for multiparton interactions',
53  'PARP(89)=1960. ! sqrts for which PARP82 is set',
54  'PARP(83)=0.5 ! Multiple interactions: matter distrbn parameter',
55  'PARP(84)=0.4 ! Multiple interactions: matter distribution parameter',
56  'PARP(90)=0.16 ! Multiple interactions: rescaling power',
57  'PARP(67)=2.5 ! amount of initial-state radiation',
58  'PARP(85)=1.0 ! gluon prod. mechanism in MI',
59  'PARP(86)=1.0 ! gluon prod. mechanism in MI',
60  'PARP(62)=1.25 ! ',
61  'PARP(64)=0.2 ! ',
62  'MSTP(91)=1 !',
63  'PARP(91)=2.1 ! kt distribution',
64  'PARP(93)=15.0 ! ')
65  )
66 )