File indexing completed on 2024-04-06 12:18:23
0001 import FWCore.ParameterSet.Config as cms
0002
0003 process = cms.Process("HLT")
0004
0005 process.load("FWCore.MessageService.MessageLogger_cfi")
0006 process.MessageLogger.cerr.FwkReport.reportEvery = 999999999
0007 process.MessageLogger.HLTrigReport=dict()
0008
0009 process.options.wantSummary = False
0010
0011 process.source = cms.Source("EmptySource",
0012 numberEventsInLuminosityBlock = cms.untracked.uint32(2),
0013 numberEventsInRun = cms.untracked.uint32(4))
0014
0015 process.maxEvents.input = 10
0016
0017 process.f1 = cms.EDFilter("Prescaler",
0018 prescaleFactor = cms.int32(3),
0019 prescaleOffset = cms.int32(0) )
0020
0021 process.f2 = cms.EDFilter("Prescaler",
0022 prescaleFactor = cms.int32(5),
0023 prescaleOffset = cms.int32(2) )
0024
0025 process.f3 = cms.EDFilter("Prescaler",
0026 prescaleFactor = cms.int32(2),
0027 prescaleOffset = cms.int32(1) )
0028
0029 process.pathFilter =cms.EDFilter("PathStatusFilter", logicalExpression = cms.string("p1 or p2"))
0030 process.HLTriggerFinalPath = cms.Path(process.pathFilter)
0031
0032 process.p1 = cms.Path(process.f1)
0033 process.p2 = cms.Path(process.f2+process.f3)
0034
0035 process.load( "HLTrigger.HLTanalyzers.hlTrigReport_cfi" )
0036 process.hlTrigReport.HLTriggerResults = cms.InputTag("TriggerResults", "", "HLT")
0037 process.hlTrigReport.ReferencePath = cms.untracked.string( "HLTriggerFinalPath" )
0038 process.hlTrigReport.ReferenceRate = cms.untracked.double( 100.0 )
0039 process.hlTrigReport.reportBy = "lumi"
0040
0041 process.report = cms.EndPath( process.hlTrigReport )
0042
0043