Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2021-02-14 13:10:47

0001 # L1 Trigger Event Info client cfi
0002 # 
0003 #   The cfi can be used, with appropriate settings, for both L1T and L1TEMU. 
0004 #   Default version in cfi: L1T event client
0005 #
0006 #   authors previous versions - see CVS
0007 #
0008 #   V.M. Ghete 2010-10-22 revised version of L1T DQM and L1TEMU DQM
0009 
0010 
0011 
0012 import FWCore.ParameterSet.Config as cms
0013 from DQMServices.Core.DQMEDHarvester import DQMEDHarvester
0014 
0015 l1tEventInfoClient = DQMEDHarvester("L1TEventInfoClient",
0016     monitorDir = cms.untracked.string("L1T"),
0017     
0018     # decide when to run and update the results of the quality tests
0019     # retrieval of quality test results must be consistent with the event / LS / Run execution
0020     # 
0021     runInEventLoop=cms.untracked.bool(False),
0022     runInEndLumi=cms.untracked.bool(True),
0023     runInEndRun=cms.untracked.bool(True),
0024     runInEndJob=cms.untracked.bool(False),
0025 
0026     #
0027     # for each L1 system, give:
0028     #     - SystemLabel:  system label
0029     #     - HwValLabel:   system label as used in hardware validation package 
0030     #                     (the package producing the ErrorFlag histogram)
0031     #     - SystemDisable:   system disabled: if 1, all quality tests for the system 
0032     #                     are disabled in the summary plot
0033     #     - for each quality test:
0034     #         - QualityTestName: name of quality test
0035     #         - QualityTestHist: histogram (full path)
0036     #         - QualityTestSummaryEnabled: 0 if disabled, 1 if enabled in summary plot 
0037     #
0038     # the position in the parameter set gives, in reverse order, the position in the reportSummaryMap
0039     # in the emulator column (left column)
0040     L1Systems = cms.VPSet(
0041                     cms.PSet(
0042                         SystemLabel = cms.string("ECAL_TPG"),
0043                         HwValLabel = cms.string("ETP"),
0044                         SystemDisable  = cms.uint32(0),
0045                         QualityTests = cms.VPSet(
0046                             cms.PSet(
0047                                 QualityTestName = cms.string(""),
0048                                 QualityTestHist = cms.string(""),
0049                                 QualityTestSummaryEnabled = cms.uint32(0)
0050                                 )
0051                             )
0052                         ),                                 
0053                     cms.PSet(
0054                         SystemLabel = cms.string("HCAL_TPG"),
0055                         HwValLabel = cms.string("HTP"),
0056                         SystemDisable  = cms.uint32(0),
0057                         QualityTests = cms.VPSet(
0058                             cms.PSet(
0059                                 QualityTestName = cms.string(""),
0060                                 QualityTestHist = cms.string(""),
0061                                 QualityTestSummaryEnabled = cms.uint32(0)
0062                                 )
0063                             )
0064                         ),                                 
0065                     cms.PSet(
0066                         SystemLabel = cms.string("RCT"),
0067                         HwValLabel = cms.string("RCT"),
0068                         SystemDisable  = cms.uint32(0),
0069                         QualityTests = cms.VPSet(
0070                             cms.PSet(
0071                                 QualityTestName = cms.string("HotChannels_RCT_2D"),
0072                                 QualityTestHist = cms.string("L1T/L1TRCT/Layer2EmIsoEmEtEtaPhi"),
0073                                 QualityTestSummaryEnabled = cms.uint32(1)
0074                                 ),                                                     
0075                             cms.PSet(
0076                                 QualityTestName = cms.string("DeadChannels_RCT_2D_loose"),
0077                                 QualityTestHist = cms.string("L1T/L1TRCT/Layer2EmIsoEmEtEtaPhi"),
0078                                 QualityTestSummaryEnabled = cms.uint32(1)
0079                                 ),
0080                             #                     
0081                             cms.PSet(
0082                                 QualityTestName = cms.string("HotChannels_RCT_2D"),
0083                                 QualityTestHist = cms.string("L1T/L1TRCT/Layer2EmNonIsoEmEtEtaPhi"),
0084                                 QualityTestSummaryEnabled = cms.uint32(1)
0085                                 ),                                                     
0086                             cms.PSet(
0087                                 QualityTestName = cms.string("DeadChannels_RCT_2D_loose"),
0088                                 QualityTestHist = cms.string("L1T/L1TRCT/Layer2EmNonIsoEmEtEtaPhi"),
0089                                 QualityTestSummaryEnabled = cms.uint32(1)
0090                                 ),
0091                             #                                         
0092                             cms.PSet(
0093                                 QualityTestName = cms.string("HotChannels_RCT_2D"),
0094                                 QualityTestHist = cms.string("L1T/L1TRCT/Layer2RegionsEtEtaPhi"),
0095                                 QualityTestSummaryEnabled = cms.uint32(1)
0096                                 ),                                                     
0097                             cms.PSet(
0098                                 QualityTestName = cms.string("DeadChannels_RCT_2D_tight"),
0099                                 QualityTestHist = cms.string("L1T/L1TRCT/Layer2RegionsEtEtaPhi"),
0100                                 QualityTestSummaryEnabled = cms.uint32(1)
0101                                 ),
0102                             )
0103                         ),                                 
0104                     cms.PSet(
0105                         SystemLabel = cms.string("Stage1Layer2"),
0106                         HwValLabel = cms.string("Stage1Layer2"),
0107                         SystemDisable  = cms.uint32(0),
0108                         QualityTests = cms.VPSet(
0109                             cms.PSet(
0110                                 QualityTestName = cms.string("HotChannels_GCT_2D"),
0111                                 QualityTestHist = cms.string("L1T/L1TStage1Layer2/IsoEmRankEtaPhi"),
0112                                 QualityTestSummaryEnabled = cms.uint32(1)
0113                                 ),                                                    
0114                             cms.PSet(
0115                                 QualityTestName = cms.string("DeadChannels_GCT_2D_loose"),
0116                                 QualityTestHist = cms.string("L1T/L1TStage1Layer2/IsoEmRankEtaPhi"),
0117                                 QualityTestSummaryEnabled = cms.uint32(1)
0118                                 ),
0119                             #                     
0120                             cms.PSet(
0121                                 QualityTestName = cms.string("HotChannels_GCT_2D"),
0122                                 QualityTestHist = cms.string("L1T/L1TStage1Layer2/IsoEmRankEtaPhi"),
0123                                 QualityTestSummaryEnabled = cms.uint32(1)
0124                                 ),                                                    
0125                             cms.PSet(
0126                                 QualityTestName = cms.string("DeadChannels_GCT_2D_loose"),
0127                                 QualityTestHist = cms.string("L1T/L1TStage1Layer2/NonIsoEmRankEtaPhi"),
0128                                 QualityTestSummaryEnabled = cms.uint32(1)
0129                                 ),
0130                             #                     
0131                             cms.PSet(
0132                                 QualityTestName = cms.string("HotChannels_GCT_2D"),
0133                                 QualityTestHist = cms.string("L1T/L1TStage1Layer2/AllJetsEtEtaPhi"),
0134                                 QualityTestSummaryEnabled = cms.uint32(1)
0135                                 ),                                                    
0136                             cms.PSet(
0137                                 QualityTestName = cms.string("DeadChannels_GCT_2D_tight"),
0138                                 QualityTestHist = cms.string("L1T/L1TStage1Layer2/AllJetsEtEtaPhi"),
0139                                 QualityTestSummaryEnabled = cms.uint32(1)
0140                                 ),
0141                             cms.PSet(
0142                                 QualityTestName = cms.string("HotChannels_GCT_2D"),
0143                                 QualityTestHist = cms.string("L1T/L1TStage1Layer2/TauJetsEtEtaPhi"),
0144                                 QualityTestSummaryEnabled = cms.uint32(1)
0145                                 ),                                                    
0146                             cms.PSet(
0147                                 QualityTestName = cms.string("DeadChannels_GCT_2D_tight"),
0148                                 QualityTestHist = cms.string("L1T/L1TStage1Layer2/TauJetsEtEtaPhi"),
0149                                 QualityTestSummaryEnabled = cms.uint32(1)
0150                                 )
0151                             )
0152                         ),                                  
0153                     cms.PSet(
0154                         SystemLabel = cms.string("DT_TPG"),
0155                         HwValLabel = cms.string("DTP"),
0156                         SystemDisable  = cms.uint32(0),
0157                         QualityTests = cms.VPSet(
0158                             cms.PSet(
0159                                 QualityTestName = cms.string(""),
0160                                 QualityTestHist = cms.string(""),
0161                                 QualityTestSummaryEnabled = cms.uint32(0)
0162                                 )
0163                             )
0164                         ),     
0165                     # FIXME  what are the histograms to be tested?                            
0166                     cms.PSet(
0167                         SystemLabel = cms.string("DTTF"),
0168                         HwValLabel = cms.string("DTF"),
0169                         SystemDisable  = cms.uint32(0),
0170                         QualityTests = cms.VPSet(
0171                             cms.PSet(
0172                                 QualityTestName = cms.string(""),
0173                                 QualityTestHist = cms.string(""),
0174                                 QualityTestSummaryEnabled = cms.uint32(0)
0175                                 )
0176                             )
0177                         ),                                  
0178                     cms.PSet(
0179                         SystemLabel = cms.string("CSC_TPG"),
0180                         HwValLabel = cms.string("CTP"),
0181                         SystemDisable  = cms.uint32(0),
0182                         QualityTests = cms.VPSet(
0183                             cms.PSet(
0184                                 QualityTestName = cms.string(""),
0185                                 QualityTestHist = cms.string(""),
0186                                 QualityTestSummaryEnabled = cms.uint32(0)
0187                                 )
0188                             )
0189                         ),                                  
0190                     cms.PSet(
0191                         SystemLabel = cms.string("CSCTF"),
0192                         HwValLabel = cms.string("CTF"),
0193                         SystemDisable  = cms.uint32(0),
0194                         QualityTests = cms.VPSet(
0195                             cms.PSet(
0196                                 QualityTestName = cms.string("DeadChannels_CSCTF_2D"),
0197                                 QualityTestHist = cms.string("L1T/L1TCSCTF/CSCTF_Chamber_Occupancies"),
0198                                 QualityTestSummaryEnabled = cms.uint32(1)
0199                                 ),
0200                             cms.PSet(
0201                                 QualityTestName = cms.string("HotChannels_CSCTF_2D"),
0202                                 QualityTestHist = cms.string("L1T/L1TCSCTF/CSCTF_Chamber_Occupancies"),
0203                                 QualityTestSummaryEnabled = cms.uint32(1)
0204                                 ),               
0205                             cms.PSet(
0206                                 QualityTestName = cms.string("DeadChannels_CSCTF_2D"),
0207                                 QualityTestHist = cms.string("L1T/L1TCSCTF/CSCTF_occupancies"),
0208                                 QualityTestSummaryEnabled = cms.uint32(1)
0209                                 ),
0210                             cms.PSet(
0211                                 QualityTestName = cms.string("HotChannels_CSCTF_2D"),
0212                                 QualityTestHist = cms.string("L1T/L1TCSCTF/CSCTF_occupancies"),
0213                                 QualityTestSummaryEnabled = cms.uint32(1)
0214                                 )               
0215                             )
0216                         ),                                  
0217                     cms.PSet(
0218                         SystemLabel = cms.string("RPC"),
0219                         HwValLabel = cms.string("RPC"),
0220                         SystemDisable  = cms.uint32(0),
0221                         QualityTests = cms.VPSet(
0222                             cms.PSet(
0223                                 QualityTestName = cms.string("DeadChannels_RPCTF_2D"),
0224                                 QualityTestHist = cms.string("L1T/L1TRPCTF/RPCTF_muons_eta_phi_bx0"),
0225                                 QualityTestSummaryEnabled = cms.uint32(1)
0226                                 ),
0227                             cms.PSet(
0228                                 QualityTestName = cms.string("HotChannels_RPCTF_2D"),
0229                                 QualityTestHist = cms.string("L1T/L1TRPCTF/RPCTF_muons_eta_phi_bx0"),
0230                                 QualityTestSummaryEnabled = cms.uint32(1)
0231                                 )               
0232                             )
0233                         ),                                  
0234                     cms.PSet(
0235                         SystemLabel = cms.string("GMT"),
0236                         HwValLabel = cms.string("GMT"),
0237                         SystemDisable  = cms.uint32(0),
0238                         QualityTests = cms.VPSet(
0239                             cms.PSet(
0240                                 QualityTestName = cms.string("DeadChannels_GMT_2D"),
0241                                 QualityTestHist = cms.string("L1T/L1TGMT/GMT_etaphi"),
0242                                 QualityTestSummaryEnabled = cms.uint32(1)
0243                                 ),
0244                             cms.PSet(
0245                                 QualityTestName = cms.string("HotChannels_GMT_2D"),
0246                                 QualityTestHist = cms.string("L1T/L1TGMT/GMT_etaphi"),
0247                                 QualityTestSummaryEnabled = cms.uint32(1)
0248                                 ),               
0249                             cms.PSet(
0250                                 QualityTestName = cms.string("CompareHist_GMT"),
0251                                 QualityTestHist = cms.string("L1T/L1TGMT/Regional_trigger"),
0252                                 QualityTestSummaryEnabled = cms.uint32(1)
0253                                 )              
0254                             )
0255                         ),                                  
0256                     cms.PSet(
0257                         SystemLabel = cms.string("GT"),
0258                         HwValLabel = cms.string("GT"),
0259                         SystemDisable  = cms.uint32(0),  
0260                         QualityTests = cms.VPSet(
0261                             cms.PSet(
0262                                 QualityTestName = cms.string(""),
0263                                 QualityTestHist = cms.string(""),
0264                                 QualityTestSummaryEnabled = cms.uint32(0)
0265                                 )
0266                             )
0267                         )
0268                     ),                                 
0269 
0270     #
0271     # for each L1 trigger object, give:
0272     #     - ObjectLabel:  object label as used in enum L1GtObject
0273     #     - ObjectDisable: emulator mask: if 1, the system is masked in the summary plot
0274     #
0275     # the position in the parameter set gives, in reverse order, the position in the reportSummaryMap
0276     # in the trigger object column (right column)
0277     L1Objects = cms.VPSet(
0278                     cms.PSet(
0279                         ObjectLabel = cms.string("TechTrig"),
0280                         ObjectDisable  = cms.uint32(0),
0281                         QualityTests = cms.VPSet(
0282                             cms.PSet(
0283                                 QualityTestName = cms.string(""),
0284                                 QualityTestHist = cms.string(""),
0285                                 QualityTestSummaryEnabled = cms.uint32(0)
0286                                 )
0287                             )
0288                         ),                                 
0289                     cms.PSet(
0290                         ObjectLabel = cms.string("GtExternal"),
0291                         ObjectDisable  = cms.uint32(0),
0292                         QualityTests = cms.VPSet(
0293                             cms.PSet(
0294                                 QualityTestName = cms.string(""),
0295                                 QualityTestHist = cms.string(""),
0296                                 QualityTestSummaryEnabled = cms.uint32(0)
0297                                 )
0298                             )
0299                         ),                                 
0300                     cms.PSet(
0301                         ObjectLabel = cms.string("HfRingEtSums"),
0302                         ObjectDisable  = cms.uint32(0),
0303                         QualityTests = cms.VPSet(
0304                             cms.PSet(
0305                                 QualityTestName = cms.string(""),
0306                                 QualityTestHist = cms.string(""),
0307                                 QualityTestSummaryEnabled = cms.uint32(0)
0308                                 )
0309                             )
0310                         ),                                 
0311                     cms.PSet(
0312                         ObjectLabel = cms.string("HfBitCounts"),
0313                         ObjectDisable  = cms.uint32(0),
0314                         QualityTests = cms.VPSet(
0315                             cms.PSet(
0316                                 QualityTestName = cms.string(""),
0317                                 QualityTestHist = cms.string(""),
0318                                 QualityTestSummaryEnabled = cms.uint32(0)
0319                                 )
0320                             )
0321                         ),                                 
0322                     cms.PSet(
0323                         ObjectLabel = cms.string("HTM"),
0324                         ObjectDisable  = cms.uint32(0),
0325                         QualityTests = cms.VPSet(
0326                             cms.PSet(
0327                                 QualityTestName = cms.string(""),
0328                                 QualityTestHist = cms.string(""),
0329                                 QualityTestSummaryEnabled = cms.uint32(0)
0330                                 )
0331                             )
0332                         ),                                 
0333                     cms.PSet(
0334                         ObjectLabel = cms.string("HTT"),
0335                         ObjectDisable  = cms.uint32(0),
0336                         QualityTests = cms.VPSet(
0337                             cms.PSet(
0338                                 QualityTestName = cms.string(""),
0339                                 QualityTestHist = cms.string(""),
0340                                 QualityTestSummaryEnabled = cms.uint32(0)
0341                                 )
0342                             )
0343                         ),                                 
0344                     cms.PSet(
0345                         ObjectLabel = cms.string("ETM"),
0346                         ObjectDisable  = cms.uint32(0),
0347                         QualityTests = cms.VPSet(
0348                             cms.PSet(
0349                                 QualityTestName = cms.string(""),
0350                                 QualityTestHist = cms.string(""),
0351                                 QualityTestSummaryEnabled = cms.uint32(0)
0352                                 )
0353                             )
0354                         ),                                 
0355                     cms.PSet(
0356                         ObjectLabel = cms.string("ETT"),
0357                         ObjectDisable  = cms.uint32(0),
0358                         QualityTests = cms.VPSet(
0359                             cms.PSet(
0360                                 QualityTestName = cms.string(""),
0361                                 QualityTestHist = cms.string(""),
0362                                 QualityTestSummaryEnabled = cms.uint32(0)
0363                                 )
0364                             )
0365                         ),                                 
0366                     cms.PSet(
0367                         ObjectLabel = cms.string("Tau"),
0368                         ObjectDisable  = cms.uint32(0),
0369                         QualityTests = cms.VPSet(
0370                             cms.PSet(
0371                                 QualityTestName = cms.string(""),
0372                                 QualityTestHist = cms.string(""),
0373                                 QualityTestSummaryEnabled = cms.uint32(0)
0374                                 )
0375                             )
0376                         ),                                 
0377                     cms.PSet(
0378                         ObjectLabel = cms.string("ForJet"),
0379                         ObjectDisable  = cms.uint32(0),
0380                         QualityTests = cms.VPSet(
0381                             cms.PSet(
0382                                 QualityTestName = cms.string(""),
0383                                 QualityTestHist = cms.string(""),
0384                                 QualityTestSummaryEnabled = cms.uint32(0)
0385                                 )
0386                             )
0387                         ),                                 
0388                     cms.PSet(
0389                         ObjectLabel = cms.string("CenJet"),
0390                         ObjectDisable  = cms.uint32(0),
0391                         QualityTests = cms.VPSet(
0392                             cms.PSet(
0393                                 QualityTestName = cms.string(""),
0394                                 QualityTestHist = cms.string(""),
0395                                 QualityTestSummaryEnabled = cms.uint32(0)
0396                                 )
0397                             )
0398                         ),                                 
0399                     cms.PSet(
0400                         ObjectLabel = cms.string("IsoEG"),
0401                         ObjectDisable  = cms.uint32(0),
0402                         QualityTests = cms.VPSet(
0403                             cms.PSet(
0404                                 QualityTestName = cms.string(""),
0405                                 QualityTestHist = cms.string(""),
0406                                 QualityTestSummaryEnabled = cms.uint32(0)
0407                                 )
0408                             )
0409                         ),                                 
0410                     cms.PSet(
0411                         ObjectLabel = cms.string("NoIsoEG"),
0412                         ObjectDisable  = cms.uint32(0),
0413                         QualityTests = cms.VPSet(
0414                             cms.PSet(
0415                                 QualityTestName = cms.string(""),
0416                                 QualityTestHist = cms.string(""),
0417                                 QualityTestSummaryEnabled = cms.uint32(0)
0418                                 )
0419                             )
0420                         ),                                 
0421                     cms.PSet(
0422                         ObjectLabel = cms.string("Mu"),
0423                         ObjectDisable  = cms.uint32(0),
0424                         QualityTests = cms.VPSet(
0425                             cms.PSet(
0426                                 QualityTestName = cms.string(""),
0427                                 QualityTestHist = cms.string(""),
0428                                 QualityTestSummaryEnabled = cms.uint32(0)
0429                                 )
0430                             )
0431                         )
0432                     ),                                
0433     #
0434     # fast over-mask a system: if the name of the system is in the list, the system will be masked
0435     # (the default mask value is given in L1Systems VPSet)             
0436     #
0437     DisableL1Systems = cms.vstring(),
0438     #
0439     # fast over-mask an object: if the name of the object is in the list, the object will be masked
0440     # (the default mask value is given in L1Objects VPSet)             
0441     # 
0442     DisableL1Objects =  cms.vstring()   
0443 
0444 )