Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-08-18 22:30:04

0001 import FWCore.ParameterSet.Config as cms
0002 from Configuration.Generator.Pythia8CommonSettings_cfi import *
0003 from Configuration.Generator.Pythia8CUEP8M1Settings_cfi import *
0004 
0005 generator = cms.EDFilter("Pythia8ConcurrentGeneratorFilter",
0006                          pythiaPylistVerbosity = cms.untracked.int32(0),
0007                          filterEfficiency = cms.untracked.double(0.026),
0008                          pythiaHepMCVerbosity = cms.untracked.bool(False),
0009                          crossSection = cms.untracked.double(30560000.0),
0010                          comEnergy = cms.double(13000.0),
0011                          maxEventsToPrint = cms.untracked.int32(0),
0012                          PythiaParameters = cms.PSet(
0013         pythia8CommonSettingsBlock,
0014         pythia8CUEP8M1SettingsBlock,
0015         processParameters = cms.vstring(
0016             'Charmonium:all = on',                       # Quarkonia, MSEL=61, including feed-down as well
0017             '443:onMode = off',                          # Turn off J/psi decays
0018             '443:onIfMatch = 13 -13',                    # just let J/psi -> mu+ mu-
0019             'PhaseSpace:pTHatMin = 2.'                   # be aware of this ckin(3) equivalent
0020             ),
0021         parameterSets = cms.vstring('pythia8CommonSettings',
0022                                     'pythia8CUEP8M1Settings',
0023                                     'processParameters',
0024                                     )
0025         )
0026 )
0027 
0028 # Next two muon filter are derived from muon reconstruction
0029 mumugenfilter = cms.EDFilter("MCParticlePairFilter",
0030     Status = cms.untracked.vint32(1, 1),
0031     MinPt = cms.untracked.vdouble(0.5, 0.5),
0032     MinP = cms.untracked.vdouble(0., 0.),
0033     MaxEta = cms.untracked.vdouble(2.5, 2.5),
0034     MinEta = cms.untracked.vdouble(-2.5, -2.5),
0035     MinInvMass = cms.untracked.double(2.0),
0036     MaxInvMass = cms.untracked.double(4.0),
0037     ParticleCharge = cms.untracked.int32(-1),
0038     ParticleID1 = cms.untracked.vint32(13),
0039     ParticleID2 = cms.untracked.vint32(13)
0040 )
0041 
0042 
0043 
0044 oniafilter = cms.EDFilter("PythiaFilter",
0045     Status = cms.untracked.int32(2),
0046     MaxEta = cms.untracked.double(1000.0),
0047     MinEta = cms.untracked.double(-1000.0),
0048     MinPt = cms.untracked.double(8.0),
0049     ParticleID = cms.untracked.int32(443)
0050 )
0051 
0052 ProductionFilterSequence = cms.Sequence(generator*oniafilter*mumugenfilter)