Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-07-15 22:42:42

0001 # Unit test configuration file for non-per-event module logging
0002 #   Tests that each type of activity gets right module label
0003 #   Tests for suppression and enabling accordingly
0004 
0005 import FWCore.ParameterSet.Config as cms
0006 
0007 process = cms.Process("TEST")
0008 
0009 process.TestService = cms.Service("TestService",
0010   printTestMessageLoggerErrors = cms.untracked.bool(True)
0011 )
0012 
0013 import FWCore.Framework.test.cmsExceptionsFatal_cff
0014 process.options = FWCore.Framework.test.cmsExceptionsFatal_cff.options
0015 
0016 process.MessageLogger = cms.Service("MessageLogger",
0017     suppressInfo = cms.untracked.vstring('ssm_2a'), 
0018     debugModules = cms.untracked.vstring('ssm_1b'),
0019     cerr = cms.untracked.PSet(
0020         enable = cms.untracked.bool(False)
0021     ),
0022     files = cms.untracked.PSet(
0023         u33_all = cms.untracked.PSet(
0024             threshold = cms.untracked.string('DEBUG'),
0025             noTimeStamps = cms.untracked.bool(True),
0026             default = cms.untracked.PSet(
0027                         limit = cms.untracked.int32(-1)
0028             ),
0029             enableStatistics = cms.untracked.bool(True)
0030         )
0031     )
0032 )
0033 
0034 process.maxEvents = cms.untracked.PSet(
0035     input = cms.untracked.int32(2)
0036 )
0037 
0038 process.source = cms.Source("EmptySource")
0039 
0040 process.ssm_1a = cms.EDAnalyzer("UTC_V1",
0041     identifier = cms.untracked.int32(11)
0042 )
0043 
0044 process.ssm_1b = cms.EDAnalyzer("UTC_V1",
0045     identifier = cms.untracked.int32(12)
0046 )
0047 
0048 process.ssm_2a = cms.EDAnalyzer("UTC_V2",
0049     identifier = cms.untracked.int32(21)
0050 )
0051 
0052 process.ssm_2b = cms.EDAnalyzer("UTC_V2",
0053     identifier = cms.untracked.int32(22)
0054 )
0055 
0056 process.q = cms.Path(process.ssm_1a*process.ssm_2a*process.ssm_1b*process.ssm_2b)