Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-09-26 05:06:36

0001 import FWCore.ParameterSet.Config as cms
0002 import sys
0003 
0004 process = cms.Process("READ")
0005 
0006 process.source = cms.Source("PoolSource", fileNames = cms.untracked.vstring("file:"+sys.argv[1]))
0007 process.maxEvents.input = 1
0008 
0009 process.testReadTriggerResults = cms.EDAnalyzer("TestReadTriggerResults",
0010     triggerResultsTag = cms.InputTag("triggerResultsProducer", "", "PROD"),
0011         expectedParameterSetID = cms.string('8b99d66b6c3865c75e460791f721202d'),
0012         expectedNames = cms.vstring(),
0013         expectedHLTStates = cms.vuint32(0, 1, 2, 3),
0014         expectedModuleIndexes = cms.vuint32(11, 21, 31, 41)
0015 )
0016 
0017 process.out = cms.OutputModule("PoolOutputModule",
0018     fileName = cms.untracked.string('testTriggerResults2.root'),
0019     fastCloning = cms.untracked.bool(False)
0020 )
0021 
0022 process.path = cms.Path(process.testReadTriggerResults)
0023 
0024 process.endPath = cms.EndPath(process.out)