Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:28:45

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 import FWCore.Framework.test.cmsExceptionsFatal_cff
0010 process.options = FWCore.Framework.test.cmsExceptionsFatal_cff.options
0011 
0012 process.MessageLogger = cms.Service("MessageLogger",
0013     suppressInfo = cms.untracked.vstring('ssm_2a'),
0014     debugModules = cms.untracked.vstring('ssm_1b'),
0015     cerr = cms.untracked.PSet(
0016         enable = cms.untracked.bool(True)
0017     ),
0018     files = cms.untracked.PSet(
0019         u33d_all = cms.untracked.PSet(
0020             threshold = cms.untracked.string('DEBUG'),
0021             noTimeStamps = cms.untracked.bool(True),
0022             default = cms.untracked.PSet(
0023                         limit = cms.untracked.int32(-1)
0024             ),
0025             enableStatistics = cms.untracked.bool(True)
0026         )
0027     )
0028 )
0029 
0030 process.maxEvents = cms.untracked.PSet(
0031     input = cms.untracked.int32(2)
0032 )
0033 
0034 process.source = cms.Source("EmptySource")
0035 
0036 process.ssm_1a = cms.EDAnalyzer("UTC_Vd1",
0037     identifier = cms.untracked.int32(11)
0038 )
0039 
0040 process.ssm_1b = cms.EDAnalyzer("UTC_Vd1",
0041     identifier = cms.untracked.int32(12)
0042 )
0043 
0044 process.ssm_2a = cms.EDAnalyzer("UTC_Vd2",
0045     identifier = cms.untracked.int32(21)
0046 )
0047 
0048 process.ssm_2b = cms.EDAnalyzer("UTC_Vd2",
0049     identifier = cms.untracked.int32(22)
0050 )
0051 
0052 process.q = cms.Path(process.ssm_1a*process.ssm_2a*process.ssm_1b*process.ssm_2b)