1 import FWCore.ParameterSet.Config
as cms
5 SiPixelRawDataErrorSource.saveFile =
False
6 SiPixelRawDataErrorSource.isPIB =
False
7 SiPixelRawDataErrorSource.slowDown =
False
8 SiPixelRawDataErrorSource.reducedSet =
False
12 SiPixelDigiSource.saveFile =
False
13 SiPixelDigiSource.isPIB =
False
14 SiPixelDigiSource.slowDown =
False
18 SiPixelClusterSource.saveFile =
False
22 SiPixelRecHitSource.saveFile =
False
27 SiPixelTrackResidualSource.saveFile =
False
29 SiPixelTrackResidualSource_Cosmics.saveFile =
False
31 SiPixelHitEfficiencySource.saveFile =
False
36 SiPixelRawDataErrorSource.modOn =
False
37 SiPixelRawDataErrorSource.ladOn =
True
38 SiPixelRawDataErrorSource.bladeOn =
True
40 SiPixelDigiSource.modOn =
False
41 SiPixelDigiSource.twoDimOn =
False
42 SiPixelDigiSource.reducedSet =
True
43 SiPixelDigiSource.hiRes =
False
44 SiPixelDigiSource.twoDimModOn =
False
45 SiPixelDigiSource.twoDimOnlyLayDisk =
False
46 SiPixelDigiSource.ladOn =
True
47 SiPixelDigiSource.layOn =
True
48 SiPixelDigiSource.phiOn =
False
49 SiPixelDigiSource.bladeOn =
True
50 SiPixelDigiSource.diskOn =
True
51 SiPixelDigiSource.ringOn =
False
52 SiPixelDigiSource.bigEventSize = 2600
54 SiPixelClusterSource.modOn =
False
55 SiPixelClusterSource.twoDimOn =
False
56 SiPixelClusterSource.reducedSet =
True
57 SiPixelClusterSource.ladOn =
True
58 SiPixelClusterSource.layOn =
True
59 SiPixelClusterSource.phiOn =
False
60 SiPixelClusterSource.bladeOn =
True
61 SiPixelClusterSource.diskOn =
True
62 SiPixelClusterSource.ringOn =
False
63 SiPixelClusterSource.bigEventSize = 180
65 SiPixelRecHitSource.modOn =
False
66 SiPixelRecHitSource.twoDimOn =
False
67 SiPixelRecHitSource.reducedSet =
True
68 SiPixelRecHitSource.ladOn =
True
69 SiPixelRecHitSource.layOn =
True
70 SiPixelRecHitSource.phiOn =
False
71 SiPixelRecHitSource.bladeOn =
True
72 SiPixelRecHitSource.diskOn =
True
73 SiPixelRecHitSource.ringOn =
False
76 SiPixelTrackResidualSource.modOn =
False
77 SiPixelTrackResidualSource.ladOn =
True
78 SiPixelTrackResidualSource.layOn =
True
79 SiPixelTrackResidualSource.phiOn =
False
80 SiPixelTrackResidualSource.bladeOn =
True
81 SiPixelTrackResidualSource.diskOn =
True
82 SiPixelTrackResidualSource.ringOn =
False
83 SiPixelTrackResidualSource_Cosmics.modOn =
False
84 SiPixelTrackResidualSource_Cosmics.ladOn =
True
85 SiPixelTrackResidualSource_Cosmics.layOn =
True
86 SiPixelTrackResidualSource_Cosmics.phiOn =
False
87 SiPixelTrackResidualSource_Cosmics.bladeOn =
True
88 SiPixelTrackResidualSource_Cosmics.diskOn =
True
89 SiPixelTrackResidualSource_Cosmics.ringOn =
False
90 SiPixelHitEfficiencySource.modOn =
False
91 SiPixelHitEfficiencySource.ladOn =
True
92 SiPixelHitEfficiencySource.layOn =
False
93 SiPixelHitEfficiencySource.phiOn =
False
94 SiPixelHitEfficiencySource.bladeOn =
True
95 SiPixelHitEfficiencySource.diskOn =
False
96 SiPixelHitEfficiencySource.ringOn =
False
99 hiTracks =
"hiGeneralTracks"
100 hiRefittedForPixelDQM= refittedForPixelDQM.clone(
104 SiPixelTrackResidualSource_HeavyIons = SiPixelTrackResidualSource.clone(
105 vtxsrc =
'hiSelectedVertex'
108 SiPixelHitEfficiencySource_HeavyIons = SiPixelHitEfficiencySource.clone(
109 vtxsrc =
'hiSelectedVertex'
114 from DQMServices.Core.DQMEDAnalyzer
import DQMEDAnalyzer
116 subSystemFolder = cms.untracked.string(
'Pixel')
120 from Configuration.ProcessModifiers.dqmPerLSsaving_cff
import dqmPerLSsaving
121 dqmPerLSsaving.toModify(SiPixelDigiSource, perLSsaving=
True)
126 siPixelOfflineDQM_source = cms.Sequence(SiPixelHLTSource + SiPixelRawDataErrorSource + SiPixelDigiSource + SiPixelRecHitSource + SiPixelClusterSource + refittedForPixelDQM + SiPixelTrackResidualSource + SiPixelHitEfficiencySource + SiPixelMonitorTrackResiduals + dqmInfo)
128 siPixelOfflineDQM_cosmics_source = cms.Sequence(SiPixelHLTSource + SiPixelRawDataErrorSource + SiPixelDigiSource + SiPixelRecHitSource + SiPixelClusterSource + SiPixelTrackResidualSource_Cosmics + dqmInfo)
130 siPixelOfflineDQM_heavyions_source = cms.Sequence(SiPixelHLTSource + SiPixelRawDataErrorSource + SiPixelDigiSource + SiPixelRecHitSource + SiPixelClusterSource + hiRefittedForPixelDQM + SiPixelTrackResidualSource_HeavyIons + SiPixelHitEfficiencySource_HeavyIons + dqmInfo)
132 siPixelOfflineDQM_source_woTrack = cms.Sequence(SiPixelHLTSource + SiPixelRawDataErrorSource + SiPixelDigiSource + SiPixelRecHitSource + SiPixelClusterSource + dqmInfo)
138 from Configuration.Eras.Modifier_phase1Pixel_cff
import phase1Pixel
139 phase1Pixel.toReplaceWith(siPixelOfflineDQM_source, siPixelPhase1OfflineDQM_source)
140 phase1Pixel.toReplaceWith(siPixelOfflineDQM_cosmics_source, siPixelPhase1OfflineDQM_source_cosmics)
141 phase1Pixel.toReplaceWith(siPixelOfflineDQM_heavyions_source, siPixelPhase1OfflineDQM_source_hi)