Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:19:08

0001 # The following comments couldn't be translated into the new config version:
0002 
0003 # Configuration file for PoolInputTest
0004 
0005 import FWCore.ParameterSet.Config as cms
0006 
0007 process = cms.Process("TESTANALYSIS")
0008 process.load("FWCore.Framework.test.cmsExceptionsFatal_cff")
0009 
0010 process.maxEvents = cms.untracked.PSet(
0011     input = cms.untracked.int32(-1)
0012 )
0013 
0014 process.Analysis = cms.EDAnalyzer("OtherThingAnalyzer")
0015 
0016 process.source = cms.Source("PoolSource",
0017     setRunNumber = cms.untracked.uint32(621),
0018     fileNames = cms.untracked.vstring('file:step1.root')
0019 )
0020 
0021 process.p = cms.Path(process.Analysis)
0022 
0023 #Also test creating a Ref from the alias branch
0024 process.OtherThing2 = cms.EDProducer("OtherThingProducer",
0025                                     thingTag = cms.InputTag("AltThing")
0026                                     )
0027 
0028 process.Analysis2 = cms.EDAnalyzer("OtherThingAnalyzer",
0029                                    other=cms.untracked.InputTag("OtherThing2","testUserTag"))
0030 
0031 process.p2 = cms.Path(process.OtherThing2+process.Analysis2)