Back to home page

Project CMSSW displayed by LXR

 
 

    


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

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 # the uGT DQM modules
0004 from DQM.L1TMonitor.L1TStage2uGT_cfi import *
0005 from DQM.L1TMonitor.L1TStage2uGTTiming_cfi import *
0006 
0007 # Calo L2 output to uGT input comparison
0008 from DQM.L1TMonitor.L1TStage2uGTCaloLayer2Comp_cfi import *
0009 
0010 # uGT Board Comparison
0011 from DQM.L1TMonitor.L1TStage2uGTBoardComp_cff import *
0012 
0013 # compares the unpacked uGMT muon collection to the unpacked uGT muon collection
0014 # only muons that do not match are filled in the histograms
0015 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
0016 l1tStage2uGMTOutVsuGTIn = DQMEDAnalyzer(
0017     "L1TStage2MuonComp",
0018     muonCollection1 = cms.InputTag("gmtStage2Digis", "Muon"),
0019     muonCollection2 = cms.InputTag("gtStage2Digis", "Muon"),
0020     monitorDir = cms.untracked.string("L1T/L1TStage2uGT/uGMToutput_vs_uGTinput"),
0021     muonCollection1Title = cms.untracked.string("uGMT output muons"),
0022     muonCollection2Title = cms.untracked.string("uGT input muons"),
0023     summaryTitle = cms.untracked.string("Summary of comparison between uGMT output muons and uGT input muons"),
0024     ignoreBin = cms.untracked.vint32([1]), # ignore the BX range bin
0025     verbose = cms.untracked.bool(False),
0026 )
0027 
0028 # sequences
0029 l1tStage2uGTOnlineDQMSeq = cms.Sequence(
0030     l1tStage2uGT +
0031     l1tStage2uGTCaloLayer2Comp +
0032     l1tStage2uGMTOutVsuGTIn
0033 )
0034 
0035 _run3_l1tStage2uGTOnlineDQMSeq = cms.Sequence(
0036     l1tStage2uGT +
0037     l1tStage2uGTTiming +
0038     l1tStage2uGTCaloLayer2Comp +
0039     l1tStage2uGMTOutVsuGTIn
0040 )
0041 
0042 # validation sequence
0043 l1tStage2uGTValidationEventOnlineDQMSeq = cms.Sequence(
0044     l1tStage2uGTBoardCompSeq
0045 )
0046 
0047 
0048 from Configuration.Eras.Modifier_run3_common_cff import run3_common
0049 run3_common.toReplaceWith(l1tStage2uGTOnlineDQMSeq, _run3_l1tStage2uGTOnlineDQMSeq)