CMS 3D CMS Logo

SiStripSpyMonitor_cfi.py
Go to the documentation of this file.
1 import FWCore.ParameterSet.Config as cms
2 
3 
4 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
5 SiStripSpyMonitor = DQMEDAnalyzer(
6  "SiStripSpyMonitorModule",
7  #Raw data collection
8  SpyScopeRawDigisTag = cms.untracked.InputTag('SiStripSpyUnpacker','ScopeRawDigis'),
9  SpyPedSubtrDigisTag = cms.untracked.InputTag('SiStripFEDEmulator','PedSubtrModuleDigis'),
10  SpyL1Tag = cms.untracked.InputTag('SiStripSpyUnpacker','L1ACount'),
11  SpyTotalEventCountTag = cms.untracked.InputTag('SiStripSpyUnpacker','TotalEventCount'),
12  SpyAPVeTag = cms.untracked.InputTag('SiStripSpyDigiConverter','APVAddress'),
13  MinDigiRange = cms.untracked.uint32(400),
14  MaxDigiRange = cms.untracked.uint32(950),
15  MinZeroLight = cms.untracked.uint32(15),
16  MaxZeroLight = cms.untracked.uint32(180),
17  MinTickHeight = cms.untracked.uint32(555),
18  MaxTickHeight = cms.untracked.uint32(1010),
19  #Folder in DQM Store to write global histograms to
20  HistogramFolderName = cms.untracked.string('SiStrip/ReadoutView/SpyMonitoringSummary'),
21  #Fill all detailed histograms at FED level even if they will be empty (so that files can be merged)
22  FillAllDetailedHistograms = cms.untracked.bool(False),
23  FillWithEventNumber = cms.untracked.bool(True),
24  FillWithLocalEventNumber = cms.untracked.bool(False),
25  #Whether to write the DQM store to a file at the end of the run and the file name
26  WriteDQMStore = cms.untracked.bool(True),
27  DQMStoreFileName = cms.untracked.string('DQMStore.root'),
28  #OutputErrors = cms.untracked.vstring('NoData','MinZero','MaxSat','LowRange','HighRange','LowPb','HighPb','OOS','OtherPbs','APVError','APVAddressError','NegPeds'),
29  OutputErrors = cms.untracked.vstring(),
30  WriteCabling = cms.untracked.bool(False),
31  #Histogram configuration
32  nNoDataHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True),
33  NBins = cms.untracked.uint32(100),
34  Min = cms.untracked.double(0),
35  Max = cms.untracked.double(1000) ),
36  nLowRangeHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True),
37  NBins = cms.untracked.uint32(100),
38  Min = cms.untracked.double(0),
39  Max = cms.untracked.double(100) ),
40  nHighRangeHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True),
41  NBins = cms.untracked.uint32(100),
42  Min = cms.untracked.double(0),
43  Max = cms.untracked.double(100) ),
44  nMinZeroHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True),
45  NBins = cms.untracked.uint32(100),
46  Min = cms.untracked.double(0),
47  Max = cms.untracked.double(100) ),
48  nMaxSatHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True),
49  NBins = cms.untracked.uint32(100),
50  Min = cms.untracked.double(0),
51  Max = cms.untracked.double(100) ),
52  nLowPbHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True),
53  NBins = cms.untracked.uint32(100),
54  Min = cms.untracked.double(0),
55  Max = cms.untracked.double(100) ),
56  nHighPbHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True),
57  NBins = cms.untracked.uint32(100),
58  Min = cms.untracked.double(0),
59  Max = cms.untracked.double(100) ),
60  nOutOfSyncHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True),
61  NBins = cms.untracked.uint32(100),
62  Min = cms.untracked.double(0),
63  Max = cms.untracked.double(1000) ),
64  nOtherPbsHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True),
65  NBins = cms.untracked.uint32(100),
66  Min = cms.untracked.double(0),
67  Max = cms.untracked.double(1000) ),
68  nApvErrorBitHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True),
69  NBins = cms.untracked.uint32(100),
70  Min = cms.untracked.double(0),
71  Max = cms.untracked.double(100) ),
72  nApvAddressErrorHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True),
73  NBins = cms.untracked.uint32(100),
74  Min = cms.untracked.double(0),
75  Max = cms.untracked.double(100) ),
76  nNegativePedsHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True),
77  NBins = cms.untracked.uint32(100),
78  Min = cms.untracked.double(0),
79  Max = cms.untracked.double(100) ),
80  #vs time
81  nNoDatavsTimeHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True),
82  NBins = cms.untracked.uint32(600),
83  Min = cms.untracked.double(0),
84  Max = cms.untracked.double(600) ),
85  nLowRangevsTimeHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True),
86  NBins = cms.untracked.uint32(600),
87  Min = cms.untracked.double(0),
88  Max = cms.untracked.double(600) ),
89  nHighRangevsTimeHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True),
90  NBins = cms.untracked.uint32(600),
91  Min = cms.untracked.double(0),
92  Max = cms.untracked.double(600) ),
93  nMinZerovsTimeHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True),
94  NBins = cms.untracked.uint32(600),
95  Min = cms.untracked.double(0),
96  Max = cms.untracked.double(600) ),
97  nMaxSatvsTimeHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True),
98  NBins = cms.untracked.uint32(600),
99  Min = cms.untracked.double(0),
100  Max = cms.untracked.double(600) ),
101  nLowPbvsTimeHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True),
102  NBins = cms.untracked.uint32(600),
103  Min = cms.untracked.double(0),
104  Max = cms.untracked.double(600) ),
105  nHighPbvsTimeHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True),
106  NBins = cms.untracked.uint32(600),
107  Min = cms.untracked.double(0),
108  Max = cms.untracked.double(600) ),
109  nOutOfSyncvsTimeHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True),
110  NBins = cms.untracked.uint32(600),
111  Min = cms.untracked.double(0),
112  Max = cms.untracked.double(600) ),
113  nOtherPbsvsTimeHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True),
114  NBins = cms.untracked.uint32(600),
115  Min = cms.untracked.double(0),
116  Max = cms.untracked.double(600) ),
117  nApvErrorBitvsTimeHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True),
118  NBins = cms.untracked.uint32(600),
119  Min = cms.untracked.double(0),
120  Max = cms.untracked.double(600) ),
121  nApvAddressErrorvsTimeHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True),
122  NBins = cms.untracked.uint32(600),
123  Min = cms.untracked.double(0),
124  Max = cms.untracked.double(600) ),
125  nNegativePedsvsTimeHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True),
126  NBins = cms.untracked.uint32(600),
127  Min = cms.untracked.double(0),
128  Max = cms.untracked.double(600) ),
129  #vs fedid
130  NoDataHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
131  LowRangeHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
132  HighRangeHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
133  MinZeroHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
134  MaxSatHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
135  LowPbHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
136  HighPbHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
137  OutOfSyncHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
138  OtherPbsHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
139  ApvErrorBitHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
140  ApvAddressErrorHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
141  NegativePedsHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
142  #for all channels
143  FrameRangeHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
144  FrameMinHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
145  FrameMaxHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
146  BaselineHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
147  #vs channel id
148  NoDataDetailedHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(False) ),
149  LowRangeDetailedHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
150  HighRangeDetailedHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
151  MinZeroDetailedHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
152  MaxSatDetailedHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
153  LowPbDetailedHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
154  HighPbDetailedHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
155  OutOfSyncDetailedHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
156  OtherPbsDetailedHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
157  ApvErrorBitDetailedHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
158  ApvAddressErrorDetailedHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
159  NegativePedsDetailedHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
160  #for all channels / per FED
161  PositionOfFirstHeaderBitDetailedHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
162  PositionOfFirstTrailerBitDetailedHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
163  DistanceHeaderTrailerDetailedHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
164 )