/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
SimPPS/DirectSimProducer/python/simPPS2022_cfi.py
20 строк
1 KB
Laurent Forthomme
Removing ctppsGeometryESModule from run3 recipes (loaded by default by the recoCTPPS sequence container)
29 июл 2022, 14:12
29 июл 2022, 14:12
fa041b2
Код
Авторство
О чём код?
import FWCore.ParameterSet.Config as cms from CalibPPS.ESProducers.ctppsCompositeESSource_cfi import ctppsCompositeESSource as _esComp from CalibPPS.ESProducers.ppsAssociationCuts_non_DB_cff import use_single_infinite_iov_entry, p2022 from CalibPPS.ESProducers.ppsAssociationCuts_non_DB_cff import ppsAssociationCutsESSource as _esAssCuts from Geometry.VeryForwardGeometry.commons_cff import cloneGeometry from SimPPS.DirectSimProducer.profiles_2022_cff import profile_2022_default from SimPPS.DirectSimProducer.simPPS2017_cfi import rpIds ppsAssociationCutsESSource = _esAssCuts.clone() use_single_infinite_iov_entry(ppsAssociationCutsESSource, p2022) XMLIdealGeometryESSource_CTPPS, _ctppsGeometryESModule = cloneGeometry('Geometry.VeryForwardGeometry.geometryRPFromDD_2022_cfi') # not cloning the ctppsGeometryESModule, as it is replaced by the composite ES source ctppsCompositeESSource = _esComp.clone( generateEveryNEvents = 100, periods = [profile_2022_default], # geometry (using 2017 here is OK) compactViewTag = _ctppsGeometryESModule.compactViewTag, isRun2 = _ctppsGeometryESModule.isRun2 )