Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:28:23

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("Test")
0004 
0005 process.source = cms.Source("EmptySource")
0006 
0007 process.fail = cms.EDProducer("edmtest::FailingInRunProducer")
0008 
0009 process.tstStream = cms.EDAnalyzer("edmtest::global::StreamIntAnalyzer", transitions=cms.int32(2))
0010 process.tstGlobal = cms.EDAnalyzer("edmtest::global::RunIntAnalyzer",
0011                                    transitions=cms.int32(2),
0012                                    cachevalue = cms.int32(0))
0013 
0014 process.p = cms.Path(process.fail+process.tstStream+process.tstGlobal)
0015 
0016 process.add_(cms.Service("Tracer"))
0017 
0018 process2 = cms.Process("Test2")
0019 process2.tstStreamSub = cms.EDAnalyzer("edmtest::global::StreamIntAnalyzer", transitions=cms.int32(2))
0020 process2.tstGlobalSub = cms.EDAnalyzer("edmtest::global::RunIntAnalyzer",
0021                                    transitions=cms.int32(2),
0022                                    cachevalue = cms.int32(0))
0023 process2.p2 = cms.Path(process2.tstStreamSub+process2.tstGlobalSub)
0024 process.addSubProcess(cms.SubProcess(process2))