/
githubmirror
/
cmssw
Обзор
Документация
Войти
/
githubmirror
/
cmssw
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
SimTransport/PPSProtonTransport/python/PPSTransport_cff.py
34 строки
2 KB
Laurent Forthomme
More 2021->2022 PPS era modifications
29 июл 2022, 18:12
29 июл 2022, 18:12
8897905
Код
Авторство
О чём код?
import FWCore.ParameterSet.Config as cms # # to avoid higher level moodules to import uneeded objects, import module as _module # from SimTransport.PPSProtonTransport.CommonParameters_cfi import commonParameters as _commonParameters from SimTransport.PPSProtonTransport.HectorTransport_cfi import hector_2016 as _hector_2016 from SimTransport.PPSProtonTransport.HectorTransport_cfi import hector_2016 as _hector_2017 from SimTransport.PPSProtonTransport.HectorTransport_cfi import hector_2016 as _hector_2018 from SimTransport.PPSProtonTransport.HectorTransport_cfi import hector_2021 as _hector_2021 from SimTransport.PPSProtonTransport.OpticalFunctionsConfig_cfi import opticalfunctionsTransportSetup_2016 as _opticalfunctionsTransportSetup_2016 from SimTransport.PPSProtonTransport.OpticalFunctionsConfig_cfi import opticalfunctionsTransportSetup_2017 as _opticalfunctionsTransportSetup_2017 from SimTransport.PPSProtonTransport.OpticalFunctionsConfig_cfi import opticalfunctionsTransportSetup_2018 as _opticalfunctionsTransportSetup_2018 from SimTransport.PPSProtonTransport.OpticalFunctionsConfig_cfi import opticalfunctionsTransportSetup_2021 as _opticalfunctionsTransportSetup_2021 _LHCTransportPSet = cms.PSet() # To configure the optical function parameter, use _opticalfunctionsTransportSetup_XXXX.es_source from Configuration.Eras.Modifier_ctpps_2016_cff import ctpps_2016 ctpps_2016.toReplaceWith(_LHCTransportPSet, _hector_2016) from Configuration.Eras.Modifier_ctpps_2017_cff import ctpps_2017 ctpps_2017.toReplaceWith(_LHCTransportPSet, _hector_2017) from Configuration.Eras.Modifier_ctpps_2018_cff import ctpps_2018 ctpps_2018.toReplaceWith(_LHCTransportPSet,_hector_2018) #ctpps_2018.toReplaceWith(_LHCTransportPSet,_opticalfunctionsTransportSetup_2018) from Configuration.Eras.Modifier_ctpps_2022_cff import ctpps_2022 #ctpps_2021.toReplaceWith(_LHCTransportPSet, _hector_2021) # there is no LHCInfo tag for Run3 yet, force to use a nonDB propagation ctpps_2022.toReplaceWith(_LHCTransportPSet, _opticalfunctionsTransportSetup_2021) # there is no LHCInfo tag for Run3 yet, force to use a nonDB propagation LHCTransport = cms.EDProducer("PPSSimTrackProducer",_commonParameters,_LHCTransportPSet)