Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 23:30:15

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("PROD")
0004 process.load("FWCore.Framework.test.cmsExceptionsFatal_cff")
0005 
0006 process.maxEvents = cms.untracked.PSet(
0007     input = cms.untracked.int32(75)
0008 )
0009 process.RandomNumberGeneratorService = cms.Service("RandomNumberGeneratorService",
0010     Thing = cms.PSet(
0011         initialSeed = cms.untracked.uint32(12345)
0012     )
0013 )
0014 
0015 process.source = cms.Source("PoolSource",
0016     skipBadFiles = cms.untracked.bool(True),
0017     fileNames = cms.untracked.vstring(
0018         'file:SecondaryInputTest.root',
0019         'file:SecondaryInputTest.root',
0020         'file:SecondaryInputTest.root'
0021     )
0022 )
0023 
0024 process.Thing = cms.EDProducer("SecondaryProducer",
0025     input = cms.SecSource("EmbeddedRootSource",
0026         skipBadFiles = cms.untracked.bool(True),
0027         maxFileSkips = cms.untracked.uint32(100),
0028         fileNames = cms.untracked.vstring(
0029             'file:SecondaryInputTest2.root',
0030             'file:missing.root',
0031             'file:SecondaryInputTest2.root'
0032         )
0033     )
0034 )
0035 
0036 process.Analysis = cms.EDAnalyzer("EventContentAnalyzer",
0037     verbose = cms.untracked.bool(False)
0038 )
0039 
0040 process.p = cms.Path(process.Thing*process.Analysis)
0041 
0042