Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
0004 siStripFEDMonitor = DQMEDAnalyzer('SiStripFEDMonitorPlugin',
0005   #Raw data collection
0006   RawDataTag = cms.untracked.InputTag('rawDataCollector'),
0007   #Folder in DQM Store to write global histograms to
0008   TopFolderName       = cms.untracked.string('SiStrip'),
0009 #  HistogramFolderName = cms.untracked.string('SiStrip/ReadoutView/FedSummary'),
0010   HistogramFolderName = cms.untracked.string('ReadoutView'),
0011   #Fill all detailed histograms at FED level even if they will be empty (so that files can be merged)
0012   FillAllDetailedHistograms = cms.untracked.bool(False),
0013   #do histos vs time with time=event number. Default time = orbit number (s).
0014   FillWithEventNumber = cms.untracked.bool(False),
0015   #Whether to dump buffer info and raw data if any error is found:
0016   #1=errors, 2=minimum info, 3=full debug with printing of the data buffer of each FED per event.
0017   PrintDebugMessages = cms.untracked.uint32(1),
0018   FullDebugMode = cms.untracked.bool(False),
0019   #Histogram configuration
0020   #lumi histogram
0021   ErrorFractionByLumiBlockHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(False) ),
0022   #Global/summary histograms
0023   FedEventSizeHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
0024   DataPresentHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
0025   AnyFEDErrorsHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
0026   AnyDAQProblemsHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
0027   AnyFEProblemsHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
0028   CorruptBuffersHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
0029   BadChannelStatusBitsHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
0030   BadActiveChannelStatusBitsHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
0031   #Sub sets of FE problems
0032   FEOverflowsHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
0033   FEMissingHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
0034   BadMajorityAddressesHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
0035   BadMajorityInPartitionHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
0036   FeMajFracTIBHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
0037   FeMajFracTOBHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
0038   FeMajFracTECBHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
0039   FeMajFracTECFHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
0040   FETimeDiffTIBHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
0041   FETimeDiffTOBHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
0042   FETimeDiffTECBHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
0043   FETimeDiffTECFHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
0044   FETimeDiffvsDBXHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(False) ),
0045   ApveAddressHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
0046   FeMajAddressHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
0047   #medians per APV for all channels, all events
0048   MedianAPV0HistogramConfig = cms.untracked.PSet(
0049     Enabled = cms.untracked.bool(True),
0050     NBins = cms.untracked.uint32(256),
0051     Min = cms.untracked.double(0),
0052     Max = cms.untracked.double(1024)
0053     ),
0054   MedianAPV1HistogramConfig = cms.untracked.PSet(
0055     Enabled = cms.untracked.bool(True),
0056     NBins = cms.untracked.uint32(256),
0057     Min = cms.untracked.double(0),
0058     Max = cms.untracked.double(1024)
0059     ),
0060   #Sub sets of DAQ problems
0061   DataMissingHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
0062   BadIDsHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
0063   BadDAQPacketHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
0064   InvalidBuffersHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
0065   BadDAQCRCsHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
0066   BadFEDCRCsHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
0067   #TkHistoMap
0068   TkHistoMapHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
0069   #Detailed FED level expert histograms
0070   FEOverflowsDetailedHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
0071   FEMissingDetailedHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
0072   BadMajorityAddressesDetailedHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
0073   BadAPVStatusBitsDetailedHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
0074   APVErrorBitsDetailedHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
0075   APVAddressErrorBitsDetailedHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
0076   UnlockedBitsDetailedHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
0077   OOSBitsDetailedHistogramConfig = cms.untracked.PSet( Enabled = cms.untracked.bool(True) ),
0078   #Error counting histograms
0079   nFEDErrorsHistogramConfig = cms.untracked.PSet(
0080     Enabled = cms.untracked.bool(True),
0081     NBins = cms.untracked.uint32(441),
0082     Min = cms.untracked.double(0),
0083     Max = cms.untracked.double(441)
0084   ),
0085   nFEDDAQProblemsHistogramConfig = cms.untracked.PSet(
0086     Enabled = cms.untracked.bool(True),
0087     NBins = cms.untracked.uint32(441),
0088     Min = cms.untracked.double(0),
0089     Max = cms.untracked.double(441)
0090   ),
0091   nFEDsWithFEProblemsHistogramConfig = cms.untracked.PSet(
0092     Enabled = cms.untracked.bool(True),
0093     NBins = cms.untracked.uint32(441),
0094     Min = cms.untracked.double(0),
0095     Max = cms.untracked.double(441)
0096   ),
0097   nFEDCorruptBuffersHistogramConfig = cms.untracked.PSet(
0098     Enabled = cms.untracked.bool(True),
0099     NBins = cms.untracked.uint32(441),
0100     Min = cms.untracked.double(0),
0101     Max = cms.untracked.double(441)
0102   ),
0103   nBadChannelStatusBitsHistogramConfig = cms.untracked.PSet(
0104     Enabled = cms.untracked.bool(True),
0105     NBins = cms.untracked.uint32(353),
0106     Min = cms.untracked.double(0),
0107     Max = cms.untracked.double(42240)
0108   ),
0109   nBadActiveChannelStatusBitsHistogramConfig = cms.untracked.PSet(
0110     Enabled = cms.untracked.bool(True),
0111     NBins = cms.untracked.uint32(353),
0112     Min = cms.untracked.double(0),
0113     Max = cms.untracked.double(42240)
0114   ),
0115   nFEDsWithFEOverflowsHistogramConfig = cms.untracked.PSet(
0116     Enabled = cms.untracked.bool(True),
0117     NBins = cms.untracked.uint32(441),
0118     Min = cms.untracked.double(0),
0119     Max = cms.untracked.double(441)
0120   ),
0121   nFEDsWithMissingFEsHistogramConfig = cms.untracked.PSet(
0122     Enabled = cms.untracked.bool(True),
0123     NBins = cms.untracked.uint32(441),
0124     Min = cms.untracked.double(0),
0125     Max = cms.untracked.double(441)
0126   ),
0127   nFEDsWithFEBadMajorityAddressesHistogramConfig = cms.untracked.PSet(
0128     Enabled = cms.untracked.bool(True),
0129     NBins = cms.untracked.uint32(441),
0130     Min = cms.untracked.double(0),
0131     Max = cms.untracked.double(441)
0132   ),
0133   nUnconnectedChannelsHistogramConfig = cms.untracked.PSet(
0134     Enabled = cms.untracked.bool(True),
0135     NBins = cms.untracked.uint32(250),
0136     Min = cms.untracked.double(6000),
0137     Max = cms.untracked.double(8000)
0138   ),
0139   nAPVStatusBitHistogramConfig = cms.untracked.PSet(
0140     Enabled = cms.untracked.bool(True),
0141     NBins = cms.untracked.uint32(353),
0142     Min = cms.untracked.double(0),
0143     Max = cms.untracked.double(42240)
0144   ),
0145   nAPVErrorHistogramConfig = cms.untracked.PSet(
0146     Enabled = cms.untracked.bool(True),
0147     NBins = cms.untracked.uint32(353),
0148     Min = cms.untracked.double(0),
0149     Max = cms.untracked.double(42240)
0150   ),
0151   nAPVAddressErrorHistogramConfig = cms.untracked.PSet(
0152     Enabled = cms.untracked.bool(True),
0153     NBins = cms.untracked.uint32(353),
0154     Min = cms.untracked.double(0),
0155     Max = cms.untracked.double(42240)
0156   ),
0157   nUnlockedHistogramConfig = cms.untracked.PSet(
0158     Enabled = cms.untracked.bool(True),
0159     NBins = cms.untracked.uint32(353),
0160     Min = cms.untracked.double(0),
0161     Max = cms.untracked.double(42240)
0162   ),
0163   nOutOfSyncHistogramConfig = cms.untracked.PSet(
0164     Enabled = cms.untracked.bool(True),
0165     NBins = cms.untracked.uint32(353),
0166     Min = cms.untracked.double(0),
0167     Max = cms.untracked.double(42240)
0168   ),
0169   nTotalBadChannelsHistogramConfig = cms.untracked.PSet(
0170     Enabled = cms.untracked.bool(True),
0171     NBins = cms.untracked.uint32(353),
0172     Min = cms.untracked.double(0),
0173     Max = cms.untracked.double(42240)
0174   ),
0175   nTotalBadActiveChannelsHistogramConfig = cms.untracked.PSet(
0176     Enabled = cms.untracked.bool(True),
0177     NBins = cms.untracked.uint32(353),
0178     Min = cms.untracked.double(0),
0179     Max = cms.untracked.double(42240)
0180   ),
0181   TimeHistogramConfig = cms.untracked.PSet(
0182     Enabled = cms.untracked.bool(False),
0183     NBins = cms.untracked.uint32(600),
0184     Min = cms.untracked.double(0),
0185     Max = cms.untracked.double(3600)
0186   ),
0187   nTotalBadChannelsvsTimeHistogramConfig = cms.untracked.PSet(
0188     Enabled = cms.untracked.bool(True),
0189     NBins = cms.untracked.uint32(600),
0190     Min = cms.untracked.double(0),
0191     Max = cms.untracked.double(3600)
0192   ),
0193   nTotalBadActiveChannelsvsTimeHistogramConfig = cms.untracked.PSet(
0194     Enabled = cms.untracked.bool(True),
0195     NBins = cms.untracked.uint32(600),
0196     Min = cms.untracked.double(0),
0197     Max = cms.untracked.double(3600)
0198   ),
0199   nFEDErrorsvsTimeHistogramConfig = cms.untracked.PSet(
0200     Enabled = cms.untracked.bool(True),
0201     NBins = cms.untracked.uint32(600),
0202     Min = cms.untracked.double(0),
0203     Max = cms.untracked.double(3600)
0204   ),
0205   fedErrorsVsIdVsLumiHistogramConfig = cms.untracked.PSet(
0206      Enabled = cms.untracked.bool(True),
0207      NBins = cms.untracked.uint32(250),
0208      Min = cms.untracked.double(0),
0209      Max = cms.untracked.double(5000),
0210      globalswitchon = cms.untracked.bool(False)
0211  ),
0212   nFEDCorruptBuffersvsTimeHistogramConfig = cms.untracked.PSet(
0213     Enabled = cms.untracked.bool(True),
0214     NBins = cms.untracked.uint32(600),
0215     Min = cms.untracked.double(0),
0216     Max = cms.untracked.double(3600)
0217   ),
0218   nFEDsWithFEProblemsvsTimeHistogramConfig = cms.untracked.PSet(
0219     Enabled = cms.untracked.bool(True),
0220     NBins = cms.untracked.uint32(600),
0221     Min = cms.untracked.double(0),
0222     Max = cms.untracked.double(3600)
0223   ),
0224   nAPVStatusBitvsTimeHistogramConfig = cms.untracked.PSet(
0225     Enabled = cms.untracked.bool(True),
0226     NBins = cms.untracked.uint32(600),
0227     Min = cms.untracked.double(0),
0228     Max = cms.untracked.double(3600)
0229   ),
0230   nAPVErrorvsTimeHistogramConfig = cms.untracked.PSet(
0231     Enabled = cms.untracked.bool(True),
0232     NBins = cms.untracked.uint32(600),
0233     Min = cms.untracked.double(0),
0234     Max = cms.untracked.double(3600)
0235   ),
0236   nAPVAddressErrorvsTimeHistogramConfig = cms.untracked.PSet(
0237     Enabled = cms.untracked.bool(True),
0238     NBins = cms.untracked.uint32(600),
0239     Min = cms.untracked.double(0),
0240     Max = cms.untracked.double(3600)
0241   ),
0242   nUnlockedvsTimeHistogramConfig = cms.untracked.PSet(
0243     Enabled = cms.untracked.bool(True),
0244     NBins = cms.untracked.uint32(600),
0245     Min = cms.untracked.double(0),
0246     Max = cms.untracked.double(3600)
0247   ),
0248   nOutOfSyncvsTimeHistogramConfig = cms.untracked.PSet(
0249     Enabled = cms.untracked.bool(True),
0250     NBins = cms.untracked.uint32(600),
0251     Min = cms.untracked.double(0),
0252     Max = cms.untracked.double(3600)
0253   ),
0254   FedMaxEventSizevsTimeHistogramConfig = cms.untracked.PSet(
0255     Enabled = cms.untracked.bool(True),
0256     NBins = cms.untracked.uint32(600),
0257     Min = cms.untracked.double(0),
0258     Max = cms.untracked.double(3600)
0259   ),
0260   FedIdVsApvIdHistogramConfig = cms.untracked.PSet(
0261     Enabled = cms.untracked.bool(True)
0262   ),
0263   FedErrorsVsIdHistogramConfig = cms.untracked.PSet(
0264     Enabled = cms.untracked.bool(True)
0265   )
0266  )