Skip to content

Commit

Permalink
use rawDataRepacker in presence of hi_run run class in a bunch of DQM…
Browse files Browse the repository at this point in the history
… online clients
  • Loading branch information
mmusich committed Aug 9, 2024
1 parent 29ab9c8 commit 2723b5b
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 15 deletions.
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

0 comments on commit 2723b5b

Please sign in to comment.