CMS 3D CMS Logo

SiStripSourceConfigTier0_cff.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 # FED integrity Check
5 siStripFEDCheck.HistogramUpdateFrequency = 0
6 siStripFEDCheck.DoPayloadChecks = True
7 siStripFEDCheck.CheckChannelLengths = True
8 siStripFEDCheck.CheckChannelPacketCodes = True
9 siStripFEDCheck.CheckFELengths = True
10 siStripFEDCheck.CheckChannelStatus = True
11 
12 # FED Monitoring
14 
15 # SiStripMonitorDigi ####
17 SiStripMonitorDigi.Mod_On = False
18 SiStripMonitorDigi.TProfDigiApvCycle.subdetswitchon = True
19 
20 # APV shots monitoring
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
35 
37 
38 # SiStripMonitorCluster ####
40 SiStripMonitorClusterBPTX = SiStripMonitorCluster.clone()
41 SiStripMonitorClusterBPTX.Mod_On = False
42 SiStripMonitorClusterBPTX.TH1TotalNumberOfClusters.subdetswitchon = True
43 SiStripMonitorClusterBPTX.TProfClustersApvCycle.subdetswitchon = True
44 SiStripMonitorClusterBPTX.TProfTotalNumberOfClusters.subdetswitchon = True
45 SiStripMonitorClusterBPTX.TrendVs10LS = False
46 SiStripMonitorClusterBPTX.TH2CStripVsCpixel.globalswitchon = True
47 SiStripMonitorClusterBPTX.TH1MultiplicityRegions.globalswitchon = True
48 SiStripMonitorClusterBPTX.TH1MainDiagonalPosition.globalswitchon = True
49 SiStripMonitorClusterBPTX.TH1StripNoise2ApvCycle.globalswitchon = True
50 SiStripMonitorClusterBPTX.TH1StripNoise3ApvCycle.globalswitchon = True
51 SiStripMonitorClusterBPTX.ClusterHisto = True
52 SiStripMonitorClusterBPTX.BPTXfilter = genericTriggerEventFlag4L1bd
53 SiStripMonitorClusterBPTX.PixelDCSfilter = cms.PSet(
54  andOr = cms.bool( False ),
55  dcsInputTag = cms.InputTag( "scalersRawToDigi" ),
56  dcsPartitions = cms.vint32 ( 28, 29),
57  andOrDcs = cms.bool( False ),
58  errorReplyDcs = cms.bool( True ),
59 )
60 SiStripMonitorClusterBPTX.StripDCSfilter = cms.PSet(
61  andOr = cms.bool( False ),
62  dcsInputTag = cms.InputTag( "scalersRawToDigi" ),
63  dcsPartitions = cms.vint32 ( 24, 25, 26, 27 ),
64  andOrDcs = cms.bool( False ),
65  errorReplyDcs = cms.bool( True ),
66 )
67 
68 from Configuration.Eras.Modifier_stage2L1Trigger_cff import stage2L1Trigger
69 stage2L1Trigger.toModify(SiStripMonitorClusterBPTX,
70  BPTXfilter = dict(
71  stage2 = cms.bool(True),
72  l1tAlgBlkInputTag = cms.InputTag("gtStage2Digis"),
73  l1tExtBlkInputTag = cms.InputTag("gtStage2Digis"),
74  ReadPrescalesFromFile = cms.bool(True)
75  )
76 )
77 
78 # refitter ### (FIXME rename, move)
80 
81 # Clone for SiStripMonitorTrack for all PDs but Minimum Bias and Jet ####
83 SiStripMonitorTrackCommon = DQM.SiStripMonitorTrack.SiStripMonitorTrack_cfi.SiStripMonitorTrack.clone()
84 SiStripMonitorTrackCommon.TrackProducer = 'generalTracks'
85 SiStripMonitorTrackCommon.Mod_On = False
86 SiStripMonitorTrackCommon.TH1ClusterCharge.ringView = cms.bool( True )
87 SiStripMonitorTrackCommon.TH1ClusterStoNCorr.ringView = cms.bool( True )
88 SiStripMonitorTrackCommon.TH1ClusterPos.layerView = cms.bool( False )
89 SiStripMonitorTrackCommon.TH1ClusterPos.ringView = cms.bool( True )
90 
91 # Clone for SiStripMonitorTrack for Minimum Bias ####
93 SiStripMonitorTrackMB = DQM.SiStripMonitorTrack.SiStripMonitorTrack_cfi.SiStripMonitorTrack.clone()
94 SiStripMonitorTrackMB.TrackProducer = 'generalTracks'
95 SiStripMonitorTrackMB.Mod_On = False
96 SiStripMonitorTrackMB.genericTriggerEventPSet = genericTriggerEventFlag4HLTdb
97 SiStripMonitorTrackMB.TH1ClusterCharge.ringView = cms.bool( True )
98 SiStripMonitorTrackMB.TH1ClusterStoNCorr.ringView = cms.bool( True )
99 
100 # Clone for SiStripMonitorTrack for Isolated Bunches ####
102 SiStripMonitorTrackIB = DQM.SiStripMonitorTrack.SiStripMonitorTrack_cfi.SiStripMonitorTrack.clone()
103 SiStripMonitorTrackIB.TrackProducer = 'generalTracks'
104 SiStripMonitorTrackIB.Mod_On = False
105 SiStripMonitorTrackIB.genericTriggerEventPSet = genericTriggerEventFlag4HLTdbIB
106 SiStripMonitorTrackIB.TH1ClusterCharge.ringView = cms.bool( True )
107 SiStripMonitorTrackIB.TH1ClusterStoNCorr.ringView = cms.bool( True )
108 SiStripMonitorTrackIB.TkHistoMap_On = cms.bool(False)
109 SiStripMonitorTrackIB.TH1ClusterNoise.layerView = cms.bool(False)
110 SiStripMonitorTrackIB.TH1ClusterWidth.layerView = cms.bool(False)
111 SiStripMonitorTrackIB.TH1ClusterChargePerCM.ringView = cms.bool(False)
112 SiStripMonitorTrackIB.TopFolderName = cms.string("SiStrip/IsolatedBunches")
113 
114 ### TrackerMonitorTrack defined and used only for MinimumBias ####
116 MonitorTrackResiduals.trajectoryInput = 'refittedForPixelDQM'
117 MonitorTrackResiduals.Tracks = 'refittedForPixelDQM'
118 MonitorTrackResiduals.Mod_On = False
119 MonitorTrackResiduals.genericTriggerEventPSet = genericTriggerEventFlag4HLTdb
120 
121 # DQM Services
122 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
123 dqmInfoSiStrip = DQMEDAnalyzer('DQMEventInfo',
124  subSystemFolder = cms.untracked.string('SiStrip')
125 )
126 
127 # Services needed for TkHistoMap
129 
130 # Event History Producer
132 
133 # APV Phase Producer
135 
136 # temporary patch in order to have BXlumi
138 
139 # Sequence
140 #removed modules using TkDetMap service
141 #SiStripDQMTier0 = cms.Sequence(
142 # APVPhases*consecutiveHEs*siStripFEDCheck
143 # *MonitorTrackResiduals
144 # *dqmInfoSiStrip)
145 
146 #SiStripDQMTier0Common = cms.Sequence(
147 # APVPhases*consecutiveHEs*siStripFEDCheck
148 # *dqmInfoSiStrip)
149 
150 #SiStripDQMTier0MinBias = cms.Sequence(
151 # APVPhases*consecutiveHEs*siStripFEDCheck
152 # *SiStripMonitorTrackMB*MonitorTrackResiduals
153 # *dqmInfoSiStrip)
154 
155 SiStripDQMTier0 = cms.Sequence(
156  APVPhases*consecutiveHEs*siStripFEDCheck*siStripFEDMonitor*SiStripMonitorDigi*SiStripMonitorClusterBPTX
157  *SiStripMonitorTrackCommon*SiStripMonitorTrackIB*refittedForPixelDQM*MonitorTrackResiduals
158  *dqmInfoSiStrip)
159 from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel
160 
161 SiStripDQMTier0Common = cms.Sequence(
162  APVPhases*consecutiveHEs*siStripFEDCheck*siStripFEDMonitor*SiStripMonitorDigi*SiStripMonitorClusterBPTX
163  *SiStripMonitorTrackCommon*SiStripMonitorTrackIB
164  *dqmInfoSiStrip)
165 
166 SiStripDQMTier0MinBias = cms.Sequence(
167  APVPhases*consecutiveHEs*siStripFEDCheck*siStripFEDMonitor*SiStripMonitorDigi*SiStripMonitorClusterBPTX
168  *SiStripMonitorTrackMB*SiStripMonitorTrackIB*refittedForPixelDQM*MonitorTrackResiduals
169  *dqmInfoSiStrip)
170 
171 
172 
TrackerMonitorTrack defined and used only for MinimumBias ####.