Back to home page

Project CMSSW displayed by LXR

 
 

    


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

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 from Configuration.Generator.Pythia8BottomoniumSettings_cfi import *
0006 
0007 generator = cms.EDFilter("Pythia8GeneratorFilter",
0008                          pythiaPylistVerbosity = cms.untracked.int32(0),
0009                          pythiaHepMCVerbosity = cms.untracked.bool(False),
0010                          comEnergy = cms.double(13000.0),
0011                          maxEventsToPrint = cms.untracked.int32(0),
0012                          ExternalDecays = cms.PSet(
0013         EvtGen130 = cms.untracked.PSet(
0014             decay_table = cms.string('GeneratorInterface/EvtGenInterface/data/DECAY_2010.DEC'),
0015             particle_property_file = cms.FileInPath('GeneratorInterface/EvtGenInterface/data/evt.pdl'),
0016             user_decay_file = cms.vstring('GeneratorInterface/ExternalDecays/data/Bu_Kstarmumu_Kspi.dec'),
0017             list_forced_decays = cms.vstring('MyB+','MyB-'),
0018             operates_on_particles = cms.vint32()
0019             ),
0020         parameterSets = cms.vstring('EvtGen130')
0021         ),
0022                          PythiaParameters = cms.PSet(
0023         pythia8CommonSettingsBlock,
0024         pythia8CUEP8M1SettingsBlock,
0025     pythia8BottomoniumSettingsBlock,
0026         processParameters = cms.vstring(
0027             'Bottomonium:states(3S1) = 300553', 
0028             'PhaseSpace:pTHatMin = 20.',
0029             ),
0030         parameterSets = cms.vstring('pythia8CommonSettings',
0031                                     'pythia8CUEP8M1Settings',
0032                     'pythia8BottomoniumSettings',
0033                                     'processParameters',
0034                                     )
0035         )
0036                          )
0037 
0038 generator.PythiaParameters.processParameters.extend(EvtGenExtraParticles)
0039 
0040 configurationMetadata = cms.untracked.PSet(
0041     version = cms.untracked.string('$Revision: 1.1 $'),
0042     name = cms.untracked.string('$Source: Configuration/Generator/python/BuToKstarMuMu_forSTEAM_13TeV_TuneCUETP8M1_cfi.py $'),
0043     annotation = cms.untracked.string('Summer14: Pythia8+EvtGen130 generation of Upsilon(4s) --> Bu --> K* Mu+Mu-, 13TeV, Tune CUETP8M1')
0044     )
0045 
0046 ###########
0047 # Filters #
0048 ###########
0049 # Filter only pp events which produce a B+:
0050 bufilter = cms.EDFilter("PythiaFilter", ParticleID = cms.untracked.int32(521))
0051 
0052 # Filter on final state muons
0053 mumugenfilter = cms.EDFilter("MCParticlePairFilter",
0054                              Status = cms.untracked.vint32(1, 1),
0055                              MinPt = cms.untracked.vdouble(2.8, 2.8),
0056                              MinP = cms.untracked.vdouble(2.8, 2.8),
0057                              MaxEta = cms.untracked.vdouble(2.3, 2.3),
0058                              MinEta = cms.untracked.vdouble(-2.3, -2.3),
0059                              ParticleID1 = cms.untracked.vint32(13,-13),
0060                              ParticleID2 = cms.untracked.vint32(13,-13)
0061                              )
0062 
0063 ProductionFilterSequence = cms.Sequence(generator*bufilter*mumugenfilter)