CMS 3D CMS Logo

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_5_3_14/src/DQM/L1TMonitorClient/python/L1TEMUEventInfoClient_cfi.py

Go to the documentation of this file.
00001 # L1 Emulator Event Info client cfi
00002 #
00003 #   authors previous versions - see CVS
00004 #
00005 #   V.M. Ghete 2010-10-22 revised version of L1 emulator DQM
00006 
00007 
00008 
00009 import FWCore.ParameterSet.Config as cms
00010 
00011 L1TEMUEventInfoClient = cms.EDAnalyzer("L1TEMUEventInfoClient",
00012     monitorDir = cms.untracked.string(''),
00013     
00014     # decide when to run and update the results of the quality tests
00015     # retrieval of quality test results must be consistent with the event / LS / Run execution
00016     # 
00017     runInEventLoop=cms.untracked.bool(False),
00018     runInEndLumi=cms.untracked.bool(True),
00019     runInEndRun=cms.untracked.bool(True),
00020     runInEndJob=cms.untracked.bool(False),
00021 
00022     #
00023     # for each L1 system, give:
00024     #     - SystemLabel:  system label
00025     #     - HwValLabel:   system label as used in hardware validation package 
00026     #                     (the package producing the ErrorFlag histogram)
00027     #     - SystemMask:   system mask: if 1, all quality tests for the system 
00028     #                     are masked in the summary plot
00029     #     - SystemFolder: the folder where the ErrorFlag histogram is looked for
00030     #
00031     # the position in the parameter set gives, in reverse order, the position in the reportSummaryMap
00032     # in the emulator column (left column)
00033     L1Systems = cms.VPSet(
00034                     cms.PSet(
00035                         SystemLabel = cms.string("ECAL_TPG"),
00036                         HwValLabel = cms.string("ETP"),
00037                         SystemMask  = cms.uint32(0),
00038                         SystemFolder = cms.string(""),
00039                         QualityTestName = cms.vstring("L1EmulatorECALErrorFlagQT"),
00040                         QualityTestHist = cms.vstring("ETPErrorFlag"),
00041                         QualityTestSummaryEnabled = cms.vuint32(0)                       
00042                         ),
00043                     cms.PSet(
00044                         SystemLabel = cms.string("HCAL_TPG"),
00045                         HwValLabel = cms.string("HTP"),
00046                         SystemMask  = cms.uint32(0),
00047                         SystemFolder = cms.string(""),
00048                         QualityTestName = cms.vstring("L1EmulatorHCALErrorFlagQT"),
00049                         QualityTestHist = cms.vstring("HTPErrorFlag"),
00050                         QualityTestSummaryEnabled = cms.vuint32(0)                       
00051                         ),
00052                     cms.PSet(
00053                         SystemLabel = cms.string("RCT"),
00054                         HwValLabel = cms.string("RCT"),
00055                         SystemMask  = cms.uint32(0),
00056                         SystemFolder = cms.string(""),
00057                         QualityTestName = cms.vstring("L1EmulatorRCTErrorFlagQT"),
00058                         QualityTestHist = cms.vstring("RCTErrorFlag"),
00059                         QualityTestSummaryEnabled = cms.vuint32(1)                       
00060                         ),
00061                     cms.PSet(
00062                         SystemLabel = cms.string("GCT"),
00063                         HwValLabel = cms.string("GCT"),
00064                         SystemMask  = cms.uint32(0),
00065                         SystemFolder = cms.string(""),
00066                         QualityTestName = cms.vstring("L1EmulatorGCTErrorFlagQT"),
00067                         QualityTestHist = cms.vstring("GCTErrorFlag"),
00068                         QualityTestSummaryEnabled = cms.vuint32(1)                       
00069                         ),
00070                     cms.PSet(
00071                         SystemLabel = cms.string("DT_TPG"),
00072                         HwValLabel = cms.string("DTP"),
00073                         SystemMask  = cms.uint32(0),
00074                         SystemFolder = cms.string(""),
00075                         QualityTestName = cms.vstring("L1EmulatorDTTPGErrorFlagQT"),
00076                         QualityTestHist = cms.vstring("DTPErrorFlag"),
00077                         QualityTestSummaryEnabled = cms.vuint32(0)                       
00078                         ),
00079                     cms.PSet(
00080                         SystemLabel = cms.string("DTTF"),
00081                         HwValLabel = cms.string("DTF"),
00082                         SystemMask  = cms.uint32(0),
00083                         SystemFolder = cms.string(""),
00084                         QualityTestName = cms.vstring("L1EmulatorDTTFErrorFlagQT"),
00085                         QualityTestHist = cms.vstring("DTFErrorFlag"),
00086                         QualityTestSummaryEnabled = cms.vuint32(1)                       
00087                         ),
00088                     cms.PSet(
00089                         SystemLabel = cms.string("CSC_TPG"),
00090                         HwValLabel = cms.string("CTP"),
00091                         SystemMask  = cms.uint32(0),
00092                         SystemFolder = cms.string(""),
00093                         QualityTestName = cms.vstring("L1EmulatorCSCTPGErrorFlagQT"),
00094                         QualityTestHist = cms.vstring("CTPErrorFlag"),
00095                         QualityTestSummaryEnabled = cms.vuint32(0)                       
00096                         ),
00097                     cms.PSet(
00098                         SystemLabel = cms.string("CSCTF"),
00099                         HwValLabel = cms.string("CTF"),
00100                         SystemMask  = cms.uint32(0),
00101                         SystemFolder = cms.string("L1TEMU/CSCTFexpert"),
00102                         QualityTestName = cms.vstring("L1EMulatorCSCTFDPhi12_ptLut",
00103                                                       "L1EMulatorCSCTFDPhi23_ptLut",
00104                                                       "L1EMulatorCSCTFEta_ptLut",
00105                                                       "L1EMulatorCSCTFMode_ptLut",
00106                                                       "L1EMulatorCSCTFFRBit_ptLut",
00107 
00108                                                       "L1EMulatorCSCTFPhi",
00109                                                       "L1EMulatorCSCTFEta",
00110                                                       "L1EMulatorCSCTFOcc",
00111                                                       "L1EMulatorCSCTFPt",
00112                                                       "L1EMulatorCSCTFQual",
00113 
00114                                                       "L1EMulatorCSCTF_dtStubPhi"),
00115                         QualityTestHist = cms.vstring("pt1Comp_1d",
00116                                                       "pt2Comp_1d",
00117                                                       "pt3Comp_1d",
00118                                                       "pt4Comp_1d",
00119                                                       "pt5Comp_1d",
00120 
00121                                                       "phiComp_1d",
00122                                                       "etaComp_1d",
00123                                                       "occComp_1d",
00124                                                       "ptComp_1d",
00125                                                       "qualComp_1d",
00126 
00127                                                       "dtStubPhi_1d"),
00128                         QualityTestSummaryEnabled = cms.vuint32(1,1,1,1,1,
00129                                                                 1,1,1,1,1,
00130                                                                 1)         
00131                         ),
00132                     cms.PSet(
00133                         SystemLabel = cms.string("RPC"),
00134                         HwValLabel = cms.string("RPC"),
00135                         SystemMask  = cms.uint32(0),
00136                         SystemFolder = cms.string(""),
00137                         QualityTestName = cms.vstring("L1EmulatorRPCErrorFlagQT"),
00138                         QualityTestHist = cms.vstring("RPCErrorFlag"),
00139                         QualityTestSummaryEnabled = cms.vuint32(1)                       
00140                         ),
00141                     cms.PSet(
00142                         SystemLabel = cms.string("GMT"),
00143                         HwValLabel = cms.string("GMT"),
00144                         SystemMask  = cms.uint32(0),
00145                         SystemFolder = cms.string(""),
00146                         QualityTestName = cms.vstring("L1EmulatorGMTErrorFlagQT"),
00147                         QualityTestHist = cms.vstring("GMTErrorFlag"),
00148                         QualityTestSummaryEnabled = cms.vuint32(1)                       
00149                         ),
00150                     cms.PSet(
00151                         SystemLabel = cms.string("GT"),
00152                         HwValLabel = cms.string("GT"),
00153                         SystemMask  = cms.uint32(0),
00154                         SystemFolder = cms.string("L1TEMU/GTexpert"),
00155                         QualityTestName = cms.vstring("L1EmulatorGTErrorFlagQT", "L1EmulatorDaqFdlDataEmulQT"),
00156                         QualityTestHist = cms.vstring("GTErrorFlag", "Daq_FdlDataEmul_0"),
00157                         QualityTestSummaryEnabled = cms.vuint32(1, 0)                       
00158                         )
00159                         
00160                      ),
00161     #
00162     # for each L1 trigger object, give:
00163     #     - ObjectLabel:  object label as used in enum L1GtObject
00164     #     - ObjectMask: emulator mask: if 1, the system is masked in the summary plot
00165     #
00166     # the position in the parameter set gives, in reverse order, the position in the reportSummaryMap
00167     # in the trigger object column (right column)
00168     L1Objects = cms.VPSet(
00169                     cms.PSet(
00170                         ObjectLabel = cms.string("TechTrig"),
00171                         ObjectMask  = cms.uint32(0),
00172                         ObjectFolder = cms.string(""),
00173                         QualityTestName = cms.vstring(),
00174                         QualityTestHist = cms.vstring(),
00175                         QualityTestSummaryEnabled = cms.vuint32()
00176                         ),
00177                     cms.PSet(
00178                         ObjectLabel = cms.string("GtExternal"),
00179                         ObjectMask  = cms.uint32(0),
00180                         ObjectFolder = cms.string(""),
00181                         QualityTestName = cms.vstring(),
00182                         QualityTestHist = cms.vstring(),
00183                         QualityTestSummaryEnabled = cms.vuint32()                       
00184                         ),
00185                     cms.PSet(
00186                         ObjectLabel = cms.string("HfRingEtSums"),
00187                         ObjectMask  = cms.uint32(0),
00188                         ObjectFolder = cms.string(""),
00189                         QualityTestName = cms.vstring(),
00190                         QualityTestHist = cms.vstring(),
00191                         QualityTestSummaryEnabled = cms.vuint32()
00192                         ),
00193                     cms.PSet(
00194                         ObjectLabel = cms.string("HfBitCounts"),
00195                         ObjectMask  = cms.uint32(0),
00196                         ObjectFolder = cms.string(""),
00197                         QualityTestName = cms.vstring(),
00198                         QualityTestHist = cms.vstring(),
00199                         QualityTestSummaryEnabled = cms.vuint32()
00200                         ),
00201                     cms.PSet(
00202                         ObjectLabel = cms.string("HTM"),
00203                         ObjectMask  = cms.uint32(0),
00204                         ObjectFolder = cms.string(""),
00205                         QualityTestName = cms.vstring(),
00206                         QualityTestHist = cms.vstring(),
00207                         QualityTestSummaryEnabled = cms.vuint32()
00208                         ),
00209                     cms.PSet(
00210                         ObjectLabel = cms.string("HTT"),
00211                         ObjectMask  = cms.uint32(0),
00212                         ObjectFolder = cms.string(""),
00213                         QualityTestName = cms.vstring(),
00214                         QualityTestHist = cms.vstring(),
00215                         QualityTestSummaryEnabled = cms.vuint32()
00216                         ),
00217                     cms.PSet(
00218                         ObjectLabel = cms.string("ETM"),
00219                         ObjectMask  = cms.uint32(0),
00220                         ObjectFolder = cms.string(""),
00221                         QualityTestName = cms.vstring(),
00222                         QualityTestHist = cms.vstring(),
00223                         QualityTestSummaryEnabled = cms.vuint32()
00224                         ),
00225                     cms.PSet(
00226                         ObjectLabel = cms.string("ETT"),
00227                         ObjectMask  = cms.uint32(0),
00228                         ObjectFolder = cms.string(""),
00229                         QualityTestName = cms.vstring(),
00230                         QualityTestHist = cms.vstring(),
00231                         QualityTestSummaryEnabled = cms.vuint32()
00232                         ),
00233                     cms.PSet(
00234                         ObjectLabel = cms.string("TauJet"),
00235                         ObjectMask  = cms.uint32(0),
00236                         ObjectFolder = cms.string(""),
00237                         QualityTestName = cms.vstring(),
00238                         QualityTestHist = cms.vstring(),
00239                         QualityTestSummaryEnabled = cms.vuint32()
00240                         ),
00241                     cms.PSet(
00242                         ObjectLabel = cms.string("ForJet"),
00243                         ObjectMask  = cms.uint32(0),
00244                         ObjectFolder = cms.string(""),
00245                         QualityTestName = cms.vstring(),
00246                         QualityTestHist = cms.vstring(),
00247                         QualityTestSummaryEnabled = cms.vuint32()
00248                         ),
00249                     cms.PSet(
00250                         ObjectLabel = cms.string("CenJet"),
00251                         ObjectMask  = cms.uint32(0),
00252                         ObjectFolder = cms.string(""),
00253                         QualityTestName = cms.vstring(),
00254                         QualityTestHist = cms.vstring(),
00255                         QualityTestSummaryEnabled = cms.vuint32()
00256                         ),
00257                     cms.PSet(
00258                         ObjectLabel = cms.string("IsoEG"),
00259                         ObjectMask  = cms.uint32(0),
00260                         ObjectFolder = cms.string(""),
00261                         QualityTestName = cms.vstring(),
00262                         QualityTestHist = cms.vstring(),
00263                         QualityTestSummaryEnabled = cms.vuint32()
00264                         ),
00265                     cms.PSet(
00266                         ObjectLabel = cms.string("NoIsoEG"),
00267                         ObjectMask  = cms.uint32(0),
00268                         ObjectFolder = cms.string(""),
00269                         QualityTestName = cms.vstring(),
00270                         QualityTestHist = cms.vstring(),
00271                         QualityTestSummaryEnabled = cms.vuint32()
00272                         ),
00273                     cms.PSet(
00274                         ObjectLabel = cms.string("Mu"),
00275                         ObjectMask  = cms.uint32(0),
00276                         ObjectFolder = cms.string("L1TEMU/GTexpert"),
00277                         QualityTestName = cms.vstring("L1EmulatorAlgorithmsMuQT"),
00278                         QualityTestHist = cms.vstring("GTErrorFlag"),
00279                         QualityTestSummaryEnabled = cms.vuint32(0)
00280                         )
00281                         
00282                      ),
00283     #
00284     # fast over-mask a system: if the name of the system is in the list, the system will be masked
00285     # (the default mask value is given in L1Systems VPSet)             
00286     #
00287     MaskL1Systems = cms.vstring(),
00288     #
00289     # fast over-mask an object: if the name of the object is in the list, the object will be masked
00290     # (the default mask value is given in L1Objects VPSet)             
00291     # 
00292     MaskL1Objects =  cms.vstring()   
00293 
00294 )