Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-08-04 22:45:31

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 #
0004 # to avoid higher level moodules to import uneeded objects, import module as _module
0005 #
0006 from SimTransport.PPSProtonTransport.CommonParameters_cfi import commonParameters as _commonParameters
0007 from SimTransport.PPSProtonTransport.HectorTransport_cfi import hector_2016 as _hector_2016
0008 from SimTransport.PPSProtonTransport.HectorTransport_cfi import hector_2016 as _hector_2017
0009 from SimTransport.PPSProtonTransport.HectorTransport_cfi import hector_2016 as _hector_2018
0010 from SimTransport.PPSProtonTransport.HectorTransport_cfi import hector_2021 as _hector_2021
0011 from SimTransport.PPSProtonTransport.OpticalFunctionsConfig_cfi import opticalfunctionsTransportSetup_2016 as _opticalfunctionsTransportSetup_2016
0012 from SimTransport.PPSProtonTransport.OpticalFunctionsConfig_cfi import opticalfunctionsTransportSetup_2017 as _opticalfunctionsTransportSetup_2017
0013 from SimTransport.PPSProtonTransport.OpticalFunctionsConfig_cfi import opticalfunctionsTransportSetup_2018 as _opticalfunctionsTransportSetup_2018
0014 from SimTransport.PPSProtonTransport.OpticalFunctionsConfig_cfi import opticalfunctionsTransportSetup_2021 as _opticalfunctionsTransportSetup_2021
0015 
0016 _LHCTransportPSet = cms.PSet()
0017 
0018 # To configure the optical function parameter, use _opticalfunctionsTransportSetup_XXXX.es_source
0019 
0020 from Configuration.Eras.Modifier_ctpps_2016_cff import ctpps_2016
0021 ctpps_2016.toReplaceWith(_LHCTransportPSet, _hector_2016)
0022 
0023 from Configuration.Eras.Modifier_ctpps_2017_cff import ctpps_2017
0024 ctpps_2017.toReplaceWith(_LHCTransportPSet, _hector_2017)
0025 
0026 from Configuration.Eras.Modifier_ctpps_2018_cff import ctpps_2018
0027 ctpps_2018.toReplaceWith(_LHCTransportPSet,_hector_2018)
0028 #ctpps_2018.toReplaceWith(_LHCTransportPSet,_opticalfunctionsTransportSetup_2018)
0029 
0030 from Configuration.Eras.Modifier_ctpps_2022_cff import ctpps_2022
0031 #ctpps_2021.toReplaceWith(_LHCTransportPSet, _hector_2021) # there is no LHCInfo tag for Run3 yet, force to use a nonDB propagation
0032 ctpps_2022.toReplaceWith(_LHCTransportPSet, _opticalfunctionsTransportSetup_2021) # there is no LHCInfo tag for Run3 yet, force to use a nonDB propagation
0033 
0034 LHCTransport = cms.EDProducer("PPSSimTrackProducer",_commonParameters,_LHCTransportPSet)