1 import FWCore.ParameterSet.Config
as cms
21 ctppsCommonDQMSourceOnline = ctppsCommonDQMSource.clone(
22 makeProtonRecoPlots =
False
25 _ctppsDQMOnlineSource = cms.Sequence(
27 + ctppsDiamondDQMSource
28 + diamondSampicDQMSourceOnline
29 + ctppsCommonDQMSourceOnline
32 _ctppsDQMOnlineHarvest = cms.Sequence(
36 _ctppsDQMCalibrationSource = cms.Sequence(
39 + ctppsDiamondDQMSource
40 + diamondSampicDQMSourceOnline
41 + ctppsCommonDQMSourceOnline
42 + elasticPlotDQMSource
45 _ctppsDQMCalibrationHarvest = cms.Sequence(
50 ctppsCommonDQMSourceOffline = ctppsCommonDQMSource.clone(
51 makeProtonRecoPlots =
True
55 from Configuration.ProcessModifiers.dqmPerLSsaving_cff
import dqmPerLSsaving
56 dqmPerLSsaving.toModify(ctppsDiamondDQMSource, perLSsaving=
True)
57 dqmPerLSsaving.toModify(diamondSampicDQMSourceOffline, perLSsaving=
True)
58 dqmPerLSsaving.toModify(ctppsCommonDQMSourceOffline, perLSsaving=
True)
59 dqmPerLSsaving.toModify(ctppsDiamondDQMOfflineSource, perLSsaving=
True)
60 dqmPerLSsaving.toModify(totemTimingDQMSource, perLSsaving=
True)
62 _ctppsDQMOfflineSource = cms.Sequence(
63 ctppsPixelDQMOfflineSource
64 + ctppsDiamondDQMOfflineSource
65 + diamondSampicDQMSourceOffline
66 + ctppsCommonDQMSourceOffline
69 _ctppsDQMOfflineHarvest = cms.Sequence(
72 from Configuration.Eras.Modifier_ctpps_2018_cff
import ctpps_2018
73 ctpps_2018.toReplaceWith(
74 _ctppsDQMOfflineSource,
76 ctppsPixelDQMOfflineSource
77 + ctppsDiamondDQMOfflineSource
78 + totemTimingDQMSource
79 + ctppsCommonDQMSourceOffline
86 from Configuration.Eras.Modifier_ctpps_cff
import ctpps
88 ctppsDQMOnlineSource = cms.Sequence()
89 ctppsDQMOnlineHarvest = cms.Sequence()
90 ctpps.toReplaceWith(ctppsDQMOnlineSource, _ctppsDQMOnlineSource)
91 ctpps.toReplaceWith(ctppsDQMOnlineHarvest, _ctppsDQMOnlineHarvest)
93 ctppsDQMCalibrationSource = cms.Sequence()
94 ctppsDQMCalibrationHarvest = cms.Sequence()
95 ctpps.toReplaceWith(ctppsDQMCalibrationSource, _ctppsDQMCalibrationSource)
96 ctpps.toReplaceWith(ctppsDQMCalibrationHarvest, _ctppsDQMCalibrationHarvest)
98 ctppsDQMOfflineSource = cms.Sequence()
99 ctppsDQMOfflineHarvest = cms.Sequence()
100 ctpps.toReplaceWith(ctppsDQMOfflineSource, _ctppsDQMOfflineSource)
101 ctpps.toReplaceWith(ctppsDQMOfflineHarvest, _ctppsDQMOfflineHarvest)