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 from Configuration.Generator.Pythia8CharmoniumSettings_cfi import *
0005 
0006 generator = cms.EDFilter("Pythia8ConcurrentGeneratorFilter",
0007                          pythiaPylistVerbosity = cms.untracked.int32(0),
0008                          filterEfficiency = cms.untracked.double(0.138),
0009                          pythiaHepMCVerbosity = cms.untracked.bool(False),
0010                          crossSection = cms.untracked.double(1256000.0),
0011                          comEnergy = cms.double(8000.0),
0012                          maxEventsToPrint = cms.untracked.int32(0),
0013                          PythiaParameters = cms.PSet(
0014         pythia8CommonSettingsBlock,
0015         pythia8CUEP8M1SettingsBlock,
0016     pythia8CharmoniumSettingsBlock,
0017         processParameters = cms.vstring(
0018             'Charmonium:states(3S1) = 443 ', # filter on 443 and prevents other onium states decaying to 443, so we should turn the others off
0019             '443:onMode = off',            # ignore cross-section re-weighting (CSAMODE=6) since selecting wanted decay mode
0020             '443:onIfAny = 13',
0021             'PhaseSpace:pTHatMin = 10.',
0022             ),
0023         parameterSets = cms.vstring('processParameters',
0024                                     'pythia8CommonSettings',
0025                     'pythia8CharmoniumSettings',
0026                                     'pythia8CUEP8M1Settings',
0027                                     )
0028         )
0029                          )
0030 
0031 oniafilter = cms.EDFilter("PythiaFilter",
0032     Status = cms.untracked.int32(2),
0033     MaxEta = cms.untracked.double(1000.0),
0034     MinEta = cms.untracked.double(-1000.0),
0035     MinPt = cms.untracked.double(0.0),
0036     ParticleID = cms.untracked.int32(443)
0037 )
0038 
0039 mumugenfilter = cms.EDFilter("MCParticlePairFilter",
0040     Status = cms.untracked.vint32(1, 1),
0041     MinPt = cms.untracked.vdouble(0.5, 0.5),
0042     MinP = cms.untracked.vdouble(2.7, 2.7),
0043     MaxEta = cms.untracked.vdouble(2.5, 2.5),
0044     MinEta = cms.untracked.vdouble(-2.5, -2.5),
0045     ParticleCharge = cms.untracked.int32(-1),
0046     ParticleID1 = cms.untracked.vint32(13),
0047     ParticleID2 = cms.untracked.vint32(13)
0048 )
0049 
0050 mugenfilter = cms.EDFilter("MCSingleParticleFilter",
0051     Status = cms.untracked.vint32(1,1),
0052     MinPt = cms.untracked.vdouble(10.0,10.0),
0053     ParticleID = cms.untracked.vint32(13,-13),
0054 )
0055 
0056 ProductionFilterSequence = cms.Sequence(generator*oniafilter*mumugenfilter*mugenfilter)