Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:11:56

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 
0004 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
0005 SiStripSpyMonitor = DQMEDAnalyzer(
0006     "SiStripSpyMonitorModule",
0007     #Raw data collection
0008     SpyScopeRawDigisTag = cms.untracked.InputTag('SiStripSpyUnpacker','ScopeRawDigis'),
0009     SpyPedSubtrDigisTag = cms.untracked.InputTag('SiStripFEDEmulator','PedSubtrModuleDigis'),
0010     SpyL1Tag = cms.untracked.InputTag('SiStripSpyUnpacker','L1ACount'),
0011     SpyTotalEventCountTag = cms.untracked.InputTag('SiStripSpyUnpacker','TotalEventCount'),
0012     SpyAPVeTag = cms.untracked.InputTag('SiStripSpyDigiConverter','APVAddress'),
0013     MinDigiRange = cms.untracked.uint32(400),
0014     MaxDigiRange = cms.untracked.uint32(950),
0015     MinZeroLight = cms.untracked.uint32(15),
0016     MaxZeroLight = cms.untracked.uint32(180),
0017     MinTickHeight = cms.untracked.uint32(555),
0018     MaxTickHeight = cms.untracked.uint32(1010),
0019     #Folder in DQM Store to write global histograms to
0020     HistogramFolderName = cms.untracked.string('SiStrip/ReadoutView/SpyMonitoringSummary'),
0021     #Fill all detailed histograms at FED level even if they will be empty (so that files can be merged)
0022     FillAllDetailedHistograms = cms.untracked.bool(False),
0023     FillWithEventNumber = cms.untracked.bool(True),
0024     FillWithLocalEventNumber = cms.untracked.bool(False),
0025     #Whether to write the DQM store to a file at the end of the run and the file name
0026     WriteDQMStore = cms.untracked.bool(True),
0027     DQMStoreFileName = cms.untracked.string('DQMStore.root'),
0028     #OutputErrors = cms.untracked.vstring('NoData','MinZero','MaxSat','LowRange','HighRange','LowPb','HighPb','OOS','OtherPbs','APVError','APVAddressError','NegPeds'),
0029     OutputErrors = cms.untracked.vstring(),
0030     WriteCabling = cms.untracked.bool(False),
0031     #Histogram configuration
0032     nNoDataHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True),
0033                                                  NBins = cms.untracked.uint32(100),
0034                                                  Min = cms.untracked.double(0),
0035                                                  Max = cms.untracked.double(1000) ),
0036     nLowRangeHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True),
0037                                                    NBins = cms.untracked.uint32(100),
0038                                                    Min = cms.untracked.double(0),
0039                                                    Max = cms.untracked.double(100) ),
0040     nHighRangeHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True),
0041                                                     NBins = cms.untracked.uint32(100),
0042                                                     Min = cms.untracked.double(0),
0043                                                     Max = cms.untracked.double(100) ),
0044     nMinZeroHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True),
0045                                                   NBins = cms.untracked.uint32(100),
0046                                                   Min = cms.untracked.double(0),
0047                                                   Max = cms.untracked.double(100) ),
0048     nMaxSatHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True),
0049                                                  NBins = cms.untracked.uint32(100),
0050                                                  Min = cms.untracked.double(0),
0051                                                  Max = cms.untracked.double(100) ),
0052     nLowPbHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True),
0053                                                      NBins = cms.untracked.uint32(100),
0054                                                      Min = cms.untracked.double(0),
0055                                                      Max = cms.untracked.double(100) ),
0056     nHighPbHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True),
0057                                                       NBins = cms.untracked.uint32(100),
0058                                                       Min = cms.untracked.double(0),
0059                                                       Max = cms.untracked.double(100) ),
0060     nOutOfSyncHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True),
0061                                                     NBins = cms.untracked.uint32(100),
0062                                                     Min = cms.untracked.double(0),
0063                                                     Max = cms.untracked.double(1000) ),
0064     nOtherPbsHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True),
0065                                                    NBins = cms.untracked.uint32(100),
0066                                                    Min = cms.untracked.double(0),
0067                                                    Max = cms.untracked.double(1000) ),
0068     nApvErrorBitHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True),
0069                                                       NBins = cms.untracked.uint32(100),
0070                                                       Min = cms.untracked.double(0),
0071                                                       Max = cms.untracked.double(100) ),
0072     nApvAddressErrorHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True),
0073                                                           NBins = cms.untracked.uint32(100),
0074                                                           Min = cms.untracked.double(0),
0075                                                           Max = cms.untracked.double(100) ),
0076     nNegativePedsHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True),
0077                                                        NBins = cms.untracked.uint32(100),
0078                                                        Min = cms.untracked.double(0),
0079                                                        Max = cms.untracked.double(100) ),
0080     #vs time
0081     nNoDatavsTimeHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True),
0082                                                        NBins = cms.untracked.uint32(600),
0083                                                        Min = cms.untracked.double(0),
0084                                                        Max = cms.untracked.double(600) ),
0085     nLowRangevsTimeHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True),
0086                                                          NBins = cms.untracked.uint32(600),
0087                                                          Min = cms.untracked.double(0),
0088                                                          Max = cms.untracked.double(600) ),
0089     nHighRangevsTimeHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True),
0090                                                           NBins = cms.untracked.uint32(600),
0091                                                           Min = cms.untracked.double(0),
0092                                                           Max = cms.untracked.double(600) ),
0093     nMinZerovsTimeHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True),
0094                                                         NBins = cms.untracked.uint32(600),
0095                                                         Min = cms.untracked.double(0),
0096                                                         Max = cms.untracked.double(600) ),
0097     nMaxSatvsTimeHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True),
0098                                                        NBins = cms.untracked.uint32(600),
0099                                                        Min = cms.untracked.double(0),
0100                                                        Max = cms.untracked.double(600) ),
0101     nLowPbvsTimeHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True),
0102                                                            NBins = cms.untracked.uint32(600),
0103                                                            Min = cms.untracked.double(0),
0104                                                            Max = cms.untracked.double(600) ),
0105     nHighPbvsTimeHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True),
0106                                                             NBins = cms.untracked.uint32(600),
0107                                                             Min = cms.untracked.double(0),
0108                                                             Max = cms.untracked.double(600) ),
0109     nOutOfSyncvsTimeHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True),
0110                                                           NBins = cms.untracked.uint32(600),
0111                                                           Min = cms.untracked.double(0),
0112                                                           Max = cms.untracked.double(600) ),
0113     nOtherPbsvsTimeHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True),
0114                                                          NBins = cms.untracked.uint32(600),
0115                                                          Min = cms.untracked.double(0),
0116                                                          Max = cms.untracked.double(600) ),
0117     nApvErrorBitvsTimeHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True),
0118                                                             NBins = cms.untracked.uint32(600),
0119                                                             Min = cms.untracked.double(0),
0120                                                             Max = cms.untracked.double(600) ),
0121     nApvAddressErrorvsTimeHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True),
0122                                                                 NBins = cms.untracked.uint32(600),
0123                                                                 Min = cms.untracked.double(0),
0124                                                                 Max = cms.untracked.double(600) ),
0125     nNegativePedsvsTimeHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True),
0126                                                              NBins = cms.untracked.uint32(600),
0127                                                              Min = cms.untracked.double(0),
0128                                                              Max = cms.untracked.double(600) ),
0129     #vs fedid
0130     NoDataHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
0131     LowRangeHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
0132     HighRangeHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
0133     MinZeroHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
0134     MaxSatHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
0135     LowPbHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
0136     HighPbHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
0137     OutOfSyncHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
0138     OtherPbsHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
0139     ApvErrorBitHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
0140     ApvAddressErrorHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
0141     NegativePedsHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
0142     #for all channels
0143     FrameRangeHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
0144     FrameMinHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
0145     FrameMaxHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
0146     BaselineHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
0147    #vs channel id
0148     NoDataDetailedHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(False) ),
0149     LowRangeDetailedHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
0150     HighRangeDetailedHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
0151     MinZeroDetailedHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
0152     MaxSatDetailedHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
0153     LowPbDetailedHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
0154     HighPbDetailedHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
0155     OutOfSyncDetailedHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
0156     OtherPbsDetailedHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
0157     ApvErrorBitDetailedHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
0158     ApvAddressErrorDetailedHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
0159     NegativePedsDetailedHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
0160     #for all channels / per FED
0161     PositionOfFirstHeaderBitDetailedHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
0162     PositionOfFirstTrailerBitDetailedHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
0163     DistanceHeaderTrailerDetailedHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
0164 )