Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 #
0004 
0005 from Configuration.Generator.PythiaUEZ2starSettings_cfi import *
0006 
0007 generator = cms.EDFilter(
0008     "Pythia6GeneratorFilter",
0009     comEnergy = cms.double(13000.0),
0010     crossSection = cms.untracked.double(2978915.),
0011     filterEfficiency = cms.untracked.double(1.59e-4),
0012     pythiaHepMCVerbosity = cms.untracked.bool(False),
0013     maxEventsToPrint = cms.untracked.int32(0),
0014     pythiaPylistVerbosity = cms.untracked.int32(0),
0015     ExternalDecays = cms.PSet(
0016         EvtGen = cms.untracked.PSet(
0017              operates_on_particles = cms.vint32( 0 ), # 0 (zero) means default list (hardcoded)
0018                                                       # you can put here the list of particles (PDG IDs)
0019                                                       # that you want decayed by EvtGen
0020              use_default_decay = cms.untracked.bool(False),
0021              decay_table = cms.FileInPath('GeneratorInterface/ExternalDecays/data/DECAY_NOLONGLIFE.DEC'),
0022              particle_property_file = cms.FileInPath('GeneratorInterface/ExternalDecays/data/evt.pdl'),
0023              user_decay_file = cms.FileInPath('GeneratorInterface/ExternalDecays/data/Bu_JpsiK.dec'),
0024              list_forced_decays = cms.vstring('MyB+',
0025                                               'MyB-'),
0026         ),
0027         parameterSets = cms.vstring('EvtGen')
0028     ),
0029 
0030     
0031     PythiaParameters = cms.PSet(
0032     pythiaUESettingsBlock,
0033          bbbarSettings = cms.vstring('MSEL = 1'), 
0034         # This is a vector of ParameterSet names to be read, in this order
0035         parameterSets = cms.vstring(
0036              'pythiaUESettings',
0037              'bbbarSettings')
0038        
0039     )
0040     )
0041 
0042 bfilter = cms.EDFilter(
0043         "PythiaFilter",
0044         MaxEta = cms.untracked.double(9999.),
0045         MinEta = cms.untracked.double(-9999.),
0046         ParticleID = cms.untracked.int32(521)
0047         )
0048 
0049 jpsifilter = cms.EDFilter(
0050         "PythiaDauVFilter",
0051     verbose         = cms.untracked.int32(0), 
0052     NumberDaughters = cms.untracked.int32(2), 
0053     MotherID        = cms.untracked.int32(521),  
0054     ParticleID      = cms.untracked.int32(443),  
0055         DaughterIDs     = cms.untracked.vint32(13, -13),
0056     MinPt           = cms.untracked.vdouble(3.5, 3.5), 
0057     MinEta          = cms.untracked.vdouble(-2.5, -2.5), 
0058     MaxEta          = cms.untracked.vdouble( 2.5,  2.5)
0059         )
0060 
0061 kfilter = cms.EDFilter(
0062         "PythiaDauVFilter",
0063     verbose         = cms.untracked.int32(0), 
0064     NumberDaughters = cms.untracked.int32(2), 
0065     MotherID        = cms.untracked.int32(0),  
0066     ParticleID      = cms.untracked.int32(521),  
0067         DaughterIDs     = cms.untracked.vint32(443, 321),
0068     MinPt           = cms.untracked.vdouble(0., 0.4), 
0069     MinEta          = cms.untracked.vdouble(-99., -2.5), 
0070     MaxEta          = cms.untracked.vdouble(99.,   2.5)
0071         )
0072 
0073 ProductionFilterSequence = cms.Sequence(generator*bfilter*jpsifilter*kfilter)