Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 14:21:16

0001 # Configuration file for PoolInputTest
0002 
0003 import FWCore.ParameterSet.Config as cms
0004 import sys
0005 
0006 argv = []
0007 foundpy = False
0008 for a in sys.argv:
0009     if foundpy:
0010         argv.append(a)
0011     if ".py" in a:
0012         foundpy = True
0013 
0014 process = cms.Process("TESTRECO")
0015 process.load("FWCore.Framework.test.cmsExceptionsFatal_cff")
0016 
0017 process.maxEvents.input = -1
0018 process.OtherThing = cms.EDProducer("OtherThingProducer")
0019 process.Analysis = cms.EDAnalyzer("OtherThingAnalyzer")
0020 
0021 process.source = cms.Source("PoolSource",
0022     setRunNumber = cms.untracked.uint32(621),
0023     fileNames = cms.untracked.vstring(argv[0]),
0024     enforceGUIDInFileName = cms.untracked.bool(True)
0025 )
0026 
0027 process.p = cms.Path(process.OtherThing*process.Analysis)
0028 
0029