Back to home page

Project CMSSW displayed by LXR

 
 

    


File indexing completed on 2022-01-17 23:31:25

0001 import FWCore.ParameterSet.Config as cms
0002 
0003 from DQM.L1TMonitor.L1TdeStage2EMTF_cfi import *
0004 from DQM.L1TMonitor.L1TdeStage2RegionalShower_cfi import *
0005 
0006 # List of bins to ignore
0007 ignoreBinsDeStage2Emtf = [1]
0008 
0009 # compares the unpacked EMTF regional muon collection to the emulated EMTF regional muon collection
0010 # only muons that do not match are filled in the histograms
0011 from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer
0012 l1tdeStage2EmtfComp = DQMEDAnalyzer(
0013     "L1TStage2RegionalMuonCandComp",
0014     regionalMuonCollection1 = cms.InputTag("emtfStage2Digis"),
0015     regionalMuonCollection2 = cms.InputTag("valEmtfStage2Digis", "EMTF"),
0016     monitorDir = cms.untracked.string("L1TEMU/L1TdeStage2EMTF"),
0017     regionalMuonCollection1Title = cms.untracked.string("EMTF data"),
0018     regionalMuonCollection2Title = cms.untracked.string("EMTF emulator"),
0019     summaryTitle = cms.untracked.string("Summary of comparison between EMTF muons and EMTF emulator muons"),
0020     ignoreBadTrackAddress = cms.untracked.bool(True),
0021     ignoreBin = cms.untracked.vint32(ignoreBinsDeStage2Emtf),
0022     verbose = cms.untracked.bool(False),
0023 )
0024 
0025 # sequences
0026 l1tdeStage2EmtfOnlineDQMSeq = cms.Sequence(
0027     l1tdeStage2Emtf +
0028     l1tdeStage2EmtfComp
0029 )
0030 
0031 from Configuration.Eras.Modifier_run3_GEM_cff import run3_GEM
0032 _run3shower_l1tdeStage2EmtfOnlineDQMSeq = l1tdeStage2EmtfOnlineDQMSeq.copy()
0033 run3_GEM.toReplaceWith(l1tdeStage2EmtfOnlineDQMSeq, cms.Sequence(_run3shower_l1tdeStage2EmtfOnlineDQMSeq + l1tdeStage2RegionalShower))