File indexing completed on 2024-08-27 22:59:10
0001 import FWCore.ParameterSet.Config as cms
0002
0003 def LogErrorFilter(**kwargs):
0004 mod = cms.EDFilter('LogErrorFilter',
0005 harvesterTag = cms.required.InputTag,
0006 atLeastOneError = cms.required.bool,
0007 atLeastOneWarning = cms.required.bool,
0008 useThresholdsPerKind = cms.required.bool,
0009 maxErrorKindsPerLumi = cms.uint32(999999),
0010 maxWarningKindsPerLumi = cms.uint32(999999),
0011 avoidCategories = cms.required.vstring,
0012 mightGet = cms.optional.untracked.vstring
0013 )
0014 for k,v in kwargs.items():
0015 setattr(mod, k, v)
0016 return mod