CMS 3D CMS Logo

ctppsDQM_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
4 
7 
9 
11 
13 
15 
17 
18 # sequences used by the online DQM in normal running
19 ctppsCommonDQMSourceOnline = ctppsCommonDQMSource.clone(
20  makeProtonRecoPlots = False
21 )
22 
23 _ctppsDQMOnlineSource = cms.Sequence(
24  ctppsPixelDQMSource
25  + ctppsDiamondDQMSource
26  + totemTimingDQMSource
27  + ctppsCommonDQMSourceOnline
28 )
29 
30 _ctppsDQMOnlineHarvest = cms.Sequence(
31 )
32 
33 # sequences used by the online DQM in calibration mode
34 _ctppsDQMCalibrationSource = cms.Sequence(
35  totemRPDQMSource
36  + ctppsPixelDQMSource
37  + ctppsDiamondDQMSource
38  + totemTimingDQMSource
39  + ctppsCommonDQMSourceOnline
40  + elasticPlotDQMSource
41 )
42 
43 _ctppsDQMCalibrationHarvest = cms.Sequence(
44  totemRPDQMHarvester
45 )
46 
47 # sequences used by the offline DQM
48 ctppsCommonDQMSourceOffline = ctppsCommonDQMSource.clone(
49  makeProtonRecoPlots = True
50 )
51 
52 #Check if perLSsaving is enabled to mask MEs vs LS
53 from Configuration.ProcessModifiers.dqmPerLSsaving_cff import dqmPerLSsaving
54 dqmPerLSsaving.toModify(ctppsDiamondDQMSource, perLSsaving=True)
55 dqmPerLSsaving.toModify(totemTimingDQMSource, perLSsaving=True)
56 dqmPerLSsaving.toModify(ctppsCommonDQMSourceOffline, perLSsaving=True)
57 
58 _ctppsDQMOfflineSource = cms.Sequence(
59  ctppsPixelDQMOfflineSource
60  + ctppsDiamondDQMSource
61  + totemTimingDQMSource
62  + ctppsCommonDQMSourceOffline
63 )
64 
65 _ctppsDQMOfflineHarvest = cms.Sequence(
66 )
67 
68 # the actually used sequences must be empty for pre-PPS data
69 from Configuration.Eras.Modifier_ctpps_cff import ctpps
70 
71 ctppsDQMOnlineSource = cms.Sequence()
72 ctppsDQMOnlineHarvest = cms.Sequence()
73 ctpps.toReplaceWith(ctppsDQMOnlineSource, _ctppsDQMOnlineSource)
74 ctpps.toReplaceWith(ctppsDQMOnlineHarvest, _ctppsDQMOnlineHarvest)
75 
76 ctppsDQMCalibrationSource = cms.Sequence()
77 ctppsDQMCalibrationHarvest = cms.Sequence()
78 ctpps.toReplaceWith(ctppsDQMCalibrationSource, _ctppsDQMCalibrationSource)
79 ctpps.toReplaceWith(ctppsDQMCalibrationHarvest, _ctppsDQMCalibrationHarvest)
80 
81 ctppsDQMOfflineSource = cms.Sequence()
82 ctppsDQMOfflineHarvest = cms.Sequence()
83 ctpps.toReplaceWith(ctppsDQMOfflineSource, _ctppsDQMOfflineSource)
84 ctpps.toReplaceWith(ctppsDQMOfflineHarvest, _ctppsDQMOfflineHarvest)
totemRPDQMHarvester_cfi
ctppsDiamondDQMSource_cfi
totemRPDQMSource_cfi
totemTimingDQMSource_cfi
ctppsCommonDQMSource_cfi
totemDAQTriggerDQMSource_cfi
elasticPlotDQMSource_cfi
ctppsPixelDQMSource_cfi