Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 # Only for Trigger Study
0002 import FWCore.ParameterSet.Config as cms
0003 from Configuration.Generator.PythiaUEZ2starSettings_cfi import *
0004 generator = cms.EDFilter(
0005 "Pythia6GeneratorFilter",
0006 comEnergy = cms.double(13000.0),
0007 crossSection = cms.untracked.double(54000000000),
0008 filterEfficiency = cms.untracked.double(0.0011),
0009 pythiaHepMCVerbosity = cms.untracked.bool(False),
0010 maxEventsToPrint = cms.untracked.int32(0),
0011 pythiaPylistVerbosity = cms.untracked.int32(0),
0012 ExternalDecays = cms.PSet(
0013 EvtGen = cms.untracked.PSet(
0014 operates_on_particles = cms.vint32( 0 ), # 0 (zero) means default list (hardcoded)
0015 # you can put here the list of particles (PDG IDs)
0016 # that you want decayed by EvtGen
0017 use_default_decay = cms.untracked.bool(False),
0018 decay_table = cms.FileInPath('GeneratorInterface/ExternalDecays/data/DECAY_NOLONGLIFE.DEC'),
0019 particle_property_file = cms.FileInPath('GeneratorInterface/ExternalDecays/data/evt.pdl'),
0020 user_decay_file = cms.FileInPath('GeneratorInterface/ExternalDecays/data/Bd_mumu.dec'),
0021 list_forced_decays = cms.vstring('MyB0',
0022 'Myanti-B0'),
0023 ),
0024 parameterSets = cms.vstring('EvtGen')
0025 ),
0026 PythiaParameters = cms.PSet(
0027 pythiaUESettingsBlock,
0028 bbbarSettings = cms.vstring('MSEL = 1'),
0029 # This is a vector of ParameterSet names to be read, in this order
0030 parameterSets = cms.vstring(
0031 'pythiaUESettings',
0032 'bbbarSettings')
0033 )
0034 )
0035 MuMuFilter = cms.EDFilter("MCParticlePairFilter",
0036 Status = cms.untracked.vint32(1, 1),
0037 MinPt = cms.untracked.vdouble(3., 3.),
0038 MaxEta = cms.untracked.vdouble(2.5, 2.5),
0039 MinEta = cms.untracked.vdouble(-2.5, -2.5),
0040 ParticleCharge = cms.untracked.int32(-1),
0041 #MaxInvMass = cms.untracked.double(5.5),
0042 #MinInvMass = cms.untracked.double(5.0),
0043 ParticleID1 = cms.untracked.vint32(13),
0044 ParticleID2 = cms.untracked.vint32(13)
0045 )
0046 # -- Require Muon from Bd
0047 MuFilter = cms.EDFilter("PythiaFilter",
0048 Status = cms.untracked.int32(1),
0049 MotherID = cms.untracked.int32(511),
0050 MinPt = cms.untracked.double(3.),
0051 ParticleID = cms.untracked.int32(13),
0052 MaxEta = cms.untracked.double(2.5),
0053 MinEta = cms.untracked.double(-2.5)
0054 )
0055 ProductionFilterSequence = cms.Sequence(generator*MuMuFilter*MuFilter)