2 import FWCore.ParameterSet.Config
as cms
4 process = cms.Process(
"HltRerun")
7 process.options = cms.untracked.PSet(
8 wantSummary = cms.untracked.bool(
True)
13 process.load(
"FWCore.MessageLogger.MessageLogger_cfi")
15 process.MessageLogger.cerr.threshold =
'ERROR'
18 process.TFileService = cms.Service(
"TFileService", fileName = cms.string(
"histograms.root"))
24 process.source = cms.Source(
"PoolSource",
25 fileNames = cms.untracked.vstring(
26 '/store/data/Commissioning08/Cosmics/RAW/v1/000/069/365/664D66FA-01AB-DD11-B9E5-001617C3B76A.root'
30 process.maxEvents = cms.untracked.PSet(
31 input = cms.untracked.int32(100)
35 process.hltTrigReport = cms.EDAnalyzer(
"HLTrigReport",
36 HLTriggerResults = cms.InputTag(
'TriggerResults',
'',
'HLT' )
40 process.hltTrigReportRerun = cms.EDAnalyzer(
"HLTrigReport",
41 HLTriggerResults = cms.InputTag(
'TriggerResults',
'',
'HltRerun' )
44 process.load(
"HLTriggerOffline.Common.HltComparator_cfi")
49 process.out = cms.OutputModule(
"PoolOutputModule",
50 fileName = cms.untracked.string(
'mismatchedTriggers.root'),
51 outputCommands = cms.untracked.vstring(
'drop *',
58 process.HLTAnalysisEndPath = cms.EndPath( process.hltTrigReport + process.hltTrigReportRerun+process.hltComparator+process.out)