Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-03-03 23:52:54

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 # SiStripMonitorCluster
0004 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
0005 SiStripMonitorCluster = DQMEDAnalyzer('SiStripMonitorCluster',
0006     ClusterProducerStrip = cms.InputTag('siStripClusters'),
0007     ClusterProducerPix = cms.InputTag('siPixelClusters'),
0008 
0009     ResetMEsEachRun = cms.bool(False),
0010 
0011     StripQualityLabel = cms.string(''),
0012 
0013     SelectAllDetectors = cms.bool(False),
0014     ShowMechanicalStructureView = cms.bool(True),
0015 
0016     ClusterLabel = cms.string(''),
0017 
0018     TkHistoMap_On = cms.bool(True),
0019 
0020     ClusterChTkHistoMap_On = cms.bool(True),
0021 
0022     TopFolderName = cms.string('SiStrip'),
0023 
0024     BPTXfilter = cms.PSet(),
0025     PixelDCSfilter = cms.PSet(
0026         andOr = cms.bool(False),
0027         dcsInputTag = cms.InputTag("scalersRawToDigi"),
0028         dcsRecordInputTag = cms.InputTag( "onlineMetaDataDigis" ),
0029         dcsPartitions = cms.vint32(28, 29),
0030         andOrDcs = cms.bool(False),
0031         errorReplyDcs = cms.bool(True)
0032     ),
0033     StripDCSfilter = cms.PSet(
0034         andOr = cms.bool(False),
0035         dcsInputTag = cms.InputTag("scalersRawToDigi"),
0036         dcsRecordInputTag = cms.InputTag( "onlineMetaDataDigis" ),
0037         dcsPartitions = cms.vint32(24, 25, 26, 27),
0038         andOrDcs = cms.bool(False),
0039         errorReplyDcs = cms.bool(True)
0040     ),
0041 
0042     CreateTrendMEs = cms.bool(False),
0043     TrendVs10LS = cms.bool(False),
0044 
0045     Trending = cms.PSet(
0046         Nbins = cms.int32(2400),
0047         xmin = cms.double(0.0),
0048         xmax = cms.double(150.),
0049         xaxis = cms.string('Lumisection')
0050     ),
0051 
0052     TrendingLS = cms.PSet(
0053         Nbins = cms.int32(600),
0054         xmin = cms.double(0.0),
0055         xmax = cms.double(150),
0056         xaxis = cms.string('Lumisection')
0057         ),
0058 
0059     TH1ClusterNoise = cms.PSet(
0060         Nbinx          = cms.int32(20),
0061         xmin           = cms.double(-0.5),
0062         xmax           = cms.double(9.5),
0063         layerswitchon  = cms.bool(False),
0064         moduleswitchon = cms.bool(True)
0065     ),
0066 
0067     TH1NrOfClusterizedStrips = cms.PSet(
0068         Nbinx          = cms.int32(20),
0069         xmin           = cms.double(-0.5),
0070         xmax           = cms.double(99.5),
0071         layerswitchon  = cms.bool(True),
0072         moduleswitchon = cms.bool(True)
0073     ),
0074     TH1ClusterPos = cms.PSet(
0075         Nbinx          = cms.int32(768),
0076         xmin           = cms.double(-0.5),
0077         xmax           = cms.double(767.5),
0078         layerswitchon  = cms.bool(False),
0079         moduleswitchon = cms.bool(True)
0080     ),
0081     TH1ClusterDigiPos = cms.PSet(
0082         Nbinx          = cms.int32(768),
0083         xmin           = cms.double(-0.5),
0084         xmax           = cms.double(767.5),
0085         layerswitchon  = cms.bool(False),
0086         moduleswitchon = cms.bool(False)
0087     ),
0088     TH1ModuleLocalOccupancy = cms.PSet(
0089         Nbinx          = cms.int32(51),
0090         xmin           = cms.double(-0.01),
0091         xmax           = cms.double(1.01),
0092         layerswitchon  = cms.bool(True),
0093         moduleswitchon = cms.bool(True)
0094     ),
0095     TH1nClusters = cms.PSet(
0096         Nbinx          = cms.int32(11),
0097         xmin           = cms.double(-0.5),
0098         xmax           = cms.double(10.5),
0099         layerswitchon  = cms.bool(False),
0100         moduleswitchon = cms.bool(True)
0101     ),
0102     TH1ClusterStoN = cms.PSet(
0103         Nbinx          = cms.int32(100),
0104         xmin           = cms.double(-0.5),
0105         xmax           = cms.double(299.5),
0106         layerswitchon  = cms.bool(False),
0107         moduleswitchon = cms.bool(True)
0108     ),
0109     TH1ClusterStoNVsPos = cms.PSet(
0110         Nbinx          = cms.int32(768),
0111         xmin           = cms.double(-0.5),
0112         xmax           = cms.double(767.5),
0113         Nbiny          = cms.int32(100),
0114         ymin           = cms.double(-0.5),
0115         ymax           = cms.double(299.5),
0116         layerswitchon  = cms.bool(False),
0117         moduleswitchon = cms.bool(False)
0118     ),
0119     TH1ClusterCharge = cms.PSet(
0120         Nbinx          = cms.int32(200),
0121         xmin           = cms.double(-0.5),
0122         xmax           = cms.double(799.5),
0123         layerswitchon  = cms.bool(False),
0124         moduleswitchon = cms.bool(True),
0125         subdetswitchon = cms.bool(False)
0126     ),
0127     TH1ClusterWidth = cms.PSet(
0128         Nbinx          = cms.int32(20),
0129         xmin           = cms.double(-0.5),
0130         xmax           = cms.double(19.5),
0131         layerswitchon  = cms.bool(False),
0132         moduleswitchon = cms.bool(True),
0133         subdetswitchon = cms.bool(False)
0134     ),
0135 
0136     TProfNumberOfCluster = cms.PSet(
0137         Nbinx            = cms.int32(100),
0138         xmin             = cms.double(-0.5),
0139         xmax             = cms.double(499.5),
0140         layerswitchon    = cms.bool(False),
0141         moduleswitchon   = cms.bool(False)
0142     ),
0143 
0144     TProfClusterWidth    = cms.PSet(
0145         Nbinx            = cms.int32(100),
0146         xmin             = cms.double(-0.5),
0147         xmax             = cms.double(499.5),
0148         layerswitchon    = cms.bool(False),
0149         moduleswitchon   = cms.bool(False)
0150     ),
0151 
0152     ClusterConditions = cms.PSet(
0153         minWidth   = cms.double(0.0),
0154         On         = cms.bool(True),
0155         maxStoN    = cms.double(10000.0),
0156         minStoN    = cms.double(0.0),
0157         maxWidth   = cms.double(10000.0)
0158     ),
0159 
0160     TProfTotalNumberOfClusters = cms.PSet(
0161         subdetswitchon = cms.bool(False)
0162     ),
0163 
0164     TH1TotalNumberOfClusters = cms.PSet(
0165         Nbinx          = cms.int32(100),
0166         xmin           = cms.double(-0.5),
0167         xmax           = cms.double(14999.5),
0168         subdetswitchon = cms.bool(False)
0169     ),
0170 
0171     TProfClustersApvCycle = cms.PSet(
0172         Nbins = cms.int32(70),
0173         xmin = cms.double(-0.5),
0174         xmax = cms.double(69.5),
0175         Nbinsy = cms.int32(200),
0176         ymin = cms.double(0.0),
0177         ymax = cms.double(0.0),
0178         subdetswitchon = cms.bool(False)
0179         ),
0180 
0181     TH2ClustersApvCycle = cms.PSet(
0182         Nbinsx = cms.int32(70),
0183         xmin   = cms.double(-0.5),
0184         xmax   = cms.double(69.5),
0185         Nbinsy = cms.int32(200),
0186         ymin = cms.double(0.0),
0187         yfactor = cms.double(0.2),
0188         subdetswitchon = cms.bool(False)
0189     ),
0190 
0191     TProfClustersVsDBxCycle = cms.PSet(
0192         Nbins = cms.int32(800),
0193         xmin = cms.double(0.5),
0194         xmax = cms.double(800.5),
0195         ymin = cms.double(0.0),
0196         ymax = cms.double(0.0),
0197         subdetswitchon = cms.bool(True)
0198         ),
0199 
0200      TH1ABx_CSCP = cms.PSet(
0201         Nbinsx = cms.int32(3565),
0202         xmin = cms.double(0.),
0203         xmax = cms.double(3564),
0204         subdetswitchon = cms.bool(True)
0205         ),
0206 
0207     TProf2ApvCycleVsDBx = cms.PSet(
0208         Nbinsx = cms.int32(70),
0209         xmin   = cms.double(-0.5),
0210         xmax   = cms.double(69.5),
0211         Nbinsy = cms.int32(800),
0212         ymin   = cms.double(0.5),
0213         ymax   = cms.double(800.5),
0214         zmin   = cms.double(0.0),
0215         zmax   = cms.double(0.0),
0216         subdetswitchon = cms.bool(False)
0217         ),
0218 
0219     TH2ApvCycleVsDBxGlobal = cms.PSet(
0220         Nbinsx = cms.int32(70),
0221         xmin   = cms.double(-0.5),
0222         xmax   = cms.double(69.5),
0223         Nbinsy = cms.int32(800),
0224         ymin   = cms.double(0.5),
0225         ymax   = cms.double(800.5),
0226         globalswitchon = cms.bool(True)
0227         ),
0228 
0229     TH1DBxGlobal = cms.PSet(
0230         Nbinsx = cms.int32(800),
0231         xmin   = cms.double(0.5),
0232         xmax   = cms.double(800.5),
0233         globalswitchon = cms.bool(True)
0234         ),
0235 
0236     TH1DBxCycleGlobal = cms.PSet(
0237         Nbinsx = cms.int32(800),
0238         xmin   = cms.double(0.5),
0239         xmax   = cms.double(800.5),
0240         globalswitchon = cms.bool(True)
0241         ),
0242 
0243     TH2CStripVsCpixel = cms.PSet(
0244         Nbinsx = cms.int32(150),
0245         xmin   = cms.double(-0.5),
0246         xmax   = cms.double(149999.5),
0247         Nbinsy = cms.int32(50),
0248         ymin   = cms.double(-0.5),
0249         ymax   = cms.double(29999.5),
0250         globalswitchon = cms.bool(True)
0251         ),
0252 
0253     MultiplicityRegions = cms.PSet(
0254         k0 = cms.double(0.188),  # k from linear fit of the diagonal default 0.13
0255         q0 = cms.double(300),   # +/- variation of y axis intercept default 300
0256         dk0 = cms.double(40),   #+/- variation of k0 (in %) to contain the diagonal zone defoult 40
0257         MaxClus = cms.double(26000), #Divide Region 2 and Region 3  default 20000
0258         MinPix = cms.double(50)  # minimum number of Pix clusters to flag events with zero Si clusters default 50
0259         ),
0260 
0261     TH1MultiplicityRegions = cms.PSet(
0262         Nbinx          = cms.int32(5),
0263         xmin           = cms.double(0.5),
0264         xmax           = cms.double(5.5),
0265         globalswitchon = cms.bool(False)
0266         ),
0267 
0268     TH1MainDiagonalPosition= cms.PSet(
0269         Nbinsx          = cms.int32(100),
0270         xmin           = cms.double(0.),
0271         xmax           = cms.double(2.),
0272         globalswitchon = cms.bool(False)
0273         ),
0274 
0275     TProfMainDiagonalPosition= cms.PSet(
0276         Nbinsx = cms.int32(3565),
0277         xmin = cms.double(0),
0278         xmax = cms.double(3564),
0279         Nbinsy = cms.int32(100),
0280         ymin = cms.double(0.),
0281         ymax = cms.double(2.),
0282         globalswitchon = cms.bool(False)
0283         ),
0284 
0285     TH2MainDiagonalPosition= cms.PSet(
0286         Nbinsx = cms.int32(3565),
0287         xmin = cms.double(0),
0288         xmax = cms.double(3564),
0289         Nbinsy = cms.int32(100),
0290         ymin = cms.double(0.),
0291         ymax = cms.double(2.),
0292         globalswitchon = cms.bool(False)
0293         ),
0294 
0295     TH1NClusPx = cms.PSet(
0296         Nbinsx = cms.int32(200),
0297         xmax = cms.double(19999.5),
0298         xmin = cms.double(-0.5)
0299         ),
0300 
0301     TH1NClusStrip = cms.PSet(
0302         Nbinsx = cms.int32(500),
0303         xmax = cms.double(99999.5),
0304         xmin = cms.double(-0.5)
0305         ),
0306 
0307 #****************************************
0308      TProfNClusStrip = cms.PSet(
0309         Nbinsx = cms.int32(3565),
0310         xmin = cms.double(0),
0311         xmax = cms.double(3564),
0312         Nbinsy = cms.int32(200),
0313         ymin = cms.double(-0.5),
0314         ymax = cms.double(99999.5),
0315         globalswitchon = cms.bool(True)
0316         ),
0317 
0318      TProfNClusPixel = cms.PSet(
0319         Nbinsx = cms.int32(3565),
0320         xmin = cms.double(0),
0321         xmax = cms.double(3564),
0322         Nbinsy = cms.int32(200),
0323         ymin = cms.double(-0.5),
0324         ymax = cms.double(199999.5),
0325         globalswitchon = cms.bool(True)
0326         ),
0327 
0328      TProfNClustersFED = cms.PSet(
0329          Nbinsx          = cms.int32(440),
0330          xmax           = cms.double(489.5),
0331          xmin           = cms.double(49.5),
0332          Nbinsy = cms.int32(200),
0333          ymin = cms.double(-0.5),
0334          ymax = cms.double(199999.5),
0335          globalswitchon = cms.bool(True)
0336          ),
0337 
0338 #****************************************
0339     TH1StripNoise2ApvCycle = cms.PSet(
0340         Nbinsx = cms.int32(70),
0341         xmin   = cms.double(-0.5),
0342         xmax   = cms.double(69.5),
0343         globalswitchon = cms.bool(False)
0344         )
0345                                        ,
0346     TH1StripNoise3ApvCycle = cms.PSet(
0347         Nbinsx = cms.int32(70),
0348         xmin   = cms.double(-0.5),
0349         xmax   = cms.double(69.5),
0350         globalswitchon = cms.bool(False)
0351         ),
0352 
0353     NclusVsCycleTimeProf2D = cms.PSet(
0354         Nbins = cms.int32(70),
0355         xmin = cms.double(-0.5),
0356         xmax = cms.double(69.5),
0357         Nbinsy = cms.int32(90),
0358         ymin = cms.double(0.),
0359         ymax = cms.double(90*262144),
0360         globalswitchon = cms.bool(True)
0361         ),
0362 
0363    NumberOfClusterPerRingVsTrendVar = cms.PSet(
0364         Nbinsx = cms.int32(1000),
0365         xmin = cms.double(0.),
0366         xmax = cms.double(150.),
0367         Nbinsy = cms.int32(9),
0368         ymin = cms.double(0.5),
0369         ymax = cms.double(9.5),
0370         globalswitchon = cms.bool(True),
0371         ),
0372 
0373     NumberOfClusterPerLayerTrendVar = cms.PSet(
0374         Nbinsx = cms.int32(1000),
0375         xmin = cms.double(0.),
0376         xmax = cms.double(150.),
0377         Nbinsy = cms.int32(11),
0378         ymin = cms.double(0.5),
0379         ymax = cms.double(11.5),
0380         globalswitchon = cms.bool(True),
0381         ),
0382 
0383     ClusWidthVsAmpTH2 = cms.PSet(
0384         Nbinsx = cms.int32(2000),
0385         xmin = cms.double(0.),
0386         xmax = cms.double(2000.),
0387         Nbinsy = cms.int32(100),
0388         ymin = cms.double(0.),
0389         ymax = cms.double(100.),
0390         globalswitchon = cms.bool(True),
0391         subdetswitchon = cms.bool(False),
0392         layerswitchon  = cms.bool(False),
0393         moduleswitchon = cms.bool(False)
0394         ),
0395 
0396     Mod_On = cms.bool(True),
0397     ClusterHisto = cms.bool(False),
0398 
0399     HistoryProducer = cms.InputTag("consecutiveHEs"),
0400     ApvPhaseProducer = cms.InputTag("APVPhases"),
0401 
0402     UseDCSFiltering = cms.bool(True),
0403 
0404     ShowControlView = cms.bool(False),
0405     ShowReadoutView = cms.bool(False)
0406 )
0407 
0408 from Configuration.Eras.Modifier_run3_common_cff import run3_common
0409 run3_common.toModify(SiStripMonitorCluster,  TH1NClusPx = dict(xmax = 39999.5))
0410 run3_common.toModify(SiStripMonitorCluster,  TH1NClusStrip = dict(xmax = 299999.5))
0411 run3_common.toModify(SiStripMonitorCluster,  TProfNClusStrip = dict(ymax = 299999.5))
0412 run3_common.toModify(SiStripMonitorCluster,  TProfNClusPixel = dict(ymax = 39999.5))
0413 run3_common.toModify(SiStripMonitorCluster,  TProfNClustersFED = dict(ymax = 299999.5))
0414 run3_common.toModify(SiStripMonitorCluster,  TH2CStripVsCpixel = dict(xmax = 299999.5, ymax = 39999.5))
0415 run3_common.toModify(SiStripMonitorCluster,  TH1TotalNumberOfClusters = dict(xmax = 44999.5))