Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-08-18 22:30:04

0001 import FWCore.ParameterSet.Config as cms
0002 from Configuration.Generator.Pythia8CommonSettings_cfi import *
0003 from Configuration.Generator.Pythia8CUEP8M1Settings_cfi import *
0004 
0005 generator = cms.EDFilter("Pythia8ConcurrentGeneratorFilter",
0006                          pythiaHepMCVerbosity = cms.untracked.bool(False),
0007                          maxEventsToPrint = cms.untracked.int32(0),
0008                          pythiaPylistVerbosity = cms.untracked.int32(1),
0009                          filterEfficiency = cms.untracked.double(0.002305),
0010                          comEnergy = cms.double(8000.0),
0011                          crossSection = cms.untracked.double(51560000000.),
0012                          reweightGen = cms.PSet(
0013         pTRef = cms.double(15.0),
0014         power = cms.double(4.5)
0015         ),
0016                          PythiaParameters = cms.PSet(
0017         pythia8CommonSettingsBlock,
0018         pythia8CUEP8M1SettingsBlock,
0019         processParameters = cms.vstring(
0020             'HardQCD:all = on',
0021             'ParticleDecays:limitCylinder   = true',
0022             'ParticleDecays:xyMax = 1500',
0023             'ParticleDecays:zMax = 3000',
0024             '321:onMode = on', #kaons
0025             '211:onMode = on', #pion
0026             '130:onMode = on' #KL0
0027             ),
0028         parameterSets = cms.vstring('pythia8CommonSettings',
0029                                     'pythia8CUEP8M1Settings',
0030                                     'processParameters',
0031                                     )
0032         )
0033                          )
0034 
0035 mugenfilter = cms.EDFilter("MCSmartSingleParticleFilter",
0036                            MinPt = cms.untracked.vdouble(2.5,2.5),
0037                            MinEta = cms.untracked.vdouble(-2.5,-2.5),
0038                            MaxEta = cms.untracked.vdouble(2.5,2.5),
0039                            ParticleID = cms.untracked.vint32(13,-13),
0040                            Status = cms.untracked.vint32(1,1),
0041                            # Decay cuts are in mm
0042                            MaxDecayRadius = cms.untracked.vdouble(1500.,1500.),
0043                            MinDecayZ = cms.untracked.vdouble(-3000.,-3000.),
0044                            MaxDecayZ = cms.untracked.vdouble(3000.,3000.)
0045 )
0046 
0047 ProductionFilterSequence = cms.Sequence(generator*mugenfilter)