1 import FWCore.ParameterSet.Config
as cms
5 siStripFEDCheck.HistogramUpdateFrequency = 0
6 siStripFEDCheck.DoPayloadChecks =
True 7 siStripFEDCheck.CheckChannelLengths =
True 8 siStripFEDCheck.CheckChannelPacketCodes =
True 9 siStripFEDCheck.CheckFELengths =
True 10 siStripFEDCheck.CheckChannelStatus =
True 17 SiStripMonitorDigi.Mod_On =
False 18 SiStripMonitorDigi.TProfDigiApvCycle.subdetswitchon =
True 21 SiStripMonitorDigi.TkHistoMapNApvShots_On =
True 22 SiStripMonitorDigi.TkHistoMapNStripApvShots_On=
False 23 SiStripMonitorDigi.TkHistoMapMedianChargeApvShots_On=
False 24 SiStripMonitorDigi.TH1NApvShots.subdetswitchon =
True 25 SiStripMonitorDigi.TH1NApvShots.globalswitchon =
True 26 SiStripMonitorDigi.TH1ChargeMedianApvShots.subdetswitchon =
False 27 SiStripMonitorDigi.TH1ChargeMedianApvShots.globalswitchon =
True 28 SiStripMonitorDigi.TH1NStripsApvShots.subdetswitchon =
False 29 SiStripMonitorDigi.TH1NStripsApvShots.globalswitchon =
False 30 SiStripMonitorDigi.TH1ApvNumApvShots.subdetswitchon =
False 31 SiStripMonitorDigi.TH1ApvNumApvShots.globalswitchon =
False 32 SiStripMonitorDigi.TProfNShotsVsTime.subdetswitchon =
False 33 SiStripMonitorDigi.TProfNShotsVsTime.globalswitchon =
False 34 SiStripMonitorDigi.TProfGlobalNShots.globalswitchon =
True 40 SiStripMonitorClusterBPTX = SiStripMonitorCluster.clone(
42 TH1TotalNumberOfClusters = SiStripMonitorCluster.TH1TotalNumberOfClusters.clone(
45 TProfClustersApvCycle = SiStripMonitorCluster.TProfClustersApvCycle.clone(
48 TProfTotalNumberOfClusters = SiStripMonitorCluster.TProfTotalNumberOfClusters.clone(
52 TH2CStripVsCpixel = SiStripMonitorCluster.TH2CStripVsCpixel.clone(
55 TH1MultiplicityRegions = SiStripMonitorCluster.TH1MultiplicityRegions.clone(
58 TH1MainDiagonalPosition = SiStripMonitorCluster.TH1MainDiagonalPosition.clone(
61 TH1StripNoise2ApvCycle = SiStripMonitorCluster.TH1StripNoise2ApvCycle.clone(
64 TH1StripNoise3ApvCycle = SiStripMonitorCluster.TH1StripNoise3ApvCycle.clone(
68 BPTXfilter = genericTriggerEventFlag4L1bd
71 from Configuration.Eras.Modifier_stage2L1Trigger_cff
import stage2L1Trigger
72 stage2L1Trigger.toModify(SiStripMonitorClusterBPTX,
74 stage2 = cms.bool(
True),
75 l1tAlgBlkInputTag = cms.InputTag(
"gtStage2Digis"),
76 l1tExtBlkInputTag = cms.InputTag(
"gtStage2Digis"),
77 ReadPrescalesFromFile = cms.bool(
True)
79 PixelDCSfilter = dict(
80 stage2 = cms.bool(
True),
81 l1tAlgBlkInputTag = cms.InputTag(
"gtStage2Digis"),
82 l1tExtBlkInputTag = cms.InputTag(
"gtStage2Digis"),
83 ReadPrescalesFromFile = cms.bool(
True)),
84 StripDCSfilter = dict(
85 stage2 = cms.bool(
True),
86 l1tAlgBlkInputTag = cms.InputTag(
"gtStage2Digis"),
87 l1tExtBlkInputTag = cms.InputTag(
"gtStage2Digis"),
88 ReadPrescalesFromFile = cms.bool(
True)
97 SiStripMonitorTrackCommon = SiStripMonitorTrack.clone(
98 TrackProducer =
'generalTracks',
100 TH1ClusterCharge = SiStripMonitorTrack.TH1ClusterCharge.clone(
103 TH1ClusterStoNCorr = SiStripMonitorTrack.TH1ClusterStoNCorr.clone(
106 TH1ClusterPos = SiStripMonitorTrack.TH1ClusterPos.clone(
114 SiStripMonitorTrackMB = SiStripMonitorTrack.clone(
115 TrackProducer =
'generalTracks',
117 genericTriggerEventPSet = genericTriggerEventFlag4HLTdb,
118 TH1ClusterCharge = SiStripMonitorTrack.TH1ClusterCharge.clone(
121 TH1ClusterStoNCorr = SiStripMonitorTrack.TH1ClusterStoNCorr.clone(
128 SiStripMonitorTrackIB = SiStripMonitorTrack.clone(
129 TrackProducer =
'generalTracks',
131 genericTriggerEventPSet = genericTriggerEventFlag4HLTdbIB,
132 TH1ClusterCharge = SiStripMonitorTrack.TH1ClusterCharge.clone(
135 TH1ClusterStoNCorr = SiStripMonitorTrack.TH1ClusterStoNCorr.clone(
138 TkHistoMap_On =
False,
139 TH1ClusterNoise = SiStripMonitorTrack.TH1ClusterNoise.clone(
142 TH1ClusterWidth = SiStripMonitorTrack.TH1ClusterWidth.clone(
145 TH1ClusterChargePerCM = SiStripMonitorTrack.TH1ClusterChargePerCM.clone(
148 TopFolderName =
"SiStrip/IsolatedBunches" 153 MonitorTrackResiduals.trajectoryInput =
'refittedForPixelDQM' 154 MonitorTrackResiduals.Tracks =
'refittedForPixelDQM' 155 MonitorTrackResiduals.Mod_On =
False 156 MonitorTrackResiduals.genericTriggerEventPSet = genericTriggerEventFlag4HLTdb
159 from DQMServices.Core.DQMEDAnalyzer
import DQMEDAnalyzer
161 subSystemFolder = cms.untracked.string(
'SiStrip')
192 from Configuration.ProcessModifiers.approxSiStripClusters_cff
import approxSiStripClusters
194 SiStripDQMTier0 = cms.Sequence(
195 APVPhases*consecutiveHEs*siStripFEDCheck*siStripFEDMonitor*SiStripMonitorDigi*SiStripMonitorClusterBPTX
196 *SiStripMonitorTrackCommon*SiStripMonitorTrackIB*refittedForPixelDQM*MonitorTrackResiduals
199 from DQM.SiStripMonitorApproximateCluster.SiStripMonitorApproximateCluster_cfi
import SiStripMonitorApproximateCluster
200 SiStripDQMTier0_approx = SiStripDQMTier0.copy()
201 SiStripDQMTier0_approx += cms.Sequence(SiStripMonitorApproximateCluster)
202 approxSiStripClusters.toReplaceWith(SiStripDQMTier0, SiStripDQMTier0_approx)
204 SiStripDQMTier0Common = cms.Sequence(
205 APVPhases*consecutiveHEs*siStripFEDCheck*siStripFEDMonitor*SiStripMonitorDigi*SiStripMonitorClusterBPTX
206 *SiStripMonitorTrackCommon*SiStripMonitorTrackIB
209 SiStripDQMTier0Common_approx = SiStripDQMTier0Common.copy()
210 SiStripDQMTier0Common_approx += cms.Sequence(SiStripMonitorApproximateCluster)
211 approxSiStripClusters.toReplaceWith(SiStripDQMTier0Common, SiStripDQMTier0Common_approx)
213 SiStripDQMTier0MinBias = cms.Sequence(
214 APVPhases*consecutiveHEs*siStripFEDCheck*siStripFEDMonitor*SiStripMonitorDigi*SiStripMonitorClusterBPTX
215 *SiStripMonitorTrackMB*SiStripMonitorTrackIB*refittedForPixelDQM*MonitorTrackResiduals
218 SiStripDQMTier0MinBias_approx = SiStripDQMTier0MinBias.copy()
219 SiStripDQMTier0MinBias_approx += cms.Sequence(SiStripMonitorApproximateCluster)
220 approxSiStripClusters.toReplaceWith(SiStripDQMTier0MinBias, SiStripDQMTier0MinBias_approx)