CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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  Mod_On = False,
42  TH1TotalNumberOfClusters = SiStripMonitorCluster.TH1TotalNumberOfClusters.clone(
43  subdetswitchon = True
44  ),
45  TProfClustersApvCycle = SiStripMonitorCluster.TProfClustersApvCycle.clone(
46  subdetswitchon = True
47  ),
48  TProfTotalNumberOfClusters = SiStripMonitorCluster.TProfTotalNumberOfClusters.clone(
49  subdetswitchon = True
50  ),
51  TrendVs10LS = False,
52  TH2CStripVsCpixel = SiStripMonitorCluster.TH2CStripVsCpixel.clone(
53  globalswitchon = True
54  ),
55  TH1MultiplicityRegions = SiStripMonitorCluster.TH1MultiplicityRegions.clone(
56  globalswitchon = True
57  ),
58  TH1MainDiagonalPosition = SiStripMonitorCluster.TH1MainDiagonalPosition.clone(
59  globalswitchon = True
60  ),
61  TH1StripNoise2ApvCycle = SiStripMonitorCluster.TH1StripNoise2ApvCycle.clone(
62  globalswitchon = True
63  ),
64  TH1StripNoise3ApvCycle = SiStripMonitorCluster.TH1StripNoise3ApvCycle.clone(
65  globalswitchon = True
66  ),
67  ClusterHisto = True,
68  BPTXfilter = genericTriggerEventFlag4L1bd
69 )
70 
71 from Configuration.Eras.Modifier_stage2L1Trigger_cff import stage2L1Trigger
72 stage2L1Trigger.toModify(SiStripMonitorClusterBPTX,
73  BPTXfilter = dict(
74  stage2 = cms.bool(True),
75  l1tAlgBlkInputTag = cms.InputTag("gtStage2Digis"),
76  l1tExtBlkInputTag = cms.InputTag("gtStage2Digis"),
77  ReadPrescalesFromFile = cms.bool(True)
78  )
79 )
80 
81 # refitter ### (FIXME rename, move)
83 
84 # Clone for SiStripMonitorTrack for all PDs but Minimum Bias and Jet ####
86 SiStripMonitorTrackCommon = SiStripMonitorTrack.clone(
87  TrackProducer = 'generalTracks',
88  Mod_On = False,
89  TH1ClusterCharge = SiStripMonitorTrack.TH1ClusterCharge.clone(
90  ringView = True
91  ),
92  TH1ClusterStoNCorr = SiStripMonitorTrack.TH1ClusterStoNCorr.clone(
93  ringView = True
94  ),
95  TH1ClusterPos = SiStripMonitorTrack.TH1ClusterPos.clone(
96  layerView = False,
97  ringView = True
98  )
99 )
100 
101 # Clone for SiStripMonitorTrack for Minimum Bias ####
103 SiStripMonitorTrackMB = SiStripMonitorTrack.clone(
104  TrackProducer = 'generalTracks',
105  Mod_On = False,
106  genericTriggerEventPSet = genericTriggerEventFlag4HLTdb,
107  TH1ClusterCharge = SiStripMonitorTrack.TH1ClusterCharge.clone(
108  ringView = True
109  ),
110  TH1ClusterStoNCorr = SiStripMonitorTrack.TH1ClusterStoNCorr.clone(
111  ringView = True
112  )
113 )
114 
115 # Clone for SiStripMonitorTrack for Isolated Bunches ####
117 SiStripMonitorTrackIB = SiStripMonitorTrack.clone(
118  TrackProducer = 'generalTracks',
119  Mod_On = False,
120  genericTriggerEventPSet = genericTriggerEventFlag4HLTdbIB,
121  TH1ClusterCharge = SiStripMonitorTrack.TH1ClusterCharge.clone(
122  ringView = True
123  ),
124  TH1ClusterStoNCorr = SiStripMonitorTrack.TH1ClusterStoNCorr.clone(
125  ringView = True
126  ),
127  TkHistoMap_On = False,
128  TH1ClusterNoise = SiStripMonitorTrack.TH1ClusterNoise.clone(
129  layerView = False
130  ),
131  TH1ClusterWidth = SiStripMonitorTrack.TH1ClusterWidth.clone(
132  layerView = False
133  ),
134  TH1ClusterChargePerCM = SiStripMonitorTrack.TH1ClusterChargePerCM.clone(
135  ringView = False
136  ),
137  TopFolderName = "SiStrip/IsolatedBunches"
138 )
139 
140 ### TrackerMonitorTrack defined and used only for MinimumBias ####
142 MonitorTrackResiduals.trajectoryInput = 'refittedForPixelDQM'
143 MonitorTrackResiduals.Tracks = 'refittedForPixelDQM'
144 MonitorTrackResiduals.Mod_On = False
145 MonitorTrackResiduals.genericTriggerEventPSet = genericTriggerEventFlag4HLTdb
146 
147 # DQM Services
148 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
149 dqmInfoSiStrip = DQMEDAnalyzer('DQMEventInfo',
150  subSystemFolder = cms.untracked.string('SiStrip')
151 )
152 
153 # Services needed for TkHistoMap
155 
156 # Event History Producer
158 
159 # APV Phase Producer
161 
162 # temporary patch in order to have BXlumi
164 
165 # Sequence
166 #removed modules using TkDetMap service
167 #SiStripDQMTier0 = cms.Sequence(
168 # APVPhases*consecutiveHEs*siStripFEDCheck
169 # *MonitorTrackResiduals
170 # *dqmInfoSiStrip)
171 
172 #SiStripDQMTier0Common = cms.Sequence(
173 # APVPhases*consecutiveHEs*siStripFEDCheck
174 # *dqmInfoSiStrip)
175 
176 #SiStripDQMTier0MinBias = cms.Sequence(
177 # APVPhases*consecutiveHEs*siStripFEDCheck
178 # *SiStripMonitorTrackMB*MonitorTrackResiduals
179 # *dqmInfoSiStrip)
180 
181 SiStripDQMTier0 = cms.Sequence(
182  APVPhases*consecutiveHEs*siStripFEDCheck*siStripFEDMonitor*SiStripMonitorDigi*SiStripMonitorClusterBPTX
183  *SiStripMonitorTrackCommon*SiStripMonitorTrackIB*refittedForPixelDQM*MonitorTrackResiduals
184  *dqmInfoSiStrip)
185 from Configuration.Eras.Modifier_phase1Pixel_cff import phase1Pixel
186 
187 SiStripDQMTier0Common = cms.Sequence(
188  APVPhases*consecutiveHEs*siStripFEDCheck*siStripFEDMonitor*SiStripMonitorDigi*SiStripMonitorClusterBPTX
189  *SiStripMonitorTrackCommon*SiStripMonitorTrackIB
190  *dqmInfoSiStrip)
191 
192 SiStripDQMTier0MinBias = cms.Sequence(
193  APVPhases*consecutiveHEs*siStripFEDCheck*siStripFEDMonitor*SiStripMonitorDigi*SiStripMonitorClusterBPTX
194  *SiStripMonitorTrackMB*SiStripMonitorTrackIB*refittedForPixelDQM*MonitorTrackResiduals
195  *dqmInfoSiStrip)