File indexing completed on 2024-04-06 12:12:42
0001
0002
0003
0004
0005
0006
0007
0008
0009
0010
0011
0012
0013
0014
0015
0016
0017
0018
0019
0020
0021
0022
0023
0024
0025
0026 import FWCore.ParameterSet.Config as cms
0027
0028 process = cms.Process("HLT")
0029
0030 process.source = cms.Source("EmptySource",
0031 firstLuminosityBlock = cms.untracked.uint32(1),
0032 numberEventsInLuminosityBlock = cms.untracked.uint32(5),
0033 firstEvent = cms.untracked.uint32(1),
0034 firstRun = cms.untracked.uint32(1),
0035 numberEventsInRun = cms.untracked.uint32(1000)
0036 )
0037
0038 process.maxEvents = cms.untracked.PSet(
0039 input = cms.untracked.int32(99)
0040 )
0041
0042 process.load("FWCore.MessageService.MessageLogger_cfi")
0043 process.MessageLogger.cerr.FwkReport.reportEvery = 1000
0044
0045 import FWCore.Framework.test.cmsExceptionsFatalOption_cff
0046 process.options = cms.untracked.PSet(
0047
0048 Rethrow = FWCore.Framework.test.cmsExceptionsFatalOption_cff.Rethrow
0049 )
0050
0051
0052
0053
0054 process.f1 = cms.EDFilter("TestFilterModule",
0055 acceptValue = cms.untracked.int32(98),
0056 onlyOne = cms.untracked.bool(False)
0057 )
0058
0059 process.f2a = cms.EDFilter("TestFilterModule",
0060 acceptValue = cms.untracked.int32(20),
0061 onlyOne = cms.untracked.bool(False)
0062 )
0063
0064 process.f2b = cms.EDFilter("TestFilterModule",
0065 acceptValue = cms.untracked.int32(10),
0066 onlyOne = cms.untracked.bool(False)
0067 )
0068
0069 process.f3 = cms.EDFilter("TestFilterModule",
0070 acceptValue = cms.untracked.int32(71),
0071 onlyOne = cms.untracked.bool(True)
0072 )
0073
0074 process.f4 = cms.EDFilter("TestFilterModule",
0075 acceptValue = cms.untracked.int32(101),
0076 onlyOne = cms.untracked.bool(True)
0077 )
0078
0079 process.a = cms.EDAnalyzer(
0080 "TestTriggerNames",
0081 trigPaths = cms.untracked.vstring(
0082 'p01',
0083 'p02',
0084 'p03',
0085 'p04'
0086 ),
0087 endPaths = cms.untracked.vstring('e'),
0088 dumpPSetRegistry = cms.untracked.bool(False)
0089 )
0090
0091 process.fakeRaw = cms.EDProducer(
0092 "IntProducer",
0093 ivalue = cms.int32(10)
0094 )
0095
0096 process.fakeHLTDebug = cms.EDProducer(
0097 "IntProducer",
0098 ivalue = cms.int32(1000)
0099 )
0100
0101 process.out = cms.OutputModule("EventStreamFileWriter",
0102 fileName = cms.untracked.string('testSeriesOfProcessesHLT.dat'),
0103 compression_level = cms.untracked.int32(1),
0104 use_compression = cms.untracked.bool(True),
0105 max_event_size = cms.untracked.int32(7000000)
0106 )
0107
0108 process.p01 = cms.Path(process.f1)
0109 process.p02 = cms.Path(~process.f2a*process.f2b)
0110 process.p03 = cms.Path(process.f3)
0111 process.p04 = cms.Path(process.a *
0112 process.fakeRaw * process.fakeHLTDebug *
0113 process.f4)
0114
0115 process.e = cms.EndPath(process.out)