Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:12:42

0001 
0002 # This tests that the process history information that should have
0003 # been added by previous process is available. No output is written.
0004 
0005 import FWCore.ParameterSet.Config as cms
0006 
0007 process = cms.Process("TEST3")
0008 
0009 process.load("FWCore.MessageService.MessageLogger_cfi")
0010 process.MessageLogger.cerr.FwkReport.reportEvery = 1000
0011 
0012 import FWCore.Framework.test.cmsExceptionsFatalOption_cff
0013 process.options = cms.untracked.PSet(
0014     Rethrow = FWCore.Framework.test.cmsExceptionsFatalOption_cff.Rethrow
0015     )
0016 
0017 process.source = cms.Source("PoolSource",
0018                             fileNames = cms.untracked.vstring('file:testSeriesOfProcessesTEST.root'),
0019                             )
0020 
0021 process.hk = cms.EDAnalyzer("TestHistoryKeeping",
0022                             expected_processes = cms.vstring('HLT','PROD','TEST'),
0023                             number_of_expected_HLT_processes_for_each_run = cms.int32(1)
0024                             )
0025 
0026 process.hist = cms.Path(process.hk)