File indexing completed on 2023-03-17 11:03:06
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022 import FWCore.ParameterSet.Config as cms
0023
0024 process = cms.Process("PROD")
0025
0026 process.load("FWCore.MessageService.MessageLogger_cfi")
0027 process.MessageLogger.cerr.FwkReport.reportEvery = 1000
0028
0029 import FWCore.Framework.test.cmsExceptionsFatalOption_cff
0030 process.options = cms.untracked.PSet(
0031
0032 Rethrow = FWCore.Framework.test.cmsExceptionsFatalOption_cff.Rethrow
0033 )
0034
0035 process.source = cms.Source("NewEventStreamFileReader",
0036 fileNames = cms.untracked.vstring('file:testSeriesOfProcessesHLT.dat')
0037 )
0038
0039 process.f1 = cms.EDFilter("TestFilterModule",
0040 acceptValue = cms.untracked.int32(25),
0041 onlyOne = cms.untracked.bool(False)
0042 )
0043
0044 process.f2a = cms.EDFilter("TestFilterModule",
0045 acceptValue = cms.untracked.int32(50),
0046 onlyOne = cms.untracked.bool(False)
0047 )
0048
0049 process.f2b = cms.EDFilter("TestFilterModule",
0050 acceptValue = cms.untracked.int32(10),
0051 onlyOne = cms.untracked.bool(False)
0052 )
0053
0054 process.a = cms.EDAnalyzer(
0055 "TestTriggerNames",
0056 trigPathsPrevious = cms.untracked.vstring(
0057 'p01',
0058 'p02',
0059 'p03',
0060 'p04'
0061 ),
0062 streamerSource = cms.untracked.bool(True),
0063 trigPaths = cms.untracked.vstring('p1', 'p2'),
0064 dumpPSetRegistry = cms.untracked.bool(False)
0065 )
0066
0067
0068
0069
0070 process.makeRunLumiProducts = cms.EDProducer("ThingWithMergeProducer")
0071
0072
0073
0074
0075 process.out1 = cms.OutputModule("PoolOutputModule",
0076 fileName = cms.untracked.string('testSeriesOfProcessesPROD1.root'),
0077 outputCommands = cms.untracked.vstring(
0078 "drop *",
0079 "keep *_fakeRaw_*_*"
0080 )
0081 )
0082
0083 process.out2 = cms.OutputModule("PoolOutputModule",
0084 fileName = cms.untracked.string('testSeriesOfProcessesPROD2.root'),
0085 outputCommands = cms.untracked.vstring(
0086 "keep *",
0087 "drop *_fakeRaw_*_*"
0088 )
0089 )
0090
0091 process.pathanalysis = cms.EDAnalyzer("PathAnalyzer")
0092
0093 process.p1 = cms.Path(process.f1 * process.makeRunLumiProducts)
0094 process.p2 = cms.Path(~process.f2a * process.f2b)
0095
0096 process.e = cms.EndPath(process.a * process.pathanalysis * process.out1 * process.out2)