Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:03:55

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 process = cms.Process("PROD")
0004 
0005 process.load("FWCore.MessageService.MessageLogger_cfi")
0006 
0007 process.source = cms.Source("EmptySource")
0008 process.maxEvents.input = 1
0009 
0010 process.triggerResultsProducer = cms.EDProducer("TestWriteTriggerResults",
0011     # Test values below are meaningless. We just make sure when we read
0012     # we get the same values.
0013     parameterSetID = cms.string('8b99d66b6c3865c75e460791f721202d'),
0014     # names should normally be empty. Only extremely old data or
0015     # has names filled and not empty. If it is not empty, the
0016     # ParameterSetID is ignored and left default constructed.
0017     names = cms.vstring(),
0018     hltStates = cms.vuint32(0, 1, 2, 3),
0019     moduleIndexes = cms.vuint32(11, 21, 31, 41)
0020 )
0021 
0022 process.out = cms.OutputModule("PoolOutputModule",
0023     fileName = cms.untracked.string('testTriggerResults.root')
0024 )
0025 
0026 process.path = cms.Path(process.triggerResultsProducer)
0027 process.endPath = cms.EndPath(process.out)