/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
Geometry/HGCalCommonData/test/python/dumpTBModuleDD4hep_cfg.py
25 строк
1 KB
Sunanda
Modify more scripts in Geometry/HGCalCommonData/test/python to retain minimum number of scripts useful for V16, V17 and TB setups
30 окт 2022, 14:49
30 окт 2022, 14:49
3f24c5b
Код
Авторство
О чём код?
import FWCore.ParameterSet.Config as cms process = cms.Process("DDHGCalTBModuleTest") process.load('FWCore.MessageService.MessageLogger_cfi') process.source = cms.Source("EmptySource") process.maxEvents = cms.untracked.PSet( input = cms.untracked.int32(1) ) process.MessageLogger.cerr.FwkReport.reportEvery = 5 if hasattr(process,'MessageLogger'): process.MessageLogger.HGCalGeom=dict() process.DDDetectorESProducer = cms.ESSource("DDDetectorESProducer", confGeomXMLFiles = cms.FileInPath('Geometry/HGCalCommonData/data/dd4hep/cms-test-ddhgcalTBModule-algorithm.xml'), appendToDataLabel = cms.string('DDHGCalTBModule') ) process.testDump = cms.EDAnalyzer("DDTestDumpFile", outputFileName = cms.untracked.string('hgcalTBModuleDD4hep.root'), DDDetector = cms.ESInputTag('','DDHGCalTBModule') ) process.p = cms.Path(process.testDump)