monitorDir=ugmtEmuDqmDir, emulator=True) # the uGMT intermediate muon DQM modules from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer l1tStage2uGMTIntermediateBMTFEmul = DQMEDAnalyzer( "L1TStage2uGMTMuon", muonProducer=cms.InputTag(emulatorModule, "imdMuonsBMTF"), monitorDir=cms.untracked.string(ugmtEmuImdMuDqmDir + "/BMTF"), titlePrefix=cms.untracked.string("uGMT intermediate muon from BMTF "), verbose=cms.untracked.bool(False), displacedQuantities=cms.untracked.bool(False), ) ## Era: Run3_2021; Displaced muons from BMTF used in uGMT from Run-3 from Configuration.Eras.Modifier_stage2L1Trigger_2021_cff import stage2L1Trigger_2021 stage2L1Trigger_2021.toModify(l1tStage2uGMTIntermediateBMTFEmul, displacedQuantities=cms.untracked.bool(True)) l1tStage2uGMTIntermediateOMTFNegEmul = DQMEDAnalyzer( "L1TStage2uGMTMuon", muonProducer=cms.InputTag(emulatorModule, "imdMuonsOMTFNeg"), monitorDir=cms.untracked.string(ugmtEmuImdMuDqmDir + "/OMTF_neg"), titlePrefix=cms.untracked.string("uGMT intermediate muon from OMTF neg. "), verbose=cms.untracked.bool(False), ) l1tStage2uGMTIntermediateOMTFPosEmul = DQMEDAnalyzer( "L1TStage2uGMTMuon", muonProducer=cms.InputTag(emulatorModule, "imdMuonsOMTFPos"), monitorDir=cms.untracked.string(ugmtEmuImdMuDqmDir + "/OMTF_pos"), titlePrefix=cms.untracked.string("uGMT intermediate muon from OMTF pos. "), verbose=cms.untracked.bool(False),
CPPFInput=cms.InputTag('emtfStage2Digis'), CPPFEnable=cms.bool( True ), # Use CPPF-emulated clustered RPC hits from CPPF as the RPC hits ) simEmtfDigis = simEmtfDigisMC.clone() ## Load "Era" modules to adjust RPCEnable and Era (which controls the choice of PtAssignmentEngine) ## If neither 'Run2_2016' nor 'Run2_2017' are invoked, default 2018 settings are used ## Era configuration files are located in Configuration/Eras/python ## Era: Run2_2016 from Configuration.Eras.Modifier_stage2L1Trigger_cff import stage2L1Trigger stage2L1Trigger.toModify(simEmtfDigis, RPCEnable=False, Era='Run2_2016') ## Era: Run2_2017 from Configuration.Eras.Modifier_stage2L1Trigger_2017_cff import stage2L1Trigger_2017 stage2L1Trigger_2017.toModify(simEmtfDigis, RPCEnable=True, Era='Run2_2017') ## Era: Run2_2018 from Configuration.Eras.Modifier_stage2L1Trigger_2018_cff import stage2L1Trigger_2018 stage2L1Trigger_2018.toModify(simEmtfDigis, RPCEnable=True, Era='Run2_2018') ## Era: Run3_2021 from Configuration.Eras.Modifier_stage2L1Trigger_2021_cff import stage2L1Trigger_2021 stage2L1Trigger_2021.toModify(simEmtfDigis, RPCEnable=True, UseRun3CCLUT_OTMB=True, Era='Run3_2021')
FWId=cms.uint32(0x3000000), # First used uGMT firmware version lenSlinkHeader=cms.untracked.int32(8), lenSlinkTrailer=cms.untracked.int32(8)) ## Era: Run2_2016 from Configuration.Eras.Modifier_stage2L1Trigger_cff import stage2L1Trigger stage2L1Trigger.toModify(gmtStage2Raw, BMTFInputLabel=cms.InputTag("simBmtfDigis", "BMTF"), FWId=cms.uint32(0x3000000)) ## Era: Run2_2017 from Configuration.Eras.Modifier_stage2L1Trigger_2017_cff import stage2L1Trigger_2017 stage2L1Trigger_2017.toModify(gmtStage2Raw, BMTFInputLabel=cms.InputTag( "simBmtfDigis", "BMTF"), FWId=cms.uint32(0x4010000)) ### Era: Run2_2018 from Configuration.Eras.Modifier_stage2L1Trigger_2018_cff import stage2L1Trigger_2018 stage2L1Trigger_2018.toModify(gmtStage2Raw, BMTFInputLabel=cms.InputTag( "simBmtfDigis", "BMTF"), FWId=cms.uint32(0x4010000)) ### Era: Run3_2021 from Configuration.Eras.Modifier_stage2L1Trigger_2021_cff import stage2L1Trigger_2021 stage2L1Trigger_2021.toModify(gmtStage2Raw, BMTFInputLabel=cms.InputTag( "simKBmtfDigis", "BMTF"), FWId=cms.uint32(0x7000000))
autoCancelMode=cms.bool(False), bmtfCancelMode=cms.string("tracks"), emtfCancelMode=cms.string("coordinate")) ## Era: Run2_2017 from Configuration.Eras.Modifier_stage2L1Trigger_2017_cff import stage2L1Trigger_2017 stage2L1Trigger_2017.toModify(simGmtStage2Digis, barrelTFInput=cms.InputTag( "simBmtfDigis", "BMTF"), autoCancelMode=cms.bool(False), bmtfCancelMode=cms.string("tracks"), emtfCancelMode=cms.string("coordinate")) ### Era: Run2_2018 from Configuration.Eras.Modifier_stage2L1Trigger_2018_cff import stage2L1Trigger_2018 stage2L1Trigger_2018.toModify(simGmtStage2Digis, barrelTFInput=cms.InputTag( "simBmtfDigis", "BMTF"), autoCancelMode=cms.bool(False), bmtfCancelMode=cms.string("tracks"), emtfCancelMode=cms.string("coordinate")) ### Era: Run3_2021 from Configuration.Eras.Modifier_stage2L1Trigger_2021_cff import stage2L1Trigger_2021 stage2L1Trigger_2021.toModify(simGmtStage2Digis, barrelTFInput=cms.InputTag( "simKBmtfDigis", "BMTF"), autoCancelMode=cms.bool(False), bmtfCancelMode=cms.string("kftracks"), emtfCancelMode=cms.string("coordinate"))
from DQM.L1TMonitor.L1TStage2uGMTInputBxDistributions_cfi import * # the uGMT intermediate muon DQM modules from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer l1tStage2uGMTIntermediateBMTF = DQMEDAnalyzer( "L1TStage2uGMTMuon", muonProducer = cms.InputTag("gmtStage2Digis", "imdMuonsBMTF"), monitorDir = cms.untracked.string("L1T/L1TStage2uGMT/intermediate_muons/BMTF"), titlePrefix = cms.untracked.string("uGMT intermediate muon from BMTF "), verbose = cms.untracked.bool(False), displacedQuantities = cms.untracked.bool(False) ) ## Era: Run3_2021; Displaced muons from BMTF used in uGMT from Run-3 from Configuration.Eras.Modifier_stage2L1Trigger_2021_cff import stage2L1Trigger_2021 stage2L1Trigger_2021.toModify(l1tStage2uGMTIntermediateBMTF, displacedQuantities = cms.untracked.bool(True)) l1tStage2uGMTIntermediateOMTFNeg = DQMEDAnalyzer( "L1TStage2uGMTMuon", muonProducer = cms.InputTag("gmtStage2Digis", "imdMuonsOMTFNeg"), monitorDir = cms.untracked.string("L1T/L1TStage2uGMT/intermediate_muons/OMTF_neg"), titlePrefix = cms.untracked.string("uGMT intermediate muon from OMTF neg. "), verbose = cms.untracked.bool(False), displacedQuantities = cms.untracked.bool(False) ) l1tStage2uGMTIntermediateOMTFPos = DQMEDAnalyzer( "L1TStage2uGMTMuon", muonProducer = cms.InputTag("gmtStage2Digis", "imdMuonsOMTFPos"), monitorDir = cms.untracked.string("L1T/L1TStage2uGMT/intermediate_muons/OMTF_pos"), titlePrefix = cms.untracked.string("uGMT intermediate muon from OMTF pos. "),
import FWCore.ParameterSet.Config as cms # the uGMT DQM module from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer l1tStage2uGMT = DQMEDAnalyzer( "L1TStage2uGMT", bmtfProducer=cms.InputTag("gmtStage2Digis", "BMTF"), omtfProducer=cms.InputTag("gmtStage2Digis", "OMTF"), emtfProducer=cms.InputTag("gmtStage2Digis", "EMTF"), emtfShowerProducer=cms.InputTag("gmtStage2Digis", "EMTF"), muonProducer=cms.InputTag("gmtStage2Digis", "Muon"), muonShowerProducer=cms.InputTag("gmtStage2Digis", "MuonShower"), monitorDir=cms.untracked.string("L1T/L1TStage2uGMT"), emulator=cms.untracked.bool(False), verbose=cms.untracked.bool(False), displacedQuantities=cms.untracked.bool(False), hadronicShowers=cms.untracked.bool(False)) ## Era: Run3_2021; Displaced muons from BMTF used in uGMT from Run-3 from Configuration.Eras.Modifier_stage2L1Trigger_2021_cff import stage2L1Trigger_2021 stage2L1Trigger_2021.toModify(l1tStage2uGMT, displacedQuantities=cms.untracked.bool(True), hadronicShowers=cms.untracked.bool(True))
toGet=cms.VPSet( cms.PSet(record=cms.string('L1TMuonGlobalParamsO2ORcd'), tag=cms.string("L1TMuonGlobalParamsPrototype_Stage2v0_hlt")))) ## Era: Run2_2016 from Configuration.Eras.Modifier_stage2L1Trigger_cff import stage2L1Trigger stage2L1Trigger.toModify(simGmtStage2Digis, barrelTFInput=cms.InputTag("simBmtfDigis", "BMTF")) ## Era: Run2_2017 from Configuration.Eras.Modifier_stage2L1Trigger_2017_cff import stage2L1Trigger_2017 stage2L1Trigger_2017.toModify(simGmtStage2Digis, barrelTFInput=cms.InputTag( "simBmtfDigis", "BMTF")) ### Era: Run2_2018 from Configuration.Eras.Modifier_stage2L1Trigger_2018_cff import stage2L1Trigger_2018 stage2L1Trigger_2018.toModify(simGmtStage2Digis, barrelTFInput=cms.InputTag( "simBmtfDigis", "BMTF")) ### Era: Run3_2021 from Configuration.Eras.Modifier_stage2L1Trigger_2021_cff import stage2L1Trigger_2021 stage2L1Trigger_2021.toModify(simGmtStage2Digis, barrelTFInput=cms.InputTag( "simKBmtfDigis", "BMTF"))
bmtfDigis = cms.EDProducer( "L1TRawToDigi", Setup = cms.string("stage2::BMTFSetup"), InputLabel = cms.InputTag("rawDataCollector"), FedIds = cms.vint32(1376,1377), FWId = cms.uint32(1), FWOverride = cms.bool(False), lenSlinkHeader = cms.untracked.int32(8), lenSlinkTrailer = cms.untracked.int32(8), lenAMCHeader = cms.untracked.int32(8), lenAMCTrailer = cms.untracked.int32(0), lenAMC13Header = cms.untracked.int32(8), lenAMC13Trailer = cms.untracked.int32(8) ) ## Era: Run2_2016 from Configuration.Eras.Modifier_stage2L1Trigger_cff import stage2L1Trigger stage2L1Trigger.toModify(bmtfDigis, FWId = cms.uint32(0x93500160)) ## Era: Run2_2017 from Configuration.Eras.Modifier_stage2L1Trigger_2017_cff import stage2L1Trigger_2017 stage2L1Trigger_2017.toModify(bmtfDigis, FWId = cms.uint32(0x93500160)) ### Era: Run2_2018 from Configuration.Eras.Modifier_stage2L1Trigger_2018_cff import stage2L1Trigger_2018 stage2L1Trigger_2018.toModify(bmtfDigis, FWId = cms.uint32(0x93500160)) ### Era: Run3_2021 from Configuration.Eras.Modifier_stage2L1Trigger_2021_cff import stage2L1Trigger_2021 stage2L1Trigger_2021.toModify(bmtfDigis, FWId = cms.uint32(0x95030160))
# TowerInputLabel = cms.InputTag("simCaloStage2Digis"), GtInputTag = cms.InputTag("simGtStage2Digis"), ExtInputTag = cms.InputTag("simGtExtFakeStage2Digis"), MuonInputTag = cms.InputTag("simGmtStage2Digis"), ShowerInputLabel = cms.InputTag("simGmtShowerDigis"), EGammaInputTag = cms.InputTag("simCaloStage2Digis"), TauInputTag = cms.InputTag("simCaloStage2Digis"), JetInputTag = cms.InputTag("simCaloStage2Digis"), EtSumInputTag = cms.InputTag("simCaloStage2Digis"), FedId = cms.int32(1404), FWId = cms.uint32(0x1130), # FW w/ displaced muon info. lenSlinkHeader = cms.untracked.int32(8), lenSlinkTrailer = cms.untracked.int32(8) ) ## Era: Run2_2016 from Configuration.Eras.Modifier_stage2L1Trigger_cff import stage2L1Trigger stage2L1Trigger.toModify(gtStage2Raw, FWId = cms.uint32(0x1000)) # FW w/o coordinates at vtx. ## Era: Run2_2017 from Configuration.Eras.Modifier_stage2L1Trigger_2017_cff import stage2L1Trigger_2017 stage2L1Trigger_2017.toModify(gtStage2Raw, FWId = cms.uint32(0x10A6)) # FW w/ vtx extrapolation. ### Era: Run2_2018 from Configuration.Eras.Modifier_stage2L1Trigger_2018_cff import stage2L1Trigger_2018 stage2L1Trigger_2018.toModify(gtStage2Raw, FWId = cms.uint32(0x10F2)) # FW w/ new HI centrality variables & vtx extrapolation. ### Era: Run3_2021 from Configuration.Eras.Modifier_stage2L1Trigger_2021_cff import stage2L1Trigger_2021 stage2L1Trigger_2021.toModify(gtStage2Raw, FWId = cms.uint32(0x10f01)) # FW w/ displaced muon info and hadronic showers.
Setup=cms.string("stage2::BMTFSetup"), InputLabel=cms.InputTag("simBmtfDigis", "BMTF"), InputLabel2=cms.InputTag("simTwinMuxDigis"), FedId=cms.int32(1376), FWId=cms.uint32(1), ) ## Era: Run2_2016 from Configuration.Eras.Modifier_stage2L1Trigger_cff import stage2L1Trigger stage2L1Trigger.toModify(bmtfStage2Raw, InputLabel=cms.InputTag("simBmtfDigis", "BMTF"), FWId=cms.uint32(1)) ## Era: Run2_2017 from Configuration.Eras.Modifier_stage2L1Trigger_2017_cff import stage2L1Trigger_2017 stage2L1Trigger_2017.toModify(bmtfStage2Raw, InputLabel=cms.InputTag("simBmtfDigis", "BMTF"), FWId=cms.uint32(1)) ### Era: Run2_2018 from Configuration.Eras.Modifier_stage2L1Trigger_2018_cff import stage2L1Trigger_2018 stage2L1Trigger_2018.toModify(bmtfStage2Raw, InputLabel=cms.InputTag("simBmtfDigis", "BMTF"), FWId=cms.uint32(1)) ### Era: Run3_2021 from Configuration.Eras.Modifier_stage2L1Trigger_2021_cff import stage2L1Trigger_2021 stage2L1Trigger_2021.toModify(bmtfStage2Raw, InputLabel=cms.InputTag("simKBmtfDigis", "BMTF"), FWId=cms.uint32(2499805536))
errHistNumStr = 'errorSummaryNum' errHistDenStr = 'errorSummaryDen' # Muons l1tStage2uGMTEmulatorCompRatioClient = DQMEDHarvester("L1TStage2RatioClient", monitorDir = cms.untracked.string(ugmtEmuDEDqmDir), inputNum = cms.untracked.string(ugmtEmuDEDqmDir+'/'+errHistNumStr), inputDen = cms.untracked.string(ugmtEmuDEDqmDir+'/'+errHistDenStr), ratioName = cms.untracked.string('mismatchRatio'), ratioTitle = cms.untracked.string('Summary of mismatch rates between uGMT muons and uGMT emulator muons'), yAxisTitle = cms.untracked.string('# mismatch / # total'), binomialErr = cms.untracked.bool(True) ) ## Era: Run3_2021; Ignore BX range mismatches. This is necessary because we only read out the central BX for the inputs, so that is what the emulator has to work on. from Configuration.Eras.Modifier_stage2L1Trigger_2021_cff import stage2L1Trigger_2021 stage2L1Trigger_2021.toModify(l1tStage2uGMTEmulatorCompRatioClient, ignoreBin = cms.untracked.vint32(ignoreFinalsBinsRun3)) # Showers l1tStage2uGMTShowerEmulatorCompRatioClient = DQMEDHarvester("L1TStage2RatioClient", monitorDir = cms.untracked.string(ugmtEmuDEDqmDir+"/Muon showers"), inputNum = cms.untracked.string(ugmtEmuDEDqmDir+'/Muon showers/'+errHistNumStr), inputDen = cms.untracked.string(ugmtEmuDEDqmDir+'/Muon showers/'+errHistDenStr), ratioName = cms.untracked.string('mismatchRatio'), ratioTitle = cms.untracked.string('Summary of mismatch rates between uGMT showers and uGMT emulator showers'), yAxisTitle = cms.untracked.string('# mismatch / # total'), binomialErr = cms.untracked.bool(True), ignoreBin = cms.untracked.vint32(ignoreFinalsBinsRun3), # Ignore BX range mismatches. This is necessary because we only read out the central BX for the inputs, so that is what the emulator has to work on. ) # intermediate muons titleStr = 'Summary of mismatch rates between uGMT intermediate muons and uGMT emulator intermediate muons from '
simEmtfDigis = simEmtfDigisMC.clone() ## Load "Era" modules to adjust RPCEnable and Era (which controls the choice of PtAssignmentEngine) ## If neither 'Run2_2016' nor 'Run2_2017' are invoked, default 2018 settings are used ## Era configuration files are located in Configuration/Eras/python ## Era: Run2_2016 from Configuration.Eras.Modifier_stage2L1Trigger_cff import stage2L1Trigger stage2L1Trigger.toModify(simEmtfDigis, RPCEnable=cms.bool(False), Era=cms.string('Run2_2016')) ## Era: Run2_2017 from Configuration.Eras.Modifier_stage2L1Trigger_2017_cff import stage2L1Trigger_2017 stage2L1Trigger_2017.toModify(simEmtfDigis, RPCEnable=cms.bool(True), Era=cms.string('Run2_2017')) ## Era: Run2_2018 from Configuration.Eras.Modifier_stage2L1Trigger_2018_cff import stage2L1Trigger_2018 stage2L1Trigger_2018.toModify(simEmtfDigis, RPCEnable=cms.bool(True), Era=cms.string('Run2_2018')) ## Era: Run3_2021 from Configuration.Eras.Modifier_stage2L1Trigger_2021_cff import stage2L1Trigger_2021 stage2L1Trigger_2021.toModify(simEmtfDigis, RPCEnable=cms.bool(True), UseRun3CCLUT_OTMB=cms.bool(False), Era=cms.string('Run3_2021'))
import FWCore.ParameterSet.Config as cms # the uGMT DQM module from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer l1tStage2uGMTInputBxDistributions = DQMEDAnalyzer( "L1TStage2uGMTInputBxDistributions", bmtfProducer = cms.InputTag("gmtStage2Digis", "BMTF"), omtfProducer = cms.InputTag("gmtStage2Digis", "OMTF"), emtfProducer = cms.InputTag("gmtStage2Digis", "EMTF"), emtfShowerProducer = cms.InputTag("gmtStage2Digis", "EMTF"), muonProducer = cms.InputTag("gmtStage2Digis", "Muon"), muonShowerProducer = cms.InputTag("gmtStage2Digis", "MuonShower"), monitorDir = cms.untracked.string("L1T/L1TStage2uGMT"), emulator = cms.untracked.bool(False), verbose = cms.untracked.bool(False), hadronicShowers = cms.untracked.bool(False) ) ## Era: Run3_2021; Displaced muons from BMTF used in uGMT from Run-3 from Configuration.Eras.Modifier_stage2L1Trigger_2021_cff import stage2L1Trigger_2021 stage2L1Trigger_2021.toModify(l1tStage2uGMTInputBxDistributions, hadronicShowers = cms.untracked.bool(True))
ExtInputTag=cms.InputTag("simGtExtFakeStage2Digis"), MuonInputTag=cms.InputTag("simGmtStage2Digis"), EGammaInputTag=cms.InputTag("simCaloStage2Digis"), TauInputTag=cms.InputTag("simCaloStage2Digis"), JetInputTag=cms.InputTag("simCaloStage2Digis"), EtSumInputTag=cms.InputTag("simCaloStage2Digis"), FedId=cms.int32(1404), FWId=cms.uint32(0x1120), # FW w/ displaced muon info. lenSlinkHeader=cms.untracked.int32(8), lenSlinkTrailer=cms.untracked.int32(8)) ## Era: Run2_2016 from Configuration.Eras.Modifier_stage2L1Trigger_cff import stage2L1Trigger stage2L1Trigger.toModify(gtStage2Raw, FWId=cms.uint32(0x1000)) # FW w/o coordinates at vtx. ## Era: Run2_2017 from Configuration.Eras.Modifier_stage2L1Trigger_2017_cff import stage2L1Trigger_2017 stage2L1Trigger_2017.toModify( gtStage2Raw, FWId=cms.uint32(0x10A6)) # FW w/ vtx extrapolation. ### Era: Run2_2018 from Configuration.Eras.Modifier_stage2L1Trigger_2018_cff import stage2L1Trigger_2018 stage2L1Trigger_2018.toModify(gtStage2Raw, FWId=cms.uint32( 0x10F2)) # FW w/ new HI centrality variables & vtx extrapolation. ### Era: Run3_2021 from Configuration.Eras.Modifier_stage2L1Trigger_2021_cff import stage2L1Trigger_2021 stage2L1Trigger_2021.toModify( gtStage2Raw, FWId=cms.uint32(0x1120)) # FW w/ displaced muon info.
from DQM.L1TMonitor.L1TStage2uGMT_cfi import * # the uGMT intermediate muon DQM modules from DQMServices.Core.DQMEDAnalyzer import DQMEDAnalyzer l1tStage2uGMTIntermediateBMTF = DQMEDAnalyzer( "L1TStage2uGMTMuon", muonProducer = cms.InputTag("gmtStage2Digis", "imdMuonsBMTF"), monitorDir = cms.untracked.string("L1T/L1TStage2uGMT/intermediate_muons/BMTF"), titlePrefix = cms.untracked.string("uGMT intermediate muon from BMTF "), verbose = cms.untracked.bool(False), displacedQuantities = cms.untracked.bool(False) ) ## Era: Run3_2021; Displaced muons from BMTF used in uGMT from Run-3 from Configuration.Eras.Modifier_stage2L1Trigger_2021_cff import stage2L1Trigger_2021 stage2L1Trigger_2021.toModify(l1tStage2uGMTIntermediateBMTF, displacedQuantities = cms.untracked.bool(True)) l1tStage2uGMTIntermediateOMTFNeg = DQMEDAnalyzer( "L1TStage2uGMTMuon", muonProducer = cms.InputTag("gmtStage2Digis", "imdMuonsOMTFNeg"), monitorDir = cms.untracked.string("L1T/L1TStage2uGMT/intermediate_muons/OMTF_neg"), titlePrefix = cms.untracked.string("uGMT intermediate muon from OMTF neg. "), verbose = cms.untracked.bool(False), displacedQuantities = cms.untracked.bool(False) ) l1tStage2uGMTIntermediateOMTFPos = DQMEDAnalyzer( "L1TStage2uGMTMuon", muonProducer = cms.InputTag("gmtStage2Digis", "imdMuonsOMTFPos"), monitorDir = cms.untracked.string("L1T/L1TStage2uGMT/intermediate_muons/OMTF_pos"), titlePrefix = cms.untracked.string("uGMT intermediate muon from OMTF pos. "),
"L1TStage2RatioClient", monitorDir=cms.untracked.string(ugmtMuCpyDqmDir + '/uGMTMuonCopy1'), inputNum=cms.untracked.string(ugmtMuCpyDqmDir + '/uGMTMuonCopy1/' + errHistNumStr), inputDen=cms.untracked.string(ugmtMuCpyDqmDir + '/uGMTMuonCopy1/' + errHistDenStr), ratioName=cms.untracked.string('mismatchRatio'), ratioTitle=cms.untracked.string( 'Summary of mismatch rates between uGMT muons and uGMT muon copy 1'), yAxisTitle=cms.untracked.string('# mismatch / # total'), binomialErr=cms.untracked.bool(True), ignoreBin=cms.untracked.vint32()) ## Era: Run3_2021; Ignore BX range mismatches. This is necessary because we only read out the central BX for the output copies. from Configuration.Eras.Modifier_stage2L1Trigger_2021_cff import stage2L1Trigger_2021 stage2L1Trigger_2021.toModify(l1tStage2uGMTMuonVsuGMTMuonCopy1RatioClient, ignoreBin=cms.untracked.vint32( ignoreBins['OutputCopies'])) l1tStage2uGMTMuonVsuGMTMuonCopy2RatioClient = l1tStage2uGMTMuonVsuGMTMuonCopy1RatioClient.clone( monitorDir=ugmtMuCpyDqmDir + '/uGMTMuonCopy2', inputNum=ugmtMuCpyDqmDir + '/uGMTMuonCopy2/' + errHistNumStr, inputDen=ugmtMuCpyDqmDir + '/uGMTMuonCopy2/' + errHistDenStr, ratioTitle= 'Summary of mismatch rates between uGMT muons and uGMT muon copy 2') l1tStage2uGMTMuonVsuGMTMuonCopy3RatioClient = l1tStage2uGMTMuonVsuGMTMuonCopy1RatioClient.clone( monitorDir=ugmtMuCpyDqmDir + '/uGMTMuonCopy3', inputNum=ugmtMuCpyDqmDir + '/uGMTMuonCopy3/' + errHistNumStr, inputDen=ugmtMuCpyDqmDir + '/uGMTMuonCopy3/' + errHistDenStr, ratioTitle= 'Summary of mismatch rates between uGMT muons and uGMT muon copy 3') l1tStage2uGMTMuonVsuGMTMuonCopy4RatioClient = l1tStage2uGMTMuonVsuGMTMuonCopy1RatioClient.clone(