Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:08:47

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 # SiStripMonitorDigi
0004 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
0005 SiStripMonitorDigi = DQMEDAnalyzer('SiStripMonitorDigi',
0006 
0007     TopFolderName = cms.string('SiStrip'),
0008     # add digi producers same way as Domenico in SiStripClusterizer
0009 
0010     DigiProducersList = cms.VInputTag(
0011       cms.InputTag('siStripDigis','ZeroSuppressed'),
0012       cms.InputTag('siStripZeroSuppression','VirginRaw'),
0013       cms.InputTag('siStripZeroSuppression','ProcessedRaw'),
0014       cms.InputTag('siStripZeroSuppression','ScopeMode')
0015     ),
0016 
0017    TH1NApvShots = cms.PSet(
0018        Nbins = cms.int32(201),
0019        xmin = cms.double(-0.5),
0020        xmax = cms.double(200.5),
0021        subdetswitchon = cms.bool(False),
0022        globalswitchon = cms.bool(False)
0023     ),
0024 
0025    TH1ChargeMedianApvShots = cms.PSet(
0026        Nbins = cms.int32(256),
0027        xmin = cms.double(0.5),
0028        xmax = cms.double(256.5),
0029        subdetswitchon = cms.bool(False),
0030        globalswitchon = cms.bool(True)
0031     ),
0032 
0033    TH1NStripsApvShots = cms.PSet(
0034        Nbins = cms.int32(64),
0035        xmin = cms.double(64.5),
0036        xmax = cms.double(128.5),
0037        subdetswitchon = cms.bool(False),
0038        globalswitchon = cms.bool(False)
0039     ),
0040 
0041    TProfNShotsVsTime = cms.PSet(
0042         Nbins = cms.int32(600),
0043         xmin = cms.double(0.0),
0044         xmax = cms.double(1.0*60*60),
0045         ymin = cms.double(0.0),
0046         ymax = cms.double(0.0),
0047         subdetswitchon = cms.bool(False),
0048         globalswitchon = cms.bool(False)
0049     ),
0050 
0051     TH1ApvNumApvShots = cms.PSet(
0052        Nbins = cms.int32(6),
0053        xmin = cms.double(0.5),
0054        xmax = cms.double(6.5),
0055        subdetswitchon = cms.bool(False),
0056        globalswitchon = cms.bool(False)
0057     ),
0058 
0059    TProfGlobalNShots = cms.PSet(
0060         globalswitchon = cms.bool(False)
0061     ),
0062 
0063     TH1ADCsCoolestStrip = cms.PSet(
0064        Nbinx = cms.int32(60),
0065        xmin = cms.double(-0.5),
0066        xmax = cms.double(299.5),
0067        layerswitchon = cms.bool(False),
0068        moduleswitchon = cms.bool(True)
0069     ),
0070 
0071     TH1ADCsHottestStrip = cms.PSet(
0072         Nbinx = cms.int32(60),
0073         xmin = cms.double(-0.5),
0074         xmax = cms.double(299.5),
0075         layerswitchon = cms.bool(False),
0076         moduleswitchon = cms.bool(True)
0077     ),
0078 
0079     TH1DigiADCs = cms.PSet(
0080         Nbinx = cms.int32(64),
0081         xmin = cms.double(-0.5),
0082         xmax = cms.double(255.5),
0083         layerswitchon = cms.bool(True),
0084         moduleswitchon = cms.bool(True)
0085     ),
0086     TH1NumberOfDigis = cms.PSet(
0087         Nbinx = cms.int32(50),
0088         xmin = cms.double(-0.5),
0089         xmax = cms.double(999.5),
0090         layerswitchon = cms.bool(True),
0091         moduleswitchon = cms.bool(True)
0092     ),
0093 
0094     TH1NumberOfDigisPerStrip = cms.PSet(
0095         Nbinx = cms.int32(768),
0096         xmin = cms.double(-0.5),
0097         xmax = cms.double(767.5),
0098         moduleswitchon = cms.bool(False)
0099     ),
0100 
0101     TH1StripOccupancy = cms.PSet(
0102         Nbinx = cms.int32(51),
0103         xmin = cms.double(-0.01),
0104         xmax = cms.double(1.01),
0105         layerswitchon = cms.bool(True),
0106         moduleswitchon = cms.bool(True)
0107     ),
0108 
0109     TProfNumberOfDigi = cms.PSet(
0110         Nbinx = cms.int32(100),
0111         xmin = cms.double(-0.5),
0112         xmax = cms.double(499.5),
0113         layerswitchon = cms.bool(False),
0114         moduleswitchon = cms.bool(False)
0115     ),
0116 
0117     TProfDigiADC = cms.PSet(
0118         Nbinx = cms.int32(100),
0119         xmin = cms.double(0.0),
0120         xmax = cms.double(499.5),
0121         layerswitchon = cms.bool(False),
0122         moduleswitchon = cms.bool(False)
0123     ),
0124 
0125     TProfTotalNumberOfDigis = cms.PSet(
0126         Nbins = cms.int32(360),
0127         xmin = cms.double(0.0),
0128         xmax = cms.double(1.0*60*60),
0129         ymin = cms.double(0.0),
0130         ymax = cms.double(0.0),
0131         subdetswitchon = cms.bool(False)
0132     ),
0133 
0134     TProfNDigisFED = cms.PSet(
0135         Nbinsx          = cms.int32(440),
0136         xmax           = cms.double(489.5),
0137         xmin           = cms.double(49.5),
0138         Nbinsy = cms.int32(200),
0139         ymin = cms.double(-0.5),
0140         ymax = cms.double(199999.5),
0141         globalswitchon = cms.bool(True)
0142     ),
0143 
0144     TkHistoMap_On = cms.bool(True),
0145     TkHistoMapNApvShots_On = cms.bool(False),
0146     TkHistoMapNStripApvShots_On = cms.bool(False),
0147     TkHistoMapMedianChargeApvShots_On = cms.bool(False),
0148 
0149     CreateTrendMEs = cms.bool(False),
0150 
0151     Trending = cms.PSet(
0152         Nbins = cms.int32(600),
0153         xmin = cms.double(0.0),
0154         xmax = cms.double(1.0*60*60),
0155         ymin = cms.double(0.0),
0156         ymax = cms.double(10000.0)
0157     ),
0158 
0159 
0160     TProfDigiApvCycle = cms.PSet(
0161         Nbins = cms.int32(70),
0162         xmin = cms.double(-0.5),
0163         xmax = cms.double(69.5),
0164         Nbinsy = cms.int32(200),
0165         ymin = cms.double(0.0),
0166         ymax = cms.double(0.0),
0167         subdetswitchon = cms.bool(False)
0168         ),
0169 
0170     TH2DigiApvCycle = cms.PSet(
0171         Nbins = cms.int32(70),
0172         xmin = cms.double(-0.5),
0173         xmax = cms.double(69.5),
0174         Nbinsy = cms.int32(200),
0175         ymin = cms.double(0.0),
0176         yfactor = cms.double(0.2),
0177         subdetswitchon = cms.bool(False)
0178     ),
0179 
0180     TProfTotalNumberOfDigisVsLS = cms.PSet(
0181         subdetswitchon           = cms.bool(False)
0182     ),
0183 
0184     TotalNumberOfDigisFailure = cms.PSet(
0185         Nbins = cms.int32(2500),
0186         ignoreFirstNLumisections = cms.int32(20),
0187         integrateNLumisections = cms.int32(3),
0188         subdetswitchon        = cms.bool(False)
0189     ),
0190 
0191 #    xLumiProf = cms.int32(5),
0192 
0193     Mod_On = cms.bool(True),
0194 
0195     HistoryProducer = cms.InputTag("consecutiveHEs"),
0196     ApvPhaseProducer = cms.InputTag("APVPhases"),
0197 
0198     UseDCSFiltering = cms.bool(True),
0199 
0200     # rest of parameters
0201     SelectAllDetectors = cms.bool(False),
0202     ShowMechanicalStructureView = cms.bool(True),
0203     ShowReadoutView = cms.bool(False),
0204     ShowControlView = cms.bool(False),
0205     CalculateStripOccupancy = cms.bool(False),
0206     ResetMEsEachRun = cms.bool(False),
0207     TrendVs10LS       = cms.bool(False),
0208 )
0209 
0210 
0211 from Configuration.Eras.Modifier_run3_common_cff import run3_common
0212 run3_common.toModify(SiStripMonitorDigi,    TH1NumberOfDigis = dict(xmax = 39999.5, Nbinx = 500))