Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 12:52:40

0001 import FWCore.ParameterSet.Config as cms
0002 from Configuration.Generator.Pythia8CommonSettings_cfi import *
0003 from Configuration.Generator.Pythia8CUEP8M1Settings_cfi import *
0004 from GeneratorInterface.EvtGenInterface.EvtGenSetting_cff import *
0005 
0006 generator = cms.EDFilter("Pythia8GeneratorFilter",
0007                          comEnergy = cms.double(13000.0),
0008                          crossSection = cms.untracked.double(2978915.),
0009                          filterEfficiency = cms.untracked.double(1.59e-4),
0010                          pythiaHepMCVerbosity = cms.untracked.bool(False),
0011                          maxEventsToPrint = cms.untracked.int32(0),
0012                          pythiaPylistVerbosity = cms.untracked.int32(0),
0013                          ExternalDecays = cms.PSet(
0014         EvtGen130 = cms.untracked.PSet(
0015             decay_table = cms.string('GeneratorInterface/EvtGenInterface/data/DECAY_2010.DEC'),
0016             particle_property_file = cms.FileInPath('GeneratorInterface/EvtGenInterface/data/evt.pdl'),
0017      #       user_decay_file = cms.untracked.bool(True),
0018             user_decay_file = cms.vstring('GeneratorInterface/ExternalDecays/data/Bu_JpsiK.dec'),
0019             list_forced_decays = cms.vstring('MyB+','MyB-'),
0020             operates_on_particles = cms.vint32()
0021             ),
0022         parameterSets = cms.vstring('EvtGen130')
0023         ),
0024                          PythiaParameters = cms.PSet(
0025         pythia8CommonSettingsBlock,
0026         pythia8CUEP8M1SettingsBlock,
0027         processParameters = cms.vstring('HardQCD:all = on'),
0028         parameterSets = cms.vstring('pythia8CommonSettings',
0029                                     'pythia8CUEP8M1Settings',
0030                                     'processParameters',
0031                                     )
0032         )
0033                          )
0034 
0035 generator.PythiaParameters.processParameters.extend(EvtGenExtraParticles)
0036 
0037 bfilter = cms.EDFilter(
0038         "PythiaFilter",
0039         MaxEta = cms.untracked.double(9999.),
0040         MinEta = cms.untracked.double(-9999.),
0041         ParticleID = cms.untracked.int32(521)
0042         )
0043 
0044 jpsifilter = cms.EDFilter(
0045         "PythiaDauVFilter",
0046     verbose         = cms.untracked.int32(0), 
0047     NumberDaughters = cms.untracked.int32(2), 
0048     MotherID        = cms.untracked.int32(521),  
0049     ParticleID      = cms.untracked.int32(443),  
0050         DaughterIDs     = cms.untracked.vint32(13, -13),
0051     MinPt           = cms.untracked.vdouble(3.5, 3.5), 
0052     MinEta          = cms.untracked.vdouble(-2.5, -2.5), 
0053     MaxEta          = cms.untracked.vdouble( 2.5,  2.5)
0054         )
0055 
0056 kfilter = cms.EDFilter(
0057         "PythiaDauVFilter",
0058     verbose         = cms.untracked.int32(0), 
0059     NumberDaughters = cms.untracked.int32(2), 
0060     MotherID        = cms.untracked.int32(0),  
0061     ParticleID      = cms.untracked.int32(521),  
0062         DaughterIDs     = cms.untracked.vint32(443, 321),
0063     MinPt           = cms.untracked.vdouble(0., 0.4), 
0064     MinEta          = cms.untracked.vdouble(-99., -2.5), 
0065     MaxEta          = cms.untracked.vdouble(99.,   2.5)
0066         )
0067 
0068 ProductionFilterSequence = cms.Sequence(generator*bfilter*jpsifilter*kfilter)
0069