Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 # Free test configuration file for MessageLogger service:
0002 # Behavior implied by S. Naumann but unexpected on our part.
0003 
0004 import FWCore.ParameterSet.Config as cms
0005 
0006 process = cms.Process("TEST")
0007 
0008 import FWCore.Framework.test.cmsExceptionsFatal_cff
0009 process.options = FWCore.Framework.test.cmsExceptionsFatal_cff.options
0010 
0011 process.load("FWCore.MessageService.test.Services_cff")
0012 
0013 process.load("FWCore.MessageLogger.MessageLogger_cfi")
0014 process.MessageLogger.cerr.threshold = 'INFO'
0015 process.MessageLogger.expect_specific=dict()
0016 process.MessageLogger.cerr.TtSemiLeptonicEvent = cms.untracked.PSet( 
0017   limit = cms.untracked.int32(-1) 
0018 )
0019 #process.MessageLogger.cerr.INFO = cms.untracked.PSet(
0020 #    default             = cms.untracked.PSet( limit = cms.untracked.int32( 0)
0021 #),
0022 #)
0023 
0024 process.MessageLogger.cerr.INFO = cms.untracked.PSet(
0025    limit = cms.untracked.int32( 0),
0026    TtSemiLeptonicEvent = cms.untracked.PSet( 
0027   limit = cms.untracked.int32(-1)
0028   ) 
0029 )
0030 
0031 process.maxEvents = cms.untracked.PSet(
0032     input = cms.untracked.int32(2)
0033 )
0034 
0035 process.source = cms.Source("EmptySource")
0036 
0037 process.sendSomeMessages = cms.EDAnalyzer( "UnitTestClient_E")
0038 
0039 process.p = cms.Path(process.sendSomeMessages)