Go to the documentation of this file.00001
00002
00003 import FWCore.ParameterSet.Config as cms
00004
00005 process = cms.Process("HltRerun")
00006
00007
00008 process.options = cms.untracked.PSet(
00009 wantSummary = cms.untracked.bool(True)
00010 )
00011
00012
00013
00014 process.load("FWCore.MessageLogger.MessageLogger_cfi")
00015
00016 process.MessageLogger.cerr.threshold = 'ERROR'
00017
00018
00019 process.TFileService = cms.Service("TFileService", fileName = cms.string("histograms.root"))
00020
00021
00022
00023
00024
00025 process.source = cms.Source("PoolSource",
00026 fileNames = cms.untracked.vstring(
00027 '/store/data/Commissioning08/Cosmics/RAW/v1/000/069/365/664D66FA-01AB-DD11-B9E5-001617C3B76A.root'
00028 ),
00029 )
00030
00031 process.maxEvents = cms.untracked.PSet(
00032 input = cms.untracked.int32(100)
00033 )
00034
00035
00036 process.hltTrigReport = cms.EDAnalyzer( "HLTrigReport",
00037 HLTriggerResults = cms.InputTag( 'TriggerResults','','HLT' )
00038 )
00039
00040
00041 process.hltTrigReportRerun = cms.EDAnalyzer( "HLTrigReport",
00042 HLTriggerResults = cms.InputTag( 'TriggerResults','','HltRerun' )
00043 )
00044
00045 process.load("HLTriggerOffline.Common.HltComparator_cfi")
00046
00047
00048
00049
00050 process.out = cms.OutputModule("PoolOutputModule",
00051 fileName = cms.untracked.string('mismatchedTriggers.root'),
00052 outputCommands = cms.untracked.vstring('drop *',
00053 "keep *_*_*_HltRerun"
00054 )
00055 )
00056
00057
00058
00059 process.HLTAnalysisEndPath = cms.EndPath( process.hltTrigReport + process.hltTrigReportRerun+process.hltComparator+process.out)
00060
00061
00062