Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14929 from EsmaeelEskandari/l1t-dqm-CMSSW_8_0_10_…
…patch2_ugmt-esmaeel L1t dqm cmssw 8 0 10 patch2 ugmt esmaeel
- Loading branch information
Showing
45 changed files
with
3,504 additions
and
1,597 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
104 changes: 104 additions & 0 deletions
104
DQM/Integration/python/clients/l1tstage2emulator_dqm_sourceclient-live_cfg.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,104 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
|
||
from Configuration.StandardSequences.Eras import eras | ||
process = cms.Process("L1TStage2EmulatorDQM", eras.Run2_2016) | ||
|
||
#-------------------------------------------------- | ||
# Event Source and Condition | ||
|
||
# Live Online DQM in P5 | ||
process.load("DQM.Integration.config.inputsource_cfi") | ||
process.load("DQM.Integration.config.FrontierCondition_GT_cfi") | ||
# Due to the GT override in the above include, we have trouble with | ||
# conflicting CaloParams from stage1 and stage2. This workaround | ||
# can go away once either the es_prefer is removed from DQM or the | ||
# new L1TCaloStage2ParamsRcd is integrated into CMSSW. | ||
if 'es_prefer_GlobalTag' in process.__dict__: | ||
process.__dict__.pop('es_prefer_GlobalTag') | ||
process._Process__esprefers.pop('es_prefer_GlobalTag') | ||
|
||
# Testing in lxplus | ||
#process.load("DQM.Integration.config.fileinputsource_cfi") | ||
#process.load("DQM.Integration.config.FrontierCondition_GT_Offline_cfi") | ||
|
||
# Required to load EcalMappingRecord | ||
process.load("Configuration.StandardSequences.GeometryRecoDB_cff") | ||
|
||
#-------------------------------------------------- | ||
# DQM Environment | ||
|
||
process.load("DQM.Integration.config.environment_cfi") | ||
|
||
process.dqmEnv.subSystemFolder = "L1T2016EMU" | ||
process.dqmSaver.tag = "L1T2016EMU" | ||
process.DQMStore.referenceFileName = "/dqmdata/dqm/reference/l1temu_reference.root" | ||
|
||
process.dqmEndPath = cms.EndPath( | ||
process.dqmEnv * | ||
process.dqmSaver | ||
) | ||
|
||
#-------------------------------------------------- | ||
# Standard Unpacking Path | ||
|
||
process.load("Configuration.StandardSequences.RawToDigi_Data_cff") | ||
|
||
process.rawToDigiPath = cms.Path(process.RawToDigi) | ||
|
||
#-------------------------------------------------- | ||
# Stage2 DQM Paths | ||
|
||
# Filter fat events | ||
from HLTrigger.HLTfilters.hltHighLevel_cfi import hltHighLevel | ||
process.hltFatEventFilter = hltHighLevel.clone() | ||
process.hltFatEventFilter.throw = cms.bool(False) | ||
process.hltFatEventFilter.HLTPaths = cms.vstring('HLT_L1FatEvents_v*') | ||
|
||
# This can be used if HLT filter not available in a run | ||
process.selfFatEventFilter = cms.EDFilter("HLTL1NumberFilter", | ||
invert = cms.bool(False), | ||
period = cms.uint32(107), | ||
rawInput = cms.InputTag("rawDataCollector"), | ||
fedId = cms.int32(1024) | ||
) | ||
|
||
process.load("DQM.L1TMonitor.L1TStage2Emulator_cff") | ||
|
||
process.l1tEmulatorMonitorPath = cms.Path( | ||
process.hltFatEventFilter + | ||
# process.selfFatEventFilter + | ||
process.l1tStage2Unpack + | ||
process.Stage2L1HardwareValidation + | ||
process.l1tStage2EmulatorOnlineDQM | ||
) | ||
|
||
# To get L1 conditions that are not in GlobalTag / O2O yet | ||
process.load("L1Trigger.L1TCalorimeter.hackConditions_cff") | ||
process.load("L1Trigger.L1TMuon.hackConditions_cff") | ||
process.gmtParams.caloInputsMasked = cms.bool(True) | ||
process.load("L1Trigger.L1TGlobal.hackConditions_cff") | ||
|
||
# To get CaloTPGTranscoder | ||
process.load('SimCalorimetry.HcalTrigPrimProducers.hcaltpdigi_cff') | ||
process.HcalTPGCoderULUT.LUTGenerationMode = cms.bool(False) | ||
|
||
#-------------------------------------------------- | ||
# TODO: Stage2 Emulator Quality Tests | ||
process.load("DQM.L1TMonitorClient.L1TStage2EmulatorMonitorClient_cff") | ||
process.l1tStage2EmulatorMonitorClientPath = cms.Path(process.l1tStage2EmulatorMonitorClient) | ||
|
||
#-------------------------------------------------- | ||
# L1T Emulator Online DQM Schedule | ||
|
||
process.schedule = cms.Schedule( | ||
process.rawToDigiPath, | ||
process.l1tEmulatorMonitorPath, | ||
process.l1tStage2EmulatorMonitorClientPath, | ||
process.dqmEndPath | ||
) | ||
|
||
#-------------------------------------------------- | ||
# Process Customizations | ||
|
||
from DQM.Integration.config.online_customizations_cfi import * | ||
process = customise(process) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.