CMS 3D CMS Logo

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