Back to home page

Project CMSSW displayed by LXR

 
 

    


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

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.141),
0007     pythiaHepMCVerbosity = cms.untracked.bool(False),
0008     crossSection = cms.untracked.double(9090000.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=62          ! Quarkonia NRQCD bb',
0015         'CKIN(3)=20.       ! Min pthard',
0016         'CKIN(4)=-1.      ! Max pthard', 
0017         'MDME(1034,1)=1   ! 0.025200    e- e+',
0018         'MDME(1035,1)=0   ! 0.024800    mu- mu+',                   
0019         'MDME(1036,1)=0   ! 0.026700    tau- tau+',
0020         'MDME(1037,1)=0   ! 0.015000    d dbar',
0021         'MDME(1038,1)=0   ! 0.045000    u ubar',
0022         'MDME(1039,1)=0   ! 0.015000    s sbar',
0023         'MDME(1040,1)=0   ! 0.045000    c cbar',
0024         'MDME(1041,1)=0   ! 0.774300    g g g',
0025         'MDME(1042,1)=0   ! 0.029000    gamma g',
0026         'MSTP(142)=2      ! turns on the PYEVWT Pt re-weighting routine',
0027         'PARJ(13)=0.750   ! probability that a c or b meson has S=1',
0028         'PARJ(14)=0.162   ! probability that a meson with S=0 is produced with L=1, J=1',
0029         'PARJ(15)=0.018   ! probability that a meson with S=1 is produced with L=1, J=0',
0030         'PARJ(16)=0.054   ! probability that a meson with S=1 is produced with L=1, J=1',
0031         'MSTP(145)=0      !  choice of polarization',
0032         'MSTP(146)=0      ! choice of polarization frame ONLY when mstp(145)=1',
0033         'MSTP(147)=0      ! particular helicity or density matrix component when mstp(145)=1',
0034         'MSTP(148)=1      ! possibility to allow for final-state shower evolution, extreme case!',
0035         'MSTP(149)=1      ! if mstp(148)=1, it determines the kinematics of the QQ~3S1(8)->QQ~3S1(8)+g branching',
0036         'PARP(141)=1.16   ! New values for COM matrix elements',
0037         'PARP(142)=0.0119 ! New values for COM matrix elements', 
0038         'PARP(143)=0.01   ! New values for COM matrix elements', 
0039         'PARP(144)=0.01   ! New values for COM matrix elements', 
0040         'PARP(145)=0.05   ! New values for COM matrix elements',  
0041         'PARP(146)=9.28   ! New values for COM matrix elements', 
0042         'PARP(147)=0.15   ! New values for COM matrix elements', 
0043         'PARP(148)=0.02   ! New values for COM matrix elements', 
0044         'PARP(149)=0.02   ! New values for COM matrix elements', 
0045         'PARP(150)=0.09   ! New values for COM matrix elements'
0046         ),
0047         # This is a vector of ParameterSet names to be read, in this order
0048         parameterSets = cms.vstring('pythiaUESettings', 
0049             'processParameters', 
0050             'CSAParameters'),
0051         CSAParameters = cms.vstring('CSAMODE = 6     ! cross-section reweighted quarkonia')
0052     )
0053 )
0054 
0055 oniafilter = cms.EDFilter("PythiaFilter",
0056     Status = cms.untracked.int32(2),
0057     MaxEta = cms.untracked.double(1000.0),
0058     MinEta = cms.untracked.double(-1000.0),
0059     MinPt = cms.untracked.double(0.0),
0060     ParticleID = cms.untracked.int32(553)
0061 )
0062 
0063 eegenfilter = cms.EDFilter("MCParticlePairFilter",
0064     Status = cms.untracked.vint32(1, 1),
0065     MinPt = cms.untracked.vdouble(2.5, 2.5),
0066     MaxEta = cms.untracked.vdouble(2.6, 2.6),
0067     MinEta = cms.untracked.vdouble(-2.6, -2.6),
0068     ParticleCharge = cms.untracked.int32(0),
0069     ParticleID1 = cms.untracked.vint32(11),
0070     ParticleID2 = cms.untracked.vint32(11)
0071 )
0072 
0073 ProductionFilterSequence = cms.Sequence(generator*oniafilter*eegenfilter)