Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 ##!!!For BPH Trigger and Generator study  only, not ok for physics use.
0002 import FWCore.ParameterSet.Config as cms
0003 from Configuration.Generator.Pythia8CommonSettings_cfi import *
0004 from Configuration.Generator.Pythia8CUEP8M1Settings_cfi import *
0005 from GeneratorInterface.EvtGenInterface.EvtGenSetting_cff import *
0006 generator = cms.EDFilter("Pythia8GeneratorFilter",
0007 pythiaPylistVerbosity = cms.untracked.int32(0),
0008 pythiaHepMCVerbosity = cms.untracked.bool(False),
0009 comEnergy = cms.double(13000.0),
0010 maxEventsToPrint = cms.untracked.int32(0),
0011 ExternalDecays = cms.PSet(
0012 EvtGen130 = cms.untracked.PSet(
0013 decay_table = cms.string('GeneratorInterface/EvtGenInterface/data/DECAY_2010.DEC'),
0014 particle_property_file = cms.FileInPath('GeneratorInterface/EvtGenInterface/data/evt.pdl'),
0015 user_decay_file = cms.vstring('GeneratorInterface/ExternalDecays/data/Bu_Mixing.dec'),
0016 list_forced_decays = cms.vstring('MyB+',
0017 'MyB-'),
0018 operates_on_particles = cms.vint32()
0019 ),
0020 parameterSets = cms.vstring('EvtGen130')
0021 ),
0022 PythiaParameters = cms.PSet(
0023 pythia8CommonSettingsBlock,
0024 pythia8CUEP8M1SettingsBlock,
0025 processParameters = cms.vstring(
0026 'HardQCD:all = on',
0027 'PhaseSpace:pTHatMin = 8',
0028 ),
0029 parameterSets = cms.vstring('pythia8CommonSettings',
0030 'pythia8CUEP8M1Settings',
0031 'processParameters',
0032 )
0033 )
0034 )
0035 generator.PythiaParameters.processParameters.extend(EvtGenExtraParticles)
0036 configurationMetadata = cms.untracked.PSet(
0037 version = cms.untracked.string('$Revision: 1.1 $'),
0038 name = cms.untracked.string('$Source: Configuration/Generator/python/BuToKstarMuMu_forSTEAM_13TeV_TuneCUETP8M1_cfi.py $'),
0039 annotation = cms.untracked.string('Summer14: Pythia8+EvtGen130 generation of Bu --> K* Mu+Mu-, 13TeV, Tune CUETP8M1')
0040 )
0041 
0042 mumugenfilter = cms.EDFilter("MCParticlePairFilter",
0043     Status = cms.untracked.vint32(1, 1),
0044     MinPt = cms.untracked.vdouble(0.5, 0.5),
0045     MinP = cms.untracked.vdouble(0., 0.),
0046     MaxEta = cms.untracked.vdouble(2.5, 2.5),
0047     MinEta = cms.untracked.vdouble(-2.5, -2.5),
0048     MinInvMass = cms.untracked.double(2.0),
0049     MaxInvMass = cms.untracked.double(4.0),
0050     ParticleCharge = cms.untracked.int32(-1),
0051     ParticleID1 = cms.untracked.vint32(13),
0052     ParticleID2 = cms.untracked.vint32(13)
0053 )
0054 
0055 ###########
0056 # Filters #
0057 ###########
0058 # Filter only pp events which produce a B+:
0059 bufilter = cms.EDFilter("PythiaFilter", ParticleID = cms.untracked.int32(521))
0060 ProductionFilterSequence = cms.Sequence(generator*bufilter*mumugenfilter)