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 #9143 from jingyucms/jingyu-5-17-dqm
run stage1 emulator for l1t dqm 75x
- Loading branch information
Showing
19 changed files
with
1,263 additions
and
342 deletions.
There are no files selected for viewing
235 changes: 235 additions & 0 deletions
235
DQM/Integration/python/test/l1tstage1emulator_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,235 @@ | ||
# L1 Emulator DQM sequence | ||
# | ||
# authors previous versions - see CVS | ||
# | ||
# V.M. Ghete 2010-10-22 revised version of L1 emulator DQM | ||
|
||
|
||
import FWCore.ParameterSet.Config as cms | ||
|
||
process = cms.Process("L1TEmuDQMlive") | ||
|
||
|
||
#---------------------------- | ||
# Event Source | ||
# | ||
# for live online DQM in P5 | ||
process.load("DQM.Integration.test.inputsource_cfi") | ||
# | ||
# for testing in lxplus | ||
#process.load("DQM.Integration.test.fileinputsource_cfi") | ||
|
||
#---------------------------- | ||
# DQM Environment | ||
# | ||
|
||
# | ||
|
||
process.load("DQMServices.Components.DQMEnvironment_cfi") | ||
process.dqmEnv.subSystemFolder = 'L1TEMUStage1' | ||
|
||
# | ||
process.load("DQM.Integration.test.environment_cfi") | ||
# for local test | ||
process.dqmSaver.dirName = '.' | ||
# | ||
# no references needed | ||
# replace DQMStore.referenceFileName = "L1TEMU_reference.root" | ||
|
||
# | ||
# Condition for P5 cluster | ||
process.load("DQM.Integration.test.FrontierCondition_GT_cfi") | ||
process.GlobalTag.RefreshEachRun = cms.untracked.bool(True) | ||
# Condition for lxplus | ||
#process.load("DQM.Integration.test.FrontierCondition_GT_Offline_cfi") | ||
|
||
#process.load("Configuration.StandardSequences.GeometryRecoDB_cff") | ||
|
||
process.load("Configuration.StandardSequences.GeometryRecoDB_cff") | ||
#------------------------------------- | ||
# sequences needed for L1 emulator DQM | ||
# | ||
|
||
# standard unpacking sequence | ||
process.load("Configuration.StandardSequences.RawToDigi_Data_cff") | ||
|
||
# L1 data - emulator sequences | ||
process.load("DQM.L1TMonitor.L1TEmulatorMonitor_cff") | ||
process.load("DQM.L1TMonitorClient.L1TEMUMonitorClient_cff") | ||
process.load("L1Trigger.L1TCalorimeter.caloStage1Params_cfi") | ||
|
||
#------------------------------------- | ||
# paths & schedule for L1 emulator DQM | ||
# | ||
|
||
# TODO define a L1 trigger L1TriggerRawToDigi in the standard sequence | ||
# to avoid all these remove | ||
process.rawToDigiPath = cms.Path(process.RawToDigi) | ||
# | ||
process.RawToDigi.remove("siPixelDigis") | ||
process.RawToDigi.remove("siStripDigis") | ||
process.RawToDigi.remove("scalersRawToDigi") | ||
process.RawToDigi.remove("castorDigis") | ||
|
||
process.gtDigis.DaqGtFedId = cms.untracked.int32(809) | ||
|
||
# L1HvVal + emulator monitoring path | ||
process.l1HwValEmulatorMonitorPath = cms.Path(process.l1Stage1HwValEmulatorMonitor) | ||
|
||
# for RCT at P5, read FED vector from OMDS | ||
#process.load("L1TriggerConfig.RCTConfigProducers.l1RCTOmdsFedVectorProducer_cfi") | ||
#process.valRctDigis.getFedsFromOmds = cms.bool(True) | ||
|
||
# | ||
process.l1EmulatorMonitorClientPath = cms.Path(process.l1EmulatorMonitorClient) | ||
|
||
# | ||
process.l1EmulatorMonitorEndPath = cms.EndPath(process.dqmEnv*process.dqmSaver) | ||
|
||
# | ||
|
||
# | ||
process.schedule = cms.Schedule(process.rawToDigiPath, | ||
process.l1HwValEmulatorMonitorPath, | ||
#process.l1EmulatorMonitorClientPath, | ||
process.l1EmulatorMonitorEndPath) | ||
|
||
#--------------------------------------------- | ||
|
||
# examples for quick fixes in case of troubles | ||
# please do not modify the commented lines | ||
# | ||
# remove a module from hardware validation | ||
# cff file: L1Trigger.HardwareValidation.L1HardwareValidation_cff | ||
# | ||
# process.L1HardwareValidation.remove(process.deCsctf) | ||
# | ||
process.L1HardwareValidation.remove(process.deDt) | ||
|
||
|
||
# | ||
# remove a L1 trigger system from the comparator integrated in hardware validation | ||
# cfi file: L1Trigger.HardwareValidation.L1Comparator_cfi | ||
# | ||
#process.l1compare.COMPARE_COLLS = [0, 0, 1, 1, 0, 1, 0, 0, 1, 0, 1, 0] | ||
# | ||
|
||
process.l1compareforstage1.COMPARE_COLLS = [ | ||
0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0 | ||
] | ||
|
||
process.l1demonstage1.COMPARE_COLLS = [ | ||
0, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0 | ||
] | ||
#ETP,HTP,RCT,GCT, DTP,DTF,CTP,CTF,RPC,LTC,GMT,GT | ||
|
||
|
||
# | ||
# remove an expert module for L1 trigger system | ||
# cff file: DQM.L1TMonitor.L1TEmulatorMonitor_cff | ||
# | ||
# process.l1ExpertDataVsEmulator.remove(process.l1GtHwValidation) | ||
# | ||
|
||
process.l1ExpertDataVsEmulatorStage1.remove(process.l1TdeCSCTF) | ||
|
||
process.l1ExpertDataVsEmulatorStage1.remove(process.l1TdeRCT) | ||
|
||
process.l1demonstage1.HistFolder = cms.untracked.string('L1TEMUStage1') | ||
|
||
process.l1TdeStage1Layer2.HistFolder = cms.untracked.string('L1TEMUStage1/Stage1Layer2expert') | ||
|
||
process.l1Stage1GtHwValidation.DirName = cms.untracked.string("L1TEMUStage1/GTexpert") | ||
|
||
# | ||
# remove a module / sequence from l1EmulatorMonitorClient | ||
# cff file: DQM.L1TMonitorClient.L1TEmulatorMonitorClient_cff | ||
# | ||
# process.l1EmulatorMonitorClient.remove(process.l1EmulatorErrorFlagClient) | ||
# | ||
|
||
|
||
# | ||
# fast over-mask a system in L1TEMUEventInfoClient: | ||
# if the name of the system is in the list, the system will be masked | ||
# (the default mask value is given in L1Systems VPSet) | ||
# | ||
# names are case sensitive, order is irrelevant | ||
# "ECAL", "HCAL", "RCT", "GCT", "DTTF", "DTTPG", "CSCTF", "CSCTPG", "RPC", "GMT", "GT" | ||
# | ||
# process.l1temuEventInfoClient.DisableL1Systems = cms.vstring("ECAL") | ||
# | ||
|
||
|
||
# | ||
# fast over-mask an object in L1TEMUEventInfoClient: | ||
# if the name of the object is in the list, the object will be masked | ||
# (the default mask value is given in L1Objects VPSet) | ||
# | ||
# names are case sensitive, order is irrelevant | ||
# | ||
# "Mu", "NoIsoEG", "IsoEG", "CenJet", "ForJet", "TauJet", "ETM", "ETT", "HTT", "HTM", | ||
# "HfBitCounts", "HfRingEtSums", "TechTrig", "GtExternal | ||
# | ||
# process.l1temuEventInfoClient.DisableL1Objects = cms.vstring("ETM") | ||
# | ||
|
||
|
||
# | ||
# turn on verbosity in L1TEMUEventInfoClient | ||
# | ||
# process.l1EmulatorEventInfoClient.verbose = cms.untracked.bool(True) | ||
|
||
# un-comment next lines in case you use the file for private tests on the playback server | ||
# see https://twiki.cern.ch/twiki/bin/view/CMS/DQMTest for instructions | ||
# | ||
#process.dqmSaver.dirName = '.' | ||
#process.dqmSaver.saveByRun = 1 | ||
#process.dqmSaver.saveAtJobEnd = True | ||
|
||
print "Running with run type = ", process.runType.getRunType() | ||
process.castorDigis.InputLabel = cms.InputTag("rawDataCollector") | ||
process.csctfDigis.producer = cms.InputTag("rawDataCollector") | ||
process.dttfDigis.DTTF_FED_Source = cms.InputTag("rawDataCollector") | ||
process.ecalDigis.InputLabel = cms.InputTag("rawDataCollector") | ||
process.ecalPreshowerDigis.sourceTag = cms.InputTag("rawDataCollector") | ||
process.gctDigis.inputLabel = cms.InputTag("rawDataCollector") | ||
process.gtDigis.DaqGtInputTag = cms.InputTag("rawDataCollector") | ||
process.gtEvmDigis.EvmGtInputTag = cms.InputTag("rawDataCollector") | ||
process.hcalDigis.InputLabel = cms.InputTag("rawDataCollector") | ||
process.l1compare.FEDsourceEmul = cms.untracked.InputTag("rawDataCollector") | ||
process.l1compare.FEDsourceData = cms.untracked.InputTag("rawDataCollector") | ||
process.muonCSCDigis.InputObjects = cms.InputTag("rawDataCollector") | ||
process.muonDTDigis.inputLabel = cms.InputTag("rawDataCollector") | ||
process.muonRPCDigis.InputLabel = cms.InputTag("rawDataCollector") | ||
process.scalersRawToDigi.scalersInputTag = cms.InputTag("rawDataCollector") | ||
process.siPixelDigis.InputLabel = cms.InputTag("rawDataCollector") | ||
process.siStripDigis.ProductLabel = cms.InputTag("rawDataCollector") | ||
|
||
#-------------------------------------------------- | ||
# Heavy Ion Specific Fed Raw Data Collection Label | ||
#-------------------------------------------------- | ||
if (process.runType.getRunType() == process.runType.hi_run): | ||
process.castorDigis.InputLabel = cms.InputTag("rawDataRepacker") | ||
process.csctfDigis.producer = cms.InputTag("rawDataRepacker") | ||
process.dttfDigis.DTTF_FED_Source = cms.InputTag("rawDataRepacker") | ||
process.ecalDigis.InputLabel = cms.InputTag("rawDataRepacker") | ||
process.ecalPreshowerDigis.sourceTag = cms.InputTag("rawDataRepacker") | ||
process.gctDigis.inputLabel = cms.InputTag("rawDataRepacker") | ||
process.gtDigis.DaqGtInputTag = cms.InputTag("rawDataRepacker") | ||
process.gtEvmDigis.EvmGtInputTag = cms.InputTag("rawDataRepacker") | ||
process.hcalDigis.InputLabel = cms.InputTag("rawDataRepacker") | ||
process.l1compare.FEDsourceEmul = cms.untracked.InputTag("rawDataRepacker") | ||
process.l1compare.FEDsourceData = cms.untracked.InputTag("rawDataRepacker") | ||
process.muonCSCDigis.InputObjects = cms.InputTag("rawDataRepacker") | ||
process.muonDTDigis.inputLabel = cms.InputTag("rawDataRepacker") | ||
process.muonRPCDigis.InputLabel = cms.InputTag("rawDataRepacker") | ||
process.scalersRawToDigi.scalersInputTag = cms.InputTag("rawDataRepacker") | ||
process.siPixelDigis.InputLabel = cms.InputTag("rawDataRepacker") | ||
process.siStripDigis.ProductLabel = cms.InputTag("rawDataRepacker") | ||
|
||
|
||
|
||
### process customizations included here | ||
from DQM.Integration.test.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 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 |
---|---|---|
|
@@ -2,3 +2,4 @@ | |
|
||
from DQM.L1TMonitor.l1GtHwValidation_cfi import * | ||
|
||
from DQM.L1TMonitor.l1Stage1GtHwValidation_cfi import * |
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,17 @@ | ||
import FWCore.ParameterSet.Config as cms | ||
|
||
l1demonstage1 = cms.EDAnalyzer("L1TDEMON", | ||
HistFolder = cms.untracked.string('L1TEMU'), | ||
HistFile = cms.untracked.string('l1demon.root'), | ||
disableROOToutput = cms.untracked.bool(True), | ||
DataEmulCompareSource = cms.InputTag("l1compareforstage1"), | ||
VerboseFlag = cms.untracked.int32(0), | ||
RunInFilterFarm = cms.untracked.bool(False), | ||
COMPARE_COLLS = cms.untracked.vuint32( | ||
0, 0, 1, 1, 0, 1, 0, 0, 1, 0, 1, 0 | ||
# ETP,HTP,RCT,GCT,DTP,DTF,CTP,CTF,RPC,LTC,GMT,GT | ||
) | ||
) | ||
|
||
|
||
|
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
Oops, something went wrong.