Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:30:00

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("TEST")
0004 process.load("FWCore.Framework.test.cmsExceptionsFatal_cff")
0005 process.load("Configuration.StandardSequences.Services_cff")
0006 process.load("SimGeneral.HepPDTESSource.pythiapdt_cfi")
0007 process.load("Configuration.EventContent.EventContent_cff")
0008 process.load("Configuration.Generator.QCDForPF_14TeV_TuneCUETP8M1_cfi")
0009 
0010 process.RandomNumberGeneratorService = cms.Service("RandomNumberGeneratorService",
0011                                                    generator = cms.PSet(
0012                                                        initialSeed = cms.untracked.uint32(123456789),
0013                                                        engineName = cms.untracked.string('HepJamesRandom')
0014     )
0015 )
0016 
0017 # The following three lines reduce the clutter of repeated printouts
0018 # of the same exception message.
0019 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0020 process.MessageLogger.PythiaFilter=dict()
0021 
0022 process.maxEvents = cms.untracked.PSet(input = cms.untracked.int32(1000))
0023 
0024 process.source = cms.Source("EmptySource")
0025 
0026 process.load("GeneratorInterface.GenFilters.PythiaFilterIsolatedTrack_cfi")
0027 
0028 process.GEN = cms.OutputModule("PoolOutputModule",
0029     fileName = cms.untracked.string('QCD14TeVIsoTrack.root'),
0030     SelectEvents = cms.untracked.PSet(
0031         SelectEvents = cms.vstring('p')
0032     ),
0033     dataset = cms.untracked.PSet(
0034         dataTier = cms.untracked.string('GEN')
0035     )
0036 
0037 )
0038 
0039 process.isotrack_filter.minSeedEta = 2.0
0040 process.isotrack_filter.maxSeedEta = 3.0
0041 
0042 process.p = cms.Path(process.generator * process.isotrack_filter)
0043 process.outpath = cms.EndPath(process.GEN)
0044 
0045 process.schedule = cms.Schedule(process.p, process.outpath)