Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-09-22 02:39:36

0001 #import FWCore.ParameterSet.Config as cms
0002 from .Types import *
0003 from .Modules import Service
0004 
0005 _category = optional.untracked.PSetTemplate(
0006     reportEvery = untracked.int32(1),
0007     limit = optional.untracked.int32,
0008     timespan = optional.untracked.int32
0009 )
0010 
0011 _destination_base = untracked.PSet(
0012     noLineBreaks = optional.untracked.bool,
0013     noTimeStamps = optional.untracked.bool,
0014     lineLength = optional.untracked.int32,
0015     threshold = optional.untracked.string,
0016     statisticsThreshold = optional.untracked.string,
0017     allowAnyLabel_ = _category
0018 )
0019 _destination_no_stat = _destination_base.clone(
0020     enableStatistics = untracked.bool(False),
0021     resetStatistics = untracked.bool(False)
0022 )
0023 
0024 _file_destination = optional.untracked.PSetTemplate(
0025     noLineBreaks = optional.untracked.bool,
0026     noTimeStamps = optional.untracked.bool,
0027     lineLength = optional.untracked.int32,
0028     threshold = optional.untracked.string,
0029     statisticsThreshold = optional.untracked.string,
0030     enableStatistics = untracked.bool(False),
0031     resetStatistics = untracked.bool(False),
0032     filename = optional.untracked.string,
0033     extension = optional.untracked.string,
0034     output = optional.untracked.string,
0035     allowAnyLabel_ = _category
0036 )
0037 
0038 _default_pset = untracked.PSet(
0039     reportEvery = untracked.int32(1),
0040     limit = optional.untracked.int32,
0041     timespan = optional.untracked.int32,
0042 
0043     noLineBreaks = untracked.bool(False),
0044     noTimeStamps = untracked.bool(False),
0045     lineLength = untracked.int32(80),
0046     threshold = untracked.string("INFO"),
0047     statisticsThreshold = untracked.string("INFO"),
0048     allowAnyLabel_ = _category
0049 )
0050 
0051 
0052 MessageLogger = Service("MessageLogger",
0053     suppressWarning = untracked.vstring(),
0054     suppressFwkInfo = untracked.vstring(),
0055     suppressInfo = untracked.vstring(),
0056     suppressDebug = untracked.vstring(),
0057     debugModules = untracked.vstring(),
0058     cout = _destination_no_stat.clone(
0059         enable = untracked.bool(False)
0060         ),
0061     default = _default_pset.clone(),
0062     cerr = _destination_base.clone(
0063         enable = untracked.bool(True),
0064         enableStatistics = untracked.bool(True),
0065         resetStatistics = untracked.bool(False),
0066         statisticsThreshold = untracked.string('WARNING'),
0067         INFO = untracked.PSet(
0068             limit = untracked.int32(0)
0069         ),
0070         noTimeStamps = untracked.bool(False),
0071         FwkReport = untracked.PSet(
0072             reportEvery = untracked.int32(1),
0073             limit = untracked.int32(10000000)
0074         ),
0075         default = untracked.PSet(
0076             limit = untracked.int32(10000000)
0077         ),
0078         Root_NoDictionary = untracked.PSet(
0079             limit = untracked.int32(0)
0080         ),
0081         FwkSummary = untracked.PSet(
0082             reportEvery = untracked.int32(1),
0083             limit = untracked.int32(10000000)
0084         ),
0085         threshold = untracked.string('INFO')
0086     ),
0087     files = untracked.PSet(
0088         allowAnyLabel_ = _file_destination
0089     ),
0090     allowAnyLabel_ = _category
0091 )
0092 
0093