Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2024-04-06 12:07:46

0001 import FWCore.ParameterSet.Config as cms
0002 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
0003 
0004 l1tdeCSCTPGCommon = cms.PSet(
0005     monitorDir = cms.string('L1TEMU/L1TdeCSCTPG'),
0006     ## ME1/1 combines trigger data from ME1/a and ME1/b
0007     chambers = cms.vstring("ME11", "ME12", "ME13", "ME21", "ME22",
0008                            "ME31", "ME32", "ME41", "ME42"),
0009     alctVars = cms.vstring("quality", "wiregroup", "bx"),
0010     alctNBin = cms.vuint32(6, 116, 20),
0011     alctMinBin = cms.vdouble(0, 0, 0),
0012     alctMaxBin = cms.vdouble(6, 116, 20),
0013     clctVars = cms.vstring(
0014         # For Run-2 eras
0015         "quality", "halfstrip", "pattern", "bend",
0016         # Added in Run-3 eras
0017         "quartstrip", "eighthstrip", "run3pattern",
0018         "slope", "compcode", "quartstripbit", "eighthstripbit"),
0019     clctNBin = cms.vuint32(16, 224, 16, 2, 448, 896, 5, 16, 410, 2, 2),
0020     clctMinBin = cms.vdouble(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0),
0021     clctMaxBin = cms.vdouble(16, 224, 16, 2, 448, 896, 5, 16, 410, 2, 2),
0022     lctVars = cms.vstring(
0023         # For Run-2 eras
0024         "quality", "wiregroup", "halfstrip", "pattern", "bend",
0025         # Added in Run-3 eras
0026         "quartstrip", "eighthstrip", "run3pattern",
0027         "slope", "quartstripbit", "eighthstripbit"),
0028     lctNBin = cms.vuint32(16, 116, 224, 16, 2, 448, 896, 5, 16, 2, 2),
0029     lctMinBin = cms.vdouble(0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0),
0030     lctMaxBin = cms.vdouble(16, 116, 224, 16, 2, 448, 896, 5, 16, 2, 2),
0031     # options when running on test data from the  B904 test-stands
0032     useB904ME11 = cms.bool(False),
0033     useB904ME21 = cms.bool(False),
0034     useB904ME234s2 = cms.bool(False),
0035     isRun3 = cms.bool(False),
0036     # B y default the DQM will make 2D summary plots. Do you also want
0037     # the very large number of 1D plots? Would recommend to keep it to
0038     # true so that it may help in the debugging process (S.D.)
0039     make1DPlots = cms.bool(True),
0040     preTriggerAnalysis = cms.bool(False)
0041 )
0042 
0043 l1tdeCSCTPG = DQMEDAnalyzer(
0044     "L1TdeCSCTPG",
0045     l1tdeCSCTPGCommon,
0046     dataALCT = cms.InputTag("muonCSCDigis","MuonCSCALCTDigi"),
0047     emulALCT = cms.InputTag("valCscStage2Digis"),
0048     dataCLCT = cms.InputTag("muonCSCDigis","MuonCSCCLCTDigi"),
0049     emulCLCT = cms.InputTag("valCscStage2Digis"),
0050     dataLCT = cms.InputTag("muonCSCDigis","MuonCSCCorrelatedLCTDigi"),
0051     emulLCT = cms.InputTag("valCscStage2Digis", "MPCSORTED"),
0052     emulpreCLCT = cms.InputTag("valCscStage2Digis"),
0053     dataEmul = cms.vstring("data","emul"),
0054 )
0055 
0056 # enable comparisons for Run-3 data members
0057 from Configuration.Eras.Modifier_run3_common_cff import run3_common
0058 run3_common.toModify( l1tdeCSCTPG,
0059                       isRun3 = True)