/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
Geometry/EcalAlgo/python/EcalPreshowerGeometryDBWriter_cfi.py
19 строк
913 B
Sunanda
Add dd4hep option for EcalDBWriters
21 июл 2021, 00:19
21 июл 2021, 00:19
fd9b143
Код
Авторство
О чём код?
import FWCore.ParameterSet.Config as cms EcalPreshowerGeometryEP = cms.ESProducer("EcalPreshowerGeometryEP", applyAlignment = cms.bool(False), appendToDataLabel = cms.string("_master") ) _EcalPreshowerGeometryEP_dd4hep = cms.ESProducer("EcalPreshowerGeometryEPdd4hep", applyAlignment = cms.bool(False), appendToDataLabel = cms.string("_master") ) from Configuration.ProcessModifiers.dd4hep_cff import dd4hep dd4hep.toReplaceWith(EcalPreshowerGeometryEP, _EcalPreshowerGeometryEP_dd4hep) EcalPreshowerGeometryToDBEP = cms.ESProducer("EcalPreshowerGeometryToDBEP", applyAlignment = cms.bool(False), appendToDataLabel = cms.string("_toDB") )