1 import FWCore.ParameterSet.Config
as cms
9 ctppsInterpolatedOpticalFunctionsESSource.lhcInfoLabel =
""
14 ppsDBESSource = cms.ESSource(
"PoolDBESSource",
15 label = cms.string(
""),
16 validityRange = cms.EventRange(
"0:min - 999999:max"),
17 beamEnergy = cms.double(6500),
18 xangle = cms.double(-1),
19 timetype = cms.untracked.string(
'runnumber'),
20 DumpStat=cms.untracked.bool(
False),
23 record = cms.string(
'LHCInfoRcd'),
24 tag = cms.string(
"LHCInfoEndFill_prompt_v2"),
25 connect = cms.string(
"frontier://FrontierProd/CMS_CONDITIONS")
28 record = cms.string(
'CTPPSOpticsRcd'),
29 tag = cms.string(
"PPSOpticalFunctions_offline_v6"),
30 connect = cms.string(
"frontier://FrontierProd/CMS_CONDITIONS"),
34 es_prefer_ppsDBESSource = cms.ESPrefer(
"PoolDBESSource",
"ppsDBESSource")
36 _opticsConfig = cms.PSet(
37 defaultCrossingAngle=cms.double(0.0),
38 es_source = cms.PSet()
41 from Configuration.Eras.Modifier_ctpps_2016_cff
import ctpps_2016
42 ctpps_2016.toReplaceWith(_opticsConfig, opticalfunctionsTransportSetup_2016.opticalFunctionConfig)
44 from Configuration.Eras.Modifier_ctpps_2017_cff
import ctpps_2017
45 ctpps_2017.toReplaceWith(_opticsConfig, opticalfunctionsTransportSetup_2017.opticalFunctionConfig)
47 from Configuration.Eras.Modifier_ctpps_2018_cff
import ctpps_2018
48 ctpps_2018.toReplaceWith(_opticsConfig, opticalfunctionsTransportSetup_2018.opticalFunctionConfig)
50 from Configuration.Eras.Modifier_ctpps_2021_cff
import ctpps_2021
51 ctpps_2021.toReplaceWith(_opticsConfig, opticalfunctionsTransportSetup_2021.opticalFunctionConfig)
53 ctppsBeamParametersESSource.halfXangleX45 = _opticsConfig.defaultCrossingAngle
54 ctppsBeamParametersESSource.halfXangleX56 = _opticsConfig.defaultCrossingAngle
55 ctppsOpticalFunctionsESSource.configuration.append(_opticsConfig.es_source)
59 del opticalfunctionsTransportSetup_2016
60 del opticalfunctionsTransportSetup_2018
61 del opticalfunctionsTransportSetup_2017
62 del opticalfunctionsTransportSetup_2021