Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:03:36

0001 # The following comments couldn't be translated into the new config version:
0002 
0003 #
0004 # this is example use of CTEQ 5L lhapdf grid input
0005 # for details, see pythia manual section 9.3
0006 #
0007 #   "MSTP(51)=19070     ! CTEQ 5L chosen, via LHAPDF LHgrid file",
0008 #  "MSTP(52)=2  ! tell pythia to use LHgrid file",
0009 #
0010 
0011 import FWCore.ParameterSet.Config as cms
0012 
0013 from GeneratorInterface.Pythia6Interface.pythiaDefault_cff import *
0014 generator = cms.EDFilter("Pythia6GeneratorFilter",
0015     pythiaHepMCVerbosity = cms.untracked.bool(False),
0016     maxEventsToPrint = cms.untracked.int32(0),
0017     pythiaPylistVerbosity = cms.untracked.int32(0),
0018     PythiaParameters = cms.PSet(
0019         # Default (mostly empty - to keep PYTHIA default) card file
0020         # Name of the set is "pythiaDefault"
0021         pythiaDefaultBlock,
0022         # User cards - name is "myParameters"
0023         # Pythia's random generator initialization 
0024         myParameters = cms.vstring(),
0025         # This is a vector of ParameterSet names to be read, in this order
0026         # The first two are in the include files below
0027         # The last one are simply my additional parameters
0028         parameterSets = cms.vstring('pythiaDefault', 
0029             'pythiaMinBias', 
0030             'myParameters'),
0031         pythiaMinBias = cms.vstring('MSEL=0         ! User defined processes', 
0032             'MSUB(11)=1     ! Min bias process', 
0033             'MSUB(12)=1     ! Min bias process', 
0034             'MSUB(13)=1     ! Min bias process', 
0035             'MSUB(28)=1     ! Min bias process', 
0036             'MSUB(53)=1     ! Min bias process', 
0037             'MSUB(68)=1     ! Min bias process', 
0038             'MSUB(92)=1     ! Min bias process, single diffractive', 
0039             'MSUB(93)=1     ! Min bias process, single diffractive', 
0040             'MSUB(94)=1     ! Min bias process, double diffractive', 
0041             'MSUB(95)=1     ! Min bias process', 
0042             'MSTJ(11)=3     ! Choice of the fragmentation function', 
0043             'MSTJ(22)=2     ! Decay those unstable particles', 
0044             'PARJ(71)=10 .  ! for which ctau  10 mm', 
0045             'MSTP(2)=1      ! which order running alphaS', 
0046             'MSTP(33)=0     ! no K factors in hard cross sections', 
0047             'MSTP(51)=7     ! choice of proton parton-distribution set (D=7 and means CTEQ 5L)', 
0048             'MSTP(52)=1     ! choice of proton pdf library (D=1 and means internal pythia one, according to MSTP(51) above', 
0049             'MSTP(81)=1     ! multiple parton interactions 1 is Pythia default', 
0050             'MSTP(82)=4     ! Defines the multi-parton model', 
0051             'MSTU(21)=1     ! Check on possible errors during program execution', 
0052             'PARP(82)=1.9409   ! pt cutoff for multiparton interactions', 
0053             'PARP(89)=1960. ! sqrts for which PARP82 is set', 
0054             'PARP(83)=0.5   ! Multiple interactions: matter distrbn parameter', 
0055             'PARP(84)=0.4   ! Multiple interactions: matter distribution parameter', 
0056             'PARP(90)=0.16  ! Multiple interactions: rescaling power', 
0057             'PARP(67)=2.5    ! amount of initial-state radiation', 
0058             'PARP(85)=1.0  ! gluon prod. mechanism in MI', 
0059             'PARP(86)=1.0  ! gluon prod. mechanism in MI', 
0060             'PARP(62)=1.25   ! ', 
0061             'PARP(64)=0.2    ! ', 
0062             'MSTP(91)=1     !', 
0063             'PARP(91)=2.1   ! kt distribution', 
0064             'PARP(93)=15.0  ! ')
0065     )
0066 )