/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
Geometry/HcalAlgo/test/python/run_cfg.py
38 строк
1 KB
Christopher Jones
Updated configurations in Geometry* to new MessageLogger syntax
20 ноя 2020, 01:10
20 ноя 2020, 01:10
80f2e02
Код
Авторство
О чём код?
import FWCore.ParameterSet.Config as cms process = cms.Process("GeometryTest") process.load("Geometry.HcalAlgo.testGeometry_cfi") process.MessageLogger = cms.Service("MessageLogger", cerr = cms.untracked.PSet( enable = cms.untracked.bool(False) ), debugModules = cms.untracked.vstring('*'), files = cms.untracked.PSet( debug = cms.untracked.PSet( DEBUG = cms.untracked.PSet( limit = cms.untracked.int32(0) ), HCalGeom = cms.untracked.PSet( limit = cms.untracked.int32(-1) ), INFO = cms.untracked.PSet( limit = cms.untracked.int32(0) ), threshold = cms.untracked.string('DEBUG') ) ) ) process.m = cms.EDAnalyzer("PerfectGeometryAnalyzer", dumpGeoHistory = cms.untracked.bool(False), dumpPosInfo = cms.untracked.bool(False), dumpSpecs = cms.untracked.bool(False) ) process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(1) ) process.source = cms.Source("EmptySource") process.p1 = cms.Path(process.m)