Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2023-10-25 09:42:44

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 #   Chad Freer: Modified for running on 2018 EMTF DQM
0010 
0011 
0012 import FWCore.ParameterSet.Config as cms
0013 from DQMServices.Core.DQMEDHarvester import DQMEDHarvester
0014 
0015 l1tStage2EMTFEventInfoClient = DQMEDHarvester("L1TEMTFEventInfoClient",
0016     monitorDir = cms.untracked.string("L1T/L1TStage2EMTF"), ## Location of output EventInfo/reportSummaryContents
0017     histDir = cms.untracked.string("L1T/L1TStage2EMTF"),    ## Location of input histograms for quality tests
0018     
0019     # decide when to run and update the results of the quality tests
0020     # retrieval of quality test results must be consistent with the event / LS / Run execution
0021     # 
0022     runInEventLoop=cms.untracked.bool(False),
0023     runInEndLumi=cms.untracked.bool(True),
0024     runInEndRun=cms.untracked.bool(True),
0025     runInEndJob=cms.untracked.bool(False),
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     TrackObjects = cms.VPSet(
0041                     cms.PSet(
0042                         SystemLabel = cms.string("TrackBX"),
0043                         SystemDisable  = cms.uint32(0),
0044                         QualityTests = cms.VPSet(
0045                             cms.PSet(
0046                                 QualityTestName = cms.string("ContentSigma_Noisy_TrackBX"),
0047                                 QualityTestHist = cms.string("L1T/L1TStage2EMTF/emtfTrackBX"),
0048                                 QualityTestSummaryEnabled = cms.uint32(1)
0049                                 )
0050                             )  
0051                         ),
0052                     cms.PSet(
0053                         SystemLabel = cms.string("TrackPhi"),
0054                         SystemDisable  = cms.uint32(0),
0055                         QualityTests = cms.VPSet(
0056                             cms.PSet(
0057                                 QualityTestName = cms.string("ContentSigma_Noisy"),
0058                                 QualityTestHist = cms.string("L1T/L1TStage2EMTF/emtfTrackPhi"),
0059                                 QualityTestSummaryEnabled = cms.uint32(1)
0060                                 )
0061                             )  
0062                         ),  
0063                     ),  ## End TrackObjects = cms.VPSet(
0064 
0065     #
0066     # for each L1 trigger object, give:
0067     #     - ObjectLabel:  object label as used in enum L1GtObject
0068     #     - ObjectDisable: emulator mask: if 1, the system is masked in the summary plot
0069     #
0070     # the position in the parameter set gives, in reverse order, the position in the reportSummaryMap
0071     # in the trigger object column (right column)
0072     HitObjects = cms.VPSet(
0073                     cms.PSet(
0074                         HitLabel = cms.string("TrackBX"),
0075                         HitDisable  = cms.uint32(0),
0076                         QualityTests = cms.VPSet(
0077                             cms.PSet(
0078                                 QualityTestName = cms.string("ContentSigma_Dead_TrackBX"),
0079                                 QualityTestHist = cms.string("L1T/L1TStage2EMTF/emtfTrackBX"),
0080                                 QualityTestSummaryEnabled = cms.uint32(1)
0081                                 )
0082                             )  
0083                         ),
0084                     cms.PSet(
0085                         HitLabel = cms.string("TrackPhi"),
0086                         HitDisable  = cms.uint32(0),
0087                         QualityTests = cms.VPSet(
0088                             cms.PSet(
0089                                 QualityTestName = cms.string("ContentSigma_Dead"),
0090                                 QualityTestHist = cms.string("L1T/L1TStage2EMTF/emtfTrackPhi"),
0091                                 QualityTestSummaryEnabled = cms.uint32(1)
0092                                 )
0093                             )  
0094                         ),  
0095                     ),  ## End HitObjects = cms.VPSet(
0096     NoisyStrip = cms.VPSet(
0097                     cms.PSet(NoisyLabel = cms.string(" "), NoisyDisable  = cms.uint32(0),
0098                         QualityTests = cms.VPSet(
0099                             cms.PSet(QualityTestName = cms.string("Strip_Chamber_Noisy"), QualityTestHist = cms.string("L1T/L1TStage2EMTF/CSCInput/cscChamberStripMENeg42"), QualityTestSummaryEnabled = cms.uint32(1) ) ) ),
0100                     cms.PSet(NoisyLabel = cms.string(" "), NoisyDisable  = cms.uint32(0),
0101                         QualityTests = cms.VPSet(
0102                             cms.PSet(QualityTestName = cms.string("Strip_Chamber_Noisy"), QualityTestHist = cms.string("L1T/L1TStage2EMTF/CSCInput/cscChamberStripMENeg41"), QualityTestSummaryEnabled = cms.uint32(1) ) ) ),
0103                     cms.PSet(NoisyLabel = cms.string(" "), NoisyDisable  = cms.uint32(0),
0104                         QualityTests = cms.VPSet(
0105                             cms.PSet(QualityTestName = cms.string("Strip_Chamber_Noisy"), QualityTestHist = cms.string("L1T/L1TStage2EMTF/CSCInput/cscChamberStripMENeg32"), QualityTestSummaryEnabled = cms.uint32(1) ) ) ),
0106                     cms.PSet(NoisyLabel = cms.string(" "), NoisyDisable  = cms.uint32(0),
0107                         QualityTests = cms.VPSet(
0108                             cms.PSet(QualityTestName = cms.string("Strip_Chamber_Noisy"), QualityTestHist = cms.string("L1T/L1TStage2EMTF/CSCInput/cscChamberStripMENeg31"), QualityTestSummaryEnabled = cms.uint32(1) ) ) ),
0109                     cms.PSet(NoisyLabel = cms.string(" "), NoisyDisable  = cms.uint32(0),
0110                         QualityTests = cms.VPSet(
0111                             cms.PSet(QualityTestName = cms.string("Strip_Chamber_Noisy"), QualityTestHist = cms.string("L1T/L1TStage2EMTF/CSCInput/cscChamberStripMENeg22"), QualityTestSummaryEnabled = cms.uint32(1) ) ) ),
0112                     cms.PSet(NoisyLabel = cms.string(" "), NoisyDisable  = cms.uint32(0),
0113                         QualityTests = cms.VPSet(
0114                             cms.PSet(QualityTestName = cms.string("Strip_Chamber_Noisy"), QualityTestHist = cms.string("L1T/L1TStage2EMTF/CSCInput/cscChamberStripMENeg21"), QualityTestSummaryEnabled = cms.uint32(1) ) ) ),
0115                     cms.PSet(NoisyLabel = cms.string(" "), NoisyDisable  = cms.uint32(0),
0116                         QualityTests = cms.VPSet(
0117                             cms.PSet(QualityTestName = cms.string("Strip_Chamber_Noisy"), QualityTestHist = cms.string("L1T/L1TStage2EMTF/CSCInput/cscChamberStripMENeg13"), QualityTestSummaryEnabled = cms.uint32(1) ) ) ),
0118                     cms.PSet(NoisyLabel = cms.string(" "), NoisyDisable  = cms.uint32(0),
0119                         QualityTests = cms.VPSet(
0120                             cms.PSet(QualityTestName = cms.string("Strip_Chamber_Noisy"), QualityTestHist = cms.string("L1T/L1TStage2EMTF/CSCInput/cscChamberStripMENeg12"), QualityTestSummaryEnabled = cms.uint32(1) ) ) ),
0121                     cms.PSet(NoisyLabel = cms.string(" "), NoisyDisable  = cms.uint32(0),
0122                         QualityTests = cms.VPSet(
0123                             cms.PSet(QualityTestName = cms.string("Strip_Chamber_Noisy"), QualityTestHist = cms.string("L1T/L1TStage2EMTF/CSCInput/cscChamberStripMENeg11b"), QualityTestSummaryEnabled = cms.uint32(1) ) ) ),
0124                     cms.PSet(NoisyLabel = cms.string(" "), NoisyDisable  = cms.uint32(0),
0125                         QualityTests = cms.VPSet(
0126                             cms.PSet(QualityTestName = cms.string("Strip_Chamber_Noisy"), QualityTestHist = cms.string("L1T/L1TStage2EMTF/CSCInput/cscChamberStripMENeg11a"), QualityTestSummaryEnabled = cms.uint32(1) ) ) ),
0127                     cms.PSet(NoisyLabel = cms.string(" "), NoisyDisable  = cms.uint32(0),
0128                         QualityTests = cms.VPSet(
0129                             cms.PSet(QualityTestName = cms.string("Strip_Chamber_Noisy"), QualityTestHist = cms.string("L1T/L1TStage2EMTF/CSCInput/cscChamberStripMEPos11a"), QualityTestSummaryEnabled = cms.uint32(1) ) ) ),
0130                     cms.PSet(NoisyLabel = cms.string(" "), NoisyDisable  = cms.uint32(0),
0131                         QualityTests = cms.VPSet(
0132                             cms.PSet(QualityTestName = cms.string("Strip_Chamber_Noisy"), QualityTestHist = cms.string("L1T/L1TStage2EMTF/CSCInput/cscChamberStripMEPos11b"), QualityTestSummaryEnabled = cms.uint32(1) ) ) ),
0133                     cms.PSet(NoisyLabel = cms.string(" "), NoisyDisable  = cms.uint32(0),
0134                         QualityTests = cms.VPSet(
0135                             cms.PSet(QualityTestName = cms.string("Strip_Chamber_Noisy"), QualityTestHist = cms.string("L1T/L1TStage2EMTF/CSCInput/cscChamberStripMEPos12"), QualityTestSummaryEnabled = cms.uint32(1) ) ) ),
0136                     cms.PSet(NoisyLabel = cms.string(" "), NoisyDisable  = cms.uint32(0),
0137                         QualityTests = cms.VPSet(
0138                             cms.PSet(QualityTestName = cms.string("Strip_Chamber_Noisy"), QualityTestHist = cms.string("L1T/L1TStage2EMTF/CSCInput/cscChamberStripMEPos13"), QualityTestSummaryEnabled = cms.uint32(1) ) ) ),
0139                     cms.PSet(NoisyLabel = cms.string(" "), NoisyDisable  = cms.uint32(0),
0140                         QualityTests = cms.VPSet(
0141                             cms.PSet(QualityTestName = cms.string("Strip_Chamber_Noisy"), QualityTestHist = cms.string("L1T/L1TStage2EMTF/CSCInput/cscChamberStripMEPos21"), QualityTestSummaryEnabled = cms.uint32(1) ) ) ),
0142                     cms.PSet(NoisyLabel = cms.string(" "), NoisyDisable  = cms.uint32(0),
0143                         QualityTests = cms.VPSet(
0144                             cms.PSet(QualityTestName = cms.string("Strip_Chamber_Noisy"), QualityTestHist = cms.string("L1T/L1TStage2EMTF/CSCInput/cscChamberStripMEPos22"), QualityTestSummaryEnabled = cms.uint32(1) ) ) ),
0145                     cms.PSet(NoisyLabel = cms.string(" "), NoisyDisable  = cms.uint32(0),
0146                         QualityTests = cms.VPSet(
0147                             cms.PSet(QualityTestName = cms.string("Strip_Chamber_Noisy"), QualityTestHist = cms.string("L1T/L1TStage2EMTF/CSCInput/cscChamberStripMEPos31"), QualityTestSummaryEnabled = cms.uint32(1) ) ) ),
0148                     cms.PSet(NoisyLabel = cms.string(" "), NoisyDisable  = cms.uint32(0),
0149                         QualityTests = cms.VPSet(
0150                             cms.PSet(QualityTestName = cms.string("Strip_Chamber_Noisy"), QualityTestHist = cms.string("L1T/L1TStage2EMTF/CSCInput/cscChamberStripMEPos32"), QualityTestSummaryEnabled = cms.uint32(1) ) ) ),
0151                     cms.PSet(NoisyLabel = cms.string(" "), NoisyDisable  = cms.uint32(0),
0152                         QualityTests = cms.VPSet(
0153                             cms.PSet(QualityTestName = cms.string("Strip_Chamber_Noisy"), QualityTestHist = cms.string("L1T/L1TStage2EMTF/CSCInput/cscChamberStripMEPos41"), QualityTestSummaryEnabled = cms.uint32(1) ) ) ),
0154                     cms.PSet(NoisyLabel = cms.string(" "), NoisyDisable  = cms.uint32(0),
0155                         QualityTests = cms.VPSet(
0156                             cms.PSet(QualityTestName = cms.string("Strip_Chamber_Noisy"), QualityTestHist = cms.string("L1T/L1TStage2EMTF/CSCInput/cscChamberStripMEPos42"), QualityTestSummaryEnabled = cms.uint32(1) ) ) ),
0157                     ),  ## End HitObjects = cms.VPSet(
0158     DeadStrip = cms.VPSet(
0159                     cms.PSet(DeadLabel = cms.string(" "), DeadDisable  = cms.uint32(0),
0160                         QualityTests = cms.VPSet(
0161                             cms.PSet(QualityTestName = cms.string("Strip_Chamber_Dead"), QualityTestHist = cms.string("L1T/L1TStage2EMTF/CSCInput/cscChamberStripMENeg42"), QualityTestSummaryEnabled = cms.uint32(1) ) ) ),
0162                     cms.PSet(DeadLabel = cms.string(" "), DeadDisable  = cms.uint32(0),
0163                         QualityTests = cms.VPSet(
0164                             cms.PSet(QualityTestName = cms.string("Strip_Chamber_Dead"), QualityTestHist = cms.string("L1T/L1TStage2EMTF/CSCInput/cscChamberStripMENeg41"), QualityTestSummaryEnabled = cms.uint32(1) ) ) ),
0165                     cms.PSet(DeadLabel = cms.string(" "), DeadDisable  = cms.uint32(0),
0166                         QualityTests = cms.VPSet(
0167                             cms.PSet(QualityTestName = cms.string("Strip_Chamber_Dead"), QualityTestHist = cms.string("L1T/L1TStage2EMTF/CSCInput/cscChamberStripMENeg32"), QualityTestSummaryEnabled = cms.uint32(1) ) ) ),
0168                     cms.PSet(DeadLabel = cms.string(" "), DeadDisable  = cms.uint32(0),
0169                         QualityTests = cms.VPSet(
0170                             cms.PSet(QualityTestName = cms.string("Strip_Chamber_Dead"), QualityTestHist = cms.string("L1T/L1TStage2EMTF/CSCInput/cscChamberStripMENeg31"), QualityTestSummaryEnabled = cms.uint32(1) ) ) ),
0171                     cms.PSet(DeadLabel = cms.string(" "), DeadDisable  = cms.uint32(0),
0172                         QualityTests = cms.VPSet(
0173                             cms.PSet(QualityTestName = cms.string("Strip_Chamber_Dead"), QualityTestHist = cms.string("L1T/L1TStage2EMTF/CSCInput/cscChamberStripMENeg22"), QualityTestSummaryEnabled = cms.uint32(1) ) ) ),
0174                     cms.PSet(DeadLabel = cms.string(" "), DeadDisable  = cms.uint32(0),
0175                         QualityTests = cms.VPSet(
0176                             cms.PSet(QualityTestName = cms.string("Strip_Chamber_Dead"), QualityTestHist = cms.string("L1T/L1TStage2EMTF/CSCInput/cscChamberStripMENeg21"), QualityTestSummaryEnabled = cms.uint32(1) ) ) ),
0177                     cms.PSet(DeadLabel = cms.string(" "), DeadDisable  = cms.uint32(0),
0178                         QualityTests = cms.VPSet(
0179                             cms.PSet(QualityTestName = cms.string("Strip_Chamber_Dead"), QualityTestHist = cms.string("L1T/L1TStage2EMTF/CSCInput/cscChamberStripMENeg13"), QualityTestSummaryEnabled = cms.uint32(1) ) ) ),
0180                     cms.PSet(DeadLabel = cms.string(" "), DeadDisable  = cms.uint32(0),
0181                         QualityTests = cms.VPSet(
0182                             cms.PSet(QualityTestName = cms.string("Strip_Chamber_Dead"), QualityTestHist = cms.string("L1T/L1TStage2EMTF/CSCInput/cscChamberStripMENeg12"), QualityTestSummaryEnabled = cms.uint32(1) ) ) ),
0183                     cms.PSet(DeadLabel = cms.string(" "), DeadDisable  = cms.uint32(0),
0184                         QualityTests = cms.VPSet(
0185                             cms.PSet(QualityTestName = cms.string("Strip_Chamber_Dead"), QualityTestHist = cms.string("L1T/L1TStage2EMTF/CSCInput/cscChamberStripMENeg11b"), QualityTestSummaryEnabled = cms.uint32(1) ) ) ),
0186                     cms.PSet(DeadLabel = cms.string(" "), DeadDisable  = cms.uint32(0),
0187                         QualityTests = cms.VPSet(
0188                             cms.PSet(QualityTestName = cms.string("Strip_Chamber_Dead"), QualityTestHist = cms.string("L1T/L1TStage2EMTF/CSCInput/cscChamberStripMENeg11a"), QualityTestSummaryEnabled = cms.uint32(1) ) ) ),
0189                     cms.PSet(DeadLabel = cms.string(" "), DeadDisable  = cms.uint32(0),
0190                         QualityTests = cms.VPSet(
0191                             cms.PSet(QualityTestName = cms.string("Strip_Chamber_Dead"), QualityTestHist = cms.string("L1T/L1TStage2EMTF/CSCInput/cscChamberStripMEPos11a"), QualityTestSummaryEnabled = cms.uint32(1) ) ) ),
0192                     cms.PSet(DeadLabel = cms.string(" "), DeadDisable  = cms.uint32(0),
0193                         QualityTests = cms.VPSet(
0194                             cms.PSet(QualityTestName = cms.string("Strip_Chamber_Dead"), QualityTestHist = cms.string("L1T/L1TStage2EMTF/CSCInput/cscChamberStripMEPos11b"), QualityTestSummaryEnabled = cms.uint32(1) ) ) ),
0195                     cms.PSet(DeadLabel = cms.string(" "), DeadDisable  = cms.uint32(0),
0196                         QualityTests = cms.VPSet(
0197                             cms.PSet(QualityTestName = cms.string("Strip_Chamber_Dead"), QualityTestHist = cms.string("L1T/L1TStage2EMTF/CSCInput/cscChamberStripMEPos12"), QualityTestSummaryEnabled = cms.uint32(1) ) ) ),
0198                     cms.PSet(DeadLabel = cms.string(" "), DeadDisable  = cms.uint32(0),
0199                         QualityTests = cms.VPSet(
0200                             cms.PSet(QualityTestName = cms.string("Strip_Chamber_Dead"), QualityTestHist = cms.string("L1T/L1TStage2EMTF/CSCInput/cscChamberStripMEPos13"), QualityTestSummaryEnabled = cms.uint32(1) ) ) ),
0201                     cms.PSet(DeadLabel = cms.string(" "), DeadDisable  = cms.uint32(0),
0202                         QualityTests = cms.VPSet(
0203                             cms.PSet(QualityTestName = cms.string("Strip_Chamber_Dead"), QualityTestHist = cms.string("L1T/L1TStage2EMTF/CSCInput/cscChamberStripMEPos21"), QualityTestSummaryEnabled = cms.uint32(1) ) ) ),
0204                     cms.PSet(DeadLabel = cms.string(" "), DeadDisable  = cms.uint32(0),
0205                         QualityTests = cms.VPSet(
0206                             cms.PSet(QualityTestName = cms.string("Strip_Chamber_Dead"), QualityTestHist = cms.string("L1T/L1TStage2EMTF/CSCInput/cscChamberStripMEPos22"), QualityTestSummaryEnabled = cms.uint32(1) ) ) ),
0207                     cms.PSet(DeadLabel = cms.string(" "), DeadDisable  = cms.uint32(0),
0208                         QualityTests = cms.VPSet(
0209                             cms.PSet(QualityTestName = cms.string("Strip_Chamber_Dead"), QualityTestHist = cms.string("L1T/L1TStage2EMTF/CSCInput/cscChamberStripMEPos31"), QualityTestSummaryEnabled = cms.uint32(1) ) ) ),
0210                     cms.PSet(DeadLabel = cms.string(" "), DeadDisable  = cms.uint32(0),
0211                         QualityTests = cms.VPSet(
0212                             cms.PSet(QualityTestName = cms.string("Strip_Chamber_Dead"), QualityTestHist = cms.string("L1T/L1TStage2EMTF/CSCInput/cscChamberStripMEPos32"), QualityTestSummaryEnabled = cms.uint32(1) ) ) ),
0213                     cms.PSet(DeadLabel = cms.string(" "), DeadDisable  = cms.uint32(0),
0214                         QualityTests = cms.VPSet(
0215                             cms.PSet(QualityTestName = cms.string("Strip_Chamber_Dead"), QualityTestHist = cms.string("L1T/L1TStage2EMTF/CSCInput/cscChamberStripMEPos41"), QualityTestSummaryEnabled = cms.uint32(1) ) ) ),
0216                     cms.PSet(DeadLabel = cms.string(" "), DeadDisable  = cms.uint32(0),
0217                         QualityTests = cms.VPSet(
0218                             cms.PSet(QualityTestName = cms.string("Strip_Chamber_Dead"), QualityTestHist = cms.string("L1T/L1TStage2EMTF/CSCInput/cscChamberStripMEPos42"), QualityTestSummaryEnabled = cms.uint32(1) ) ) ),
0219                     ),  ## End HitObjects = cms.VPSet(
0220     #
0221     # fast over-mask a system: if the name of the system is in the list, the system will be masked
0222     # (the default mask value is given in TrackObjects VPSet)             
0223     #
0224     DisableTrackObjects = cms.vstring(),
0225     #
0226     # fast over-mask an object: if the name of the object is in the list, the object will be masked
0227     # (the default mask value is given in HitObjects VPSet)             
0228     # 
0229     DisableHitObjects =  cms.vstring(),
0230     DisableNoisyStrip = cms.vstring(),
0231     DisableDeadStrip = cms.vstring()   
0232 
0233 )