CMS 3D CMS Logo

SiStripMonitorDigi_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 # SiStripMonitorDigi
4 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
5 SiStripMonitorDigi = DQMEDAnalyzer('SiStripMonitorDigi',
6 
7  TopFolderName = cms.string('SiStrip'),
8  # add digi producers same way as Domenico in SiStripClusterizer
9 
10  DigiProducersList = cms.VInputTag(
11  cms.InputTag('siStripDigis','ZeroSuppressed'),
12  cms.InputTag('siStripZeroSuppression','VirginRaw'),
13  cms.InputTag('siStripZeroSuppression','ProcessedRaw'),
14  cms.InputTag('siStripZeroSuppression','ScopeMode')
15  ),
16 
17  TH1NApvShots = cms.PSet(
18  Nbins = cms.int32(201),
19  xmin = cms.double(-0.5),
20  xmax = cms.double(200.5),
21  subdetswitchon = cms.bool(False),
22  globalswitchon = cms.bool(False)
23  ),
24 
25  TH1ChargeMedianApvShots = cms.PSet(
26  Nbins = cms.int32(256),
27  xmin = cms.double(0.5),
28  xmax = cms.double(256.5),
29  subdetswitchon = cms.bool(False),
30  globalswitchon = cms.bool(True)
31  ),
32 
33  TH1NStripsApvShots = cms.PSet(
34  Nbins = cms.int32(64),
35  xmin = cms.double(64.5),
36  xmax = cms.double(128.5),
37  subdetswitchon = cms.bool(False),
38  globalswitchon = cms.bool(False)
39  ),
40 
41  TProfNShotsVsTime = cms.PSet(
42  Nbins = cms.int32(600),
43  xmin = cms.double(0.0),
44  xmax = cms.double(1.0*60*60),
45  ymin = cms.double(0.0),
46  ymax = cms.double(0.0),
47  subdetswitchon = cms.bool(False),
48  globalswitchon = cms.bool(False)
49  ),
50 
51  TH1ApvNumApvShots = cms.PSet(
52  Nbins = cms.int32(6),
53  xmin = cms.double(0.5),
54  xmax = cms.double(6.5),
55  subdetswitchon = cms.bool(False),
56  globalswitchon = cms.bool(False)
57  ),
58 
59  TProfGlobalNShots = cms.PSet(
60  globalswitchon = cms.bool(False)
61  ),
62 
63  TH1ADCsCoolestStrip = cms.PSet(
64  Nbinx = cms.int32(60),
65  xmin = cms.double(-0.5),
66  xmax = cms.double(299.5),
67  layerswitchon = cms.bool(False),
68  moduleswitchon = cms.bool(True)
69  ),
70 
71  TH1ADCsHottestStrip = cms.PSet(
72  Nbinx = cms.int32(60),
73  xmin = cms.double(-0.5),
74  xmax = cms.double(299.5),
75  layerswitchon = cms.bool(False),
76  moduleswitchon = cms.bool(True)
77  ),
78 
79  TH1DigiADCs = cms.PSet(
80  Nbinx = cms.int32(64),
81  xmin = cms.double(-0.5),
82  xmax = cms.double(255.5),
83  layerswitchon = cms.bool(True),
84  moduleswitchon = cms.bool(True)
85  ),
86  TH1NumberOfDigis = cms.PSet(
87  Nbinx = cms.int32(50),
88  xmin = cms.double(-0.5),
89  xmax = cms.double(999.5),
90  layerswitchon = cms.bool(True),
91  moduleswitchon = cms.bool(True)
92  ),
93 
94  TH1NumberOfDigisPerStrip = cms.PSet(
95  Nbinx = cms.int32(768),
96  xmin = cms.double(-0.5),
97  xmax = cms.double(767.5),
98  moduleswitchon = cms.bool(False)
99  ),
100 
101  TH1StripOccupancy = cms.PSet(
102  Nbinx = cms.int32(51),
103  xmin = cms.double(-0.01),
104  xmax = cms.double(1.01),
105  layerswitchon = cms.bool(True),
106  moduleswitchon = cms.bool(True)
107  ),
108 
109  TProfNumberOfDigi = cms.PSet(
110  Nbinx = cms.int32(100),
111  xmin = cms.double(-0.5),
112  xmax = cms.double(499.5),
113  layerswitchon = cms.bool(False),
114  moduleswitchon = cms.bool(False)
115  ),
116 
117  TProfDigiADC = cms.PSet(
118  Nbinx = cms.int32(100),
119  xmin = cms.double(0.0),
120  xmax = cms.double(499.5),
121  layerswitchon = cms.bool(False),
122  moduleswitchon = cms.bool(False)
123  ),
124 
125  TProfTotalNumberOfDigis = cms.PSet(
126  Nbins = cms.int32(360),
127  xmin = cms.double(0.0),
128  xmax = cms.double(1.0*60*60),
129  ymin = cms.double(0.0),
130  ymax = cms.double(0.0),
131  subdetswitchon = cms.bool(False)
132  ),
133 
134  TProfNDigisFED = cms.PSet(
135  Nbinsx = cms.int32(440),
136  xmax = cms.double(489.5),
137  xmin = cms.double(49.5),
138  Nbinsy = cms.int32(200),
139  ymin = cms.double(-0.5),
140  ymax = cms.double(199999.5),
141  globalswitchon = cms.bool(True)
142  ),
143 
144  TkHistoMap_On = cms.bool(True),
145  TkHistoMapNApvShots_On = cms.bool(False),
146  TkHistoMapNStripApvShots_On = cms.bool(False),
147  TkHistoMapMedianChargeApvShots_On = cms.bool(False),
148 
149  CreateTrendMEs = cms.bool(False),
150 
151  Trending = cms.PSet(
152  Nbins = cms.int32(600),
153  xmin = cms.double(0.0),
154  xmax = cms.double(1.0*60*60),
155  ymin = cms.double(0.0),
156  ymax = cms.double(10000.0)
157  ),
158 
159 
160  TProfDigiApvCycle = cms.PSet(
161  Nbins = cms.int32(70),
162  xmin = cms.double(-0.5),
163  xmax = cms.double(69.5),
164  Nbinsy = cms.int32(200),
165  ymin = cms.double(0.0),
166  ymax = cms.double(0.0),
167  subdetswitchon = cms.bool(False)
168  ),
169 
170  TH2DigiApvCycle = cms.PSet(
171  Nbins = cms.int32(70),
172  xmin = cms.double(-0.5),
173  xmax = cms.double(69.5),
174  Nbinsy = cms.int32(200),
175  ymin = cms.double(0.0),
176  yfactor = cms.double(0.2),
177  subdetswitchon = cms.bool(False)
178  ),
179 
180  TProfTotalNumberOfDigisVsLS = cms.PSet(
181  subdetswitchon = cms.bool(False)
182  ),
183 
184  TotalNumberOfDigisFailure = cms.PSet(
185  Nbins = cms.int32(2500),
186  ignoreFirstNLumisections = cms.int32(20),
187  integrateNLumisections = cms.int32(3),
188  subdetswitchon = cms.bool(False)
189  ),
190 
191 # xLumiProf = cms.int32(5),
192 
193  Mod_On = cms.bool(True),
194 
195  HistoryProducer = cms.InputTag("consecutiveHEs"),
196  ApvPhaseProducer = cms.InputTag("APVPhases"),
197 
198  UseDCSFiltering = cms.bool(True),
199 
200  # rest of parameters
201  SelectAllDetectors = cms.bool(False),
202  ShowMechanicalStructureView = cms.bool(True),
203  ShowReadoutView = cms.bool(False),
204  ShowControlView = cms.bool(False),
205  CalculateStripOccupancy = cms.bool(False),
206  ResetMEsEachRun = cms.bool(False),
207  TrendVs10LS = cms.bool(False),
208 )
209 
210 
211 from Configuration.Eras.Modifier_run3_common_cff import run3_common
212 run3_common.toModify(SiStripMonitorDigi, TH1NumberOfDigis = dict(xmax = 39999.5, Nbinx = 500))