File indexing completed on 2024-04-06 12:03:35
0001 import FWCore.ParameterSet.Config as cms
0002
0003 from Configuration.Generator.PythiaUESettings_cfi import *
0004 generator = cms.EDFilter("Pythia6GeneratorFilter",
0005 pythiaPylistVerbosity = cms.untracked.int32(0),
0006 filterEfficiency = cms.untracked.double(0.138),
0007 pythiaHepMCVerbosity = cms.untracked.bool(False),
0008 crossSection = cms.untracked.double(1256000.0),
0009 comEnergy = cms.double(10000.0),
0010 maxEventsToPrint = cms.untracked.int32(0),
0011 PythiaParameters = cms.PSet(
0012 pythiaUESettingsBlock,
0013 processParameters = cms.vstring(
0014 'MSEL=61 ! Quarkonia',
0015 'CKIN(3)=10. ! Min pthard',
0016 'CKIN(4)=-1. ! Max pthard',
0017 'MDME(858,1) = 0 ! 0.060200 e- e+',
0018 'MDME(859,1) = 1 ! 0.060100 mu- mu+',
0019 'MDME(860,1) = 0 ! 0.879700 rndmflav rndmflavbar',
0020 'MSTP(142)=2 ! turns on the PYEVWT Pt re-weighting routine',
0021 'PARJ(13)=0.750 ! probability that a c or b meson has S=1',
0022 'PARJ(14)=0.162 ! probability that a meson with S=0 is produced with L=1, J=1',
0023 'PARJ(15)=0.018 ! probability that a meson with S=1 is produced with L=1, J=0',
0024 'PARJ(16)=0.054 ! probability that a meson with S=1 is produced with L=1, J=1',
0025 'MSTP(145)=0 ! choice of polarization',
0026 'MSTP(146)=0 ! choice of polarization frame ONLY when mstp(145)=1',
0027 'MSTP(147)=0 ! particular helicity or density matrix component when mstp(145)=1',
0028 'MSTP(148)=1 ! possibility to allow for final-state shower evolution, extreme case !',
0029 'MSTP(149)=1 ! if mstp(148)=1, it determines the kinematics of the QQ~3S1(8)->QQ~3S1(8)+g branching',
0030 'PARP(141)=1.16 ! New values for COM matrix elements',
0031 'PARP(142)=0.0119 ! New values for COM matrix elements',
0032 'PARP(143)=0.01 ! New values for COM matrix elements',
0033 'PARP(144)=0.01 ! New values for COM matrix elements',
0034 'PARP(145)=0.05 ! New values for COM matrix elements',
0035 'PARP(146)=9.28 ! New values for COM matrix elements',
0036 'PARP(147)=0.15 ! New values for COM matrix elements',
0037 'PARP(148)=0.02 ! New values for COM matrix elements',
0038 'PARP(149)=0.02 ! New values for COM matrix elements',
0039 'PARP(150)=0.085 ! New values for COM matrix elements',
0040 'BRAT(859)=1.000 ! J/psi->mu+mu-',
0041 'BRAT(861)=0.000 ! chi_2c->J/psi gamma',
0042 'BRAT(862)=0.798 ! chi_2c->rndmflav rndmflavbar',
0043 'BRAT(1501)=0.000 ! chi_0c->J/psi gamma',
0044 'BRAT(1502)=0.987 ! chi_0c->rndmflav rndmflavbar',
0045 'BRAT(1555)=0.000 ! chi_1c->J/psi gamma',
0046 'BRAT(1556)=0.644 ! chi_1c->rndmflav rndmflavbar',
0047 'BRAT(1569)=0.186600 ! psi(2S) -> rndmflav rndmflavbar',
0048 'BRAT(1570)=0.000 ! psi(2S) ->J/psi pi+ pi-',
0049 'BRAT(1571)=0.000 ! psi(2S) ->J/psi pi0 pi0',
0050 'BRAT(1572)=0.000 ! psi(2S) ->J/psi eta',
0051 'BRAT(1573)=0.000 ! psi(2S) ->J/psi pi0'
0052 ),
0053
0054 parameterSets = cms.vstring('pythiaUESettings',
0055 'processParameters',
0056 'CSAParameters'),
0057 CSAParameters = cms.vstring('CSAMODE = 6 ! cross-section reweighted quarkonia')
0058 )
0059 )
0060
0061 oniafilter = cms.EDFilter("PythiaFilter",
0062 Status = cms.untracked.int32(2),
0063 MaxEta = cms.untracked.double(1000.0),
0064 MinEta = cms.untracked.double(-1000.0),
0065 MinPt = cms.untracked.double(0.0),
0066 ParticleID = cms.untracked.int32(443)
0067 )
0068
0069 mumugenfilter = cms.EDFilter("MCParticlePairFilter",
0070 Status = cms.untracked.vint32(1, 1),
0071 MinPt = cms.untracked.vdouble(1.0, 1.0),
0072 MinP = cms.untracked.vdouble(3.0, 3.0),
0073 MaxEta = cms.untracked.vdouble(2.5, 2.5),
0074 MinEta = cms.untracked.vdouble(-2.5, -2.5),
0075 ParticleCharge = cms.untracked.int32(-1),
0076 ParticleID1 = cms.untracked.vint32(13),
0077 ParticleID2 = cms.untracked.vint32(13)
0078 )
0079
0080 mugenfilter = cms.EDFilter("MCSingleParticleFilter",
0081 Status = cms.untracked.vint32(1,1),
0082 MinPt = cms.untracked.vdouble(10.0,10.0),
0083 ParticleID = cms.untracked.vint32(13,-13),
0084 )
0085
0086 ProductionFilterSequence = cms.Sequence(generator*oniafilter*mumugenfilter*~mugenfilter)