File indexing completed on 2024-04-06 12:08:41
0001 import FWCore.ParameterSet.Config as cms
0002
0003
0004 from DQM.SiStripMonitorHardware.siStripFEDCheck_cfi import *
0005 siStripFEDCheck.HistogramUpdateFrequency = 0
0006 siStripFEDCheck.DoPayloadChecks = True
0007 siStripFEDCheck.CheckChannelLengths = True
0008 siStripFEDCheck.CheckChannelPacketCodes = True
0009 siStripFEDCheck.CheckFELengths = True
0010 siStripFEDCheck.CheckChannelStatus = True
0011
0012
0013 from DQM.SiStripMonitorHardware.siStripFEDMonitor_Tier0_cff import *
0014
0015
0016 from DQM.SiStripMonitorDigi.SiStripMonitorDigi_cfi import *
0017 SiStripMonitorDigi.Mod_On = False
0018 SiStripMonitorDigi.TProfDigiApvCycle.subdetswitchon = True
0019
0020
0021 SiStripMonitorDigi.TkHistoMapNApvShots_On = True
0022 SiStripMonitorDigi.TkHistoMapNStripApvShots_On= False
0023 SiStripMonitorDigi.TkHistoMapMedianChargeApvShots_On= False
0024 SiStripMonitorDigi.TH1NApvShots.subdetswitchon = True
0025 SiStripMonitorDigi.TH1NApvShots.globalswitchon = True
0026 SiStripMonitorDigi.TH1ChargeMedianApvShots.subdetswitchon = False
0027 SiStripMonitorDigi.TH1ChargeMedianApvShots.globalswitchon = True
0028 SiStripMonitorDigi.TH1NStripsApvShots.subdetswitchon = False
0029 SiStripMonitorDigi.TH1NStripsApvShots.globalswitchon = False
0030 SiStripMonitorDigi.TH1ApvNumApvShots.subdetswitchon = False
0031 SiStripMonitorDigi.TH1ApvNumApvShots.globalswitchon = False
0032 SiStripMonitorDigi.TProfNShotsVsTime.subdetswitchon = False
0033 SiStripMonitorDigi.TProfNShotsVsTime.globalswitchon = False
0034 SiStripMonitorDigi.TProfGlobalNShots.globalswitchon = True
0035
0036 from DQM.SiStripMonitorClient.pset4GenericTriggerEventFlag_cfi import *
0037
0038
0039 from DQM.SiStripMonitorCluster.SiStripMonitorCluster_cfi import *
0040 SiStripMonitorClusterBPTX = SiStripMonitorCluster.clone(
0041 Mod_On = False,
0042 TH1TotalNumberOfClusters = SiStripMonitorCluster.TH1TotalNumberOfClusters.clone(
0043 subdetswitchon = True
0044 ),
0045 TProfClustersApvCycle = SiStripMonitorCluster.TProfClustersApvCycle.clone(
0046 subdetswitchon = True
0047 ),
0048 TProfTotalNumberOfClusters = SiStripMonitorCluster.TProfTotalNumberOfClusters.clone(
0049 subdetswitchon = True
0050 ),
0051 TrendVs10LS = False,
0052 TH2CStripVsCpixel = SiStripMonitorCluster.TH2CStripVsCpixel.clone(
0053 globalswitchon = True
0054 ),
0055 TH1MultiplicityRegions = SiStripMonitorCluster.TH1MultiplicityRegions.clone(
0056 globalswitchon = True
0057 ),
0058 TH1MainDiagonalPosition = SiStripMonitorCluster.TH1MainDiagonalPosition.clone(
0059 globalswitchon = True
0060 ),
0061 TH1StripNoise2ApvCycle = SiStripMonitorCluster.TH1StripNoise2ApvCycle.clone(
0062 globalswitchon = True
0063 ),
0064 TH1StripNoise3ApvCycle = SiStripMonitorCluster.TH1StripNoise3ApvCycle.clone(
0065 globalswitchon = True
0066 ),
0067 ClusterHisto = True,
0068 BPTXfilter = genericTriggerEventFlag4L1bd
0069 )
0070
0071 from Configuration.Eras.Modifier_stage2L1Trigger_cff import stage2L1Trigger
0072 stage2L1Trigger.toModify(SiStripMonitorClusterBPTX,
0073 BPTXfilter = dict(
0074 stage2 = cms.bool(True),
0075 l1tAlgBlkInputTag = cms.InputTag("gtStage2Digis"),
0076 l1tExtBlkInputTag = cms.InputTag("gtStage2Digis"),
0077 ReadPrescalesFromFile = cms.bool(True)
0078 ),
0079 PixelDCSfilter = dict(
0080 stage2 = cms.bool(True),
0081 l1tAlgBlkInputTag = cms.InputTag("gtStage2Digis"),
0082 l1tExtBlkInputTag = cms.InputTag("gtStage2Digis"),
0083 ReadPrescalesFromFile = cms.bool(True)),
0084 StripDCSfilter = dict(
0085 stage2 = cms.bool(True),
0086 l1tAlgBlkInputTag = cms.InputTag("gtStage2Digis"),
0087 l1tExtBlkInputTag = cms.InputTag("gtStage2Digis"),
0088 ReadPrescalesFromFile = cms.bool(True)
0089 )
0090 )
0091
0092
0093 from DQM.SiPixelMonitorTrack.RefitterForPixelDQM import *
0094
0095
0096 from DQM.SiStripMonitorTrack.SiStripMonitorTrack_cfi import *
0097 SiStripMonitorTrackCommon = SiStripMonitorTrack.clone(
0098 TrackProducer = 'generalTracks',
0099 Mod_On = False,
0100 TH1ClusterCharge = SiStripMonitorTrack.TH1ClusterCharge.clone(
0101 ringView = True
0102 ),
0103 TH1ClusterStoNCorr = SiStripMonitorTrack.TH1ClusterStoNCorr.clone(
0104 ringView = True
0105 ),
0106 TH1ClusterPos = SiStripMonitorTrack.TH1ClusterPos.clone(
0107 layerView = False,
0108 ringView = True
0109 )
0110 )
0111
0112
0113 from DQM.SiStripMonitorTrack.SiStripMonitorTrack_cfi import *
0114 SiStripMonitorTrackMB = SiStripMonitorTrack.clone(
0115 TrackProducer = 'generalTracks',
0116 Mod_On = False,
0117 genericTriggerEventPSet = genericTriggerEventFlag4HLTdb,
0118 TH1ClusterCharge = SiStripMonitorTrack.TH1ClusterCharge.clone(
0119 ringView = True
0120 ),
0121 TH1ClusterStoNCorr = SiStripMonitorTrack.TH1ClusterStoNCorr.clone(
0122 ringView = True
0123 )
0124 )
0125
0126
0127 from DQM.SiStripMonitorTrack.SiStripMonitorTrack_cfi import *
0128 SiStripMonitorTrackIB = SiStripMonitorTrack.clone(
0129 TrackProducer = 'generalTracks',
0130 Mod_On = False,
0131 genericTriggerEventPSet = genericTriggerEventFlag4HLTdbIB,
0132 TH1ClusterCharge = SiStripMonitorTrack.TH1ClusterCharge.clone(
0133 ringView = True
0134 ),
0135 TH1ClusterStoNCorr = SiStripMonitorTrack.TH1ClusterStoNCorr.clone(
0136 ringView = True
0137 ),
0138 TkHistoMap_On = False,
0139 TH1ClusterNoise = SiStripMonitorTrack.TH1ClusterNoise.clone(
0140 layerView = False
0141 ),
0142 TH1ClusterWidth = SiStripMonitorTrack.TH1ClusterWidth.clone(
0143 layerView = False
0144 ),
0145 TH1ClusterChargePerCM = SiStripMonitorTrack.TH1ClusterChargePerCM.clone(
0146 ringView = False
0147 ),
0148 TopFolderName = "SiStrip/IsolatedBunches"
0149 )
0150
0151
0152 from DQM.TrackerMonitorTrack.MonitorTrackResiduals_cfi import *
0153 MonitorTrackResiduals.trajectoryInput = 'refittedForPixelDQM'
0154 MonitorTrackResiduals.Tracks = 'refittedForPixelDQM'
0155 MonitorTrackResiduals.Mod_On = False
0156 MonitorTrackResiduals.genericTriggerEventPSet = genericTriggerEventFlag4HLTdb
0157
0158
0159 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
0160 dqmInfoSiStrip = DQMEDAnalyzer('DQMEventInfo',
0161 subSystemFolder = cms.untracked.string('SiStrip')
0162 )
0163
0164
0165 from CalibTracker.SiStripCommon.TkDetMapESProducer_cfi import *
0166
0167
0168 from DPGAnalysis.SiStripTools.eventwithhistoryproducerfroml1abc_cfi import *
0169
0170
0171 from DPGAnalysis.SiStripTools.apvcyclephaseproducerfroml1tsDB_cfi import *
0172
0173
0174 from RecoLuminosity.LumiProducer.lumiProducer_cff import *
0175
0176
0177
0178
0179
0180
0181
0182
0183
0184
0185
0186
0187
0188
0189
0190
0191
0192 from Configuration.ProcessModifiers.approxSiStripClusters_cff import approxSiStripClusters
0193
0194 SiStripDQMTier0 = cms.Sequence(
0195 APVPhases*consecutiveHEs*siStripFEDCheck*siStripFEDMonitor*SiStripMonitorDigi*SiStripMonitorClusterBPTX
0196 *SiStripMonitorTrackCommon*SiStripMonitorTrackIB*refittedForPixelDQM*MonitorTrackResiduals
0197 *dqmInfoSiStrip)
0198
0199 from DQM.SiStripMonitorApproximateCluster.SiStripMonitorApproximateCluster_cfi import SiStripMonitorApproximateCluster
0200 SiStripDQMTier0_approx = SiStripDQMTier0.copy()
0201 SiStripDQMTier0_approx += cms.Sequence(SiStripMonitorApproximateCluster)
0202 approxSiStripClusters.toReplaceWith(SiStripDQMTier0, SiStripDQMTier0_approx)
0203
0204 SiStripDQMTier0Common = cms.Sequence(
0205 APVPhases*consecutiveHEs*siStripFEDCheck*siStripFEDMonitor*SiStripMonitorDigi*SiStripMonitorClusterBPTX
0206 *SiStripMonitorTrackCommon*SiStripMonitorTrackIB
0207 *dqmInfoSiStrip)
0208
0209 SiStripDQMTier0Common_approx = SiStripDQMTier0Common.copy()
0210 SiStripDQMTier0Common_approx += cms.Sequence(SiStripMonitorApproximateCluster)
0211 approxSiStripClusters.toReplaceWith(SiStripDQMTier0Common, SiStripDQMTier0Common_approx)
0212
0213 SiStripDQMTier0MinBias = cms.Sequence(
0214 APVPhases*consecutiveHEs*siStripFEDCheck*siStripFEDMonitor*SiStripMonitorDigi*SiStripMonitorClusterBPTX
0215 *SiStripMonitorTrackMB*SiStripMonitorTrackIB*refittedForPixelDQM*MonitorTrackResiduals
0216 *dqmInfoSiStrip)
0217
0218 SiStripDQMTier0MinBias_approx = SiStripDQMTier0MinBias.copy()
0219 SiStripDQMTier0MinBias_approx += cms.Sequence(SiStripMonitorApproximateCluster)
0220 approxSiStripClusters.toReplaceWith(SiStripDQMTier0MinBias, SiStripDQMTier0MinBias_approx)