Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 #Simply two trigger paths defined
0002 #without any filters
0003 
0004 import FWCore.ParameterSet.Config as cms
0005 
0006 process = cms.Process("PROD")
0007 
0008 import FWCore.Framework.test.cmsExceptionsFatalOption_cff
0009 process.options = cms.untracked.PSet(
0010     wantSummary = cms.untracked.bool(True),
0011     Rethrow = FWCore.Framework.test.cmsExceptionsFatalOption_cff.Rethrow
0012 )
0013 
0014 process.maxEvents = cms.untracked.PSet(
0015     input = cms.untracked.int32(10)
0016 )
0017 
0018 process.source = cms.Source("EmptySource")
0019 
0020 process.m1a = cms.EDProducer("IntProducer",
0021     ivalue = cms.int32(1)
0022 )
0023 
0024 process.m2a = cms.EDProducer("IntProducer",
0025     ivalue = cms.int32(1)
0026 )
0027 
0028 process.a1 = cms.EDAnalyzer("TestResultAnalyzer",
0029     name = cms.untracked.string('a1'),
0030     dump = cms.untracked.bool(True),
0031     numbits = cms.untracked.int32(2)
0032 )
0033 
0034 process.testout1 = cms.OutputModule("TestOutputModule",
0035     bitMask = cms.int32(5),
0036     name = cms.string('testout1'),
0037     SelectEvents = cms.untracked.PSet(
0038         SelectEvents = cms.vstring('p2a')
0039     )
0040 )
0041 
0042 process.p1a = cms.Path(process.m1a)
0043 process.p2a = cms.Path(process.m2a)
0044 process.e1 = cms.EndPath(process.a1)
0045 process.e2 = cms.EndPath(process.testout1)