Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:12:30

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",
0010                                    transitions=cms.int32(2),
0011                                    nLumis = cms.untracked.uint32(0))
0012 process.tstGlobal = cms.EDAnalyzer("edmtest::global::RunIntAnalyzer",
0013                                    transitions=cms.int32(2),
0014                                    cachevalue = cms.int32(0))
0015 
0016 process.p = cms.Path(process.fail+process.tstStream+process.tstGlobal)
0017 
0018 process.add_(cms.Service("Tracer"))
0019 
0020 process2 = cms.Process("Test2")
0021 process2.tstStreamSub = cms.EDAnalyzer("edmtest::global::StreamIntAnalyzer",
0022                                        transitions=cms.int32(2),
0023                                        nLumis = cms.untracked.uint32(0))
0024 process2.tstGlobalSub = cms.EDAnalyzer("edmtest::global::RunIntAnalyzer",
0025                                    transitions=cms.int32(2),
0026                                    cachevalue = cms.int32(0))
0027 process2.p2 = cms.Path(process2.tstStreamSub+process2.tstGlobalSub)
0028 process.addSubProcess(cms.SubProcess(process2))