File indexing completed on 2024-04-06 12:18:48
0001
0002 import FWCore.ParameterSet.Config as cms
0003
0004 process = cms.Process("HltRerun")
0005
0006
0007 process.options = cms.untracked.PSet(
0008 wantSummary = cms.untracked.bool(True)
0009 )
0010
0011
0012
0013 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0014
0015 process.MessageLogger.cerr.threshold = 'ERROR'
0016
0017
0018 process.TFileService = cms.Service("TFileService", fileName = cms.string("histograms.root"))
0019
0020
0021
0022
0023
0024 process.source = cms.Source("PoolSource",
0025 fileNames = cms.untracked.vstring(
0026 '/store/data/Commissioning08/Cosmics/RAW/v1/000/069/365/664D66FA-01AB-DD11-B9E5-001617C3B76A.root'
0027 ),
0028 )
0029
0030 process.maxEvents = cms.untracked.PSet(
0031 input = cms.untracked.int32(100)
0032 )
0033
0034
0035 process.hltTrigReport = cms.EDAnalyzer( "HLTrigReport",
0036 HLTriggerResults = cms.InputTag( 'TriggerResults','','HLT' )
0037 )
0038
0039
0040 process.hltTrigReportRerun = cms.EDAnalyzer( "HLTrigReport",
0041 HLTriggerResults = cms.InputTag( 'TriggerResults','','HltRerun' )
0042 )
0043
0044 process.load("HLTriggerOffline.Common.HltComparator_cfi")
0045
0046
0047
0048
0049 process.out = cms.OutputModule("PoolOutputModule",
0050 fileName = cms.untracked.string('mismatchedTriggers.root'),
0051 outputCommands = cms.untracked.vstring('drop *',
0052 "keep *_*_*_HltRerun"
0053 )
0054 )
0055
0056
0057
0058 process.HLTAnalysisEndPath = cms.EndPath( process.hltTrigReport + process.hltTrigReportRerun+process.hltComparator+process.out)
0059
0060
0061