Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

use rawDataRepacker in presence of hi_run run class in a bunch of DQM online clients #45681

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,7 @@
process.selfFatEventFilter.rawInput = rawDataRepackerLabel
process.rpcTwinMuxRawToDigi.inputTag = rawDataRepackerLabel
process.rpcCPPFRawToDigi.inputTag = rawDataRepackerLabel
process.rpcunpacker.InputLabel = rawDataRepackerLabel

#--------------------------------------------------
# L1T Emulator Online DQM Schedule
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,12 @@
import FWCore.ParameterSet.Config as cms

import sys
from Configuration.Eras.Era_Run2_2018_pp_on_AA_cff import Run2_2018_pp_on_AA
from Configuration.Eras.Era_Run3_cff import Run3
process = cms.Process("MUTRKDQM", Run3)
if 'runkey=hi_run' in sys.argv:
from Configuration.Eras.Era_Run3_pp_on_PbPb_approxSiStripClusters_cff import Run3_pp_on_PbPb_approxSiStripClusters
process = cms.Process("MUTRKDQM", Run3_pp_on_PbPb_approxSiStripClusters)
else:
from Configuration.Eras.Era_Run3_cff import Run3
process = cms.Process("MUTRKDQM", Run3)

live=True
unitTest=False
Expand All @@ -14,7 +17,6 @@

offlineTesting=not live


#----------------------------
#### Event Source
#----------------------------
Expand Down Expand Up @@ -101,9 +103,22 @@
from Configuration.AlCa.GlobalTag import GlobalTag as gtCustomise
process.GlobalTag = gtCustomise(process.GlobalTag, 'auto:run3_data', '')

### HEAVY ION SETTING
if process.runType.getRunType() == process.runType.hi_run:
rawDataRepackerLabel = 'rawDataRepacker'
process.muonCSCDigis.InputObjects = rawDataRepackerLabel
process.muonDTDigis.inputLabel = rawDataRepackerLabel
process.muonRPCDigis.InputLabel = rawDataRepackerLabel
process.muonGEMDigis.InputLabel = rawDataRepackerLabel
process.twinMuxStage2Digis.DTTM7_FED_Source = rawDataRepackerLabel
process.bmtfDigis.InputLabel = rawDataRepackerLabel
process.omtfStage2Digis.inputLabel = rawDataRepackerLabel
process.emtfStage2Digis.InputLabel = rawDataRepackerLabel
process.gmtStage2Digis.InputLabel = rawDataRepackerLabel
process.rpcTwinMuxRawToDigi.inputTag = rawDataRepackerLabel
process.rpcCPPFRawToDigi.inputTag = rawDataRepackerLabel


#------------------------------------
#------------------------------------
# Cosmic muons reconstruction modules
#------------------------------------

Expand Down
21 changes: 12 additions & 9 deletions DQM/Integration/python/clients/pixel_dqm_sourceclient-live_cfg.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,16 +108,19 @@
process.load("EventFilter.SiPixelRawToDigi.SiPixelRawToDigi_cfi")
process.siPixelDigis.cpu.IncludeErrors = True

if (process.runType.getRunType() == process.runType.hi_run):
#--------------------------------
# Heavy Ion Configuration Changes
#--------------------------------
process.siPixelDigis.cpu.InputLabel = "rawDataRepacker"
process.siStripDigis.ProductLabel = "rawDataRepacker"
process.scalersRawToDigi.scalersInputTag = "rawDataRepacker"
if (process.runType.getRunType() == process.runType.hi_run):
rawDataRepackerLabel = 'rawDataRepacker'
#--------------------------------
# Heavy Ion Configuration Changes
#--------------------------------
process.siPixelDigis.cpu.InputLabel = rawDataRepackerLabel
process.siStripDigis.ProductLabel = rawDataRepackerLabel
process.scalersRawToDigi.scalersInputTag = rawDataRepackerLabel
process.tcdsDigis.InputLabel = rawDataRepackerLabel
else :
process.siPixelDigis.cpu.InputLabel = "rawDataCollector"
process.siStripDigis.ProductLabel = cms.InputTag("rawDataCollector")
rawDataCollectorLabel = 'rawDataCollector'
process.siPixelDigis.cpu.InputLabel = rawDataCollectorLabel
process.siStripDigis.ProductLabel = rawDataCollectorLabel

## Collision Reconstruction
process.load("Configuration.StandardSequences.RawToDigi_Data_cff")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,7 @@
process.scalersRawToDigi.scalersInputTag = rawDataRepackerLabel
process.siPixelDigis.cpu.InputLabel = rawDataRepackerLabel
process.siStripDigis.ProductLabel = rawDataRepackerLabel
process.tcdsDigis.InputLabel = rawDataRepackerLabel

if ((process.runType.getRunType() == process.runType.hi_run) and live):
process.source.SelectEvents = [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -547,6 +547,7 @@
process.siPixelDigis.cpu.InputLabel = rawDataRepackerLabel
process.siStripDigis.ProductLabel = rawDataRepackerLabel
process.siStripFEDMonitor.RawDataTag = rawDataRepackerLabel
process.tcdsDigis.InputLabel = rawDataRepackerLabel

if ((process.runType.getRunType() == process.runType.hi_run) and live):
process.source.SelectEvents = [
Expand Down