Skip to content

Commit

Permalink
use stage2 L1T digis in DT dqm online DQM when appropriate
Browse files Browse the repository at this point in the history
  • Loading branch information
mmusich committed Nov 16, 2024
1 parent 9b3afd7 commit 8c7fd9b
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
6 changes: 6 additions & 0 deletions DQM/DTMonitorModule/python/dt_dqm_sourceclient_common_cff.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@
DaqGtInputTag = 'rawDataCollector'
)

from EventFilter.L1TRawToDigi.gtStage2Digis_cfi import gtStage2Digis
gtStage2Digis.InputLabel = 'rawDataCollector'

# Scalers info
from EventFilter.ScalersRawToDigi.ScalersRawToDigi_cfi import *
scalersRawToDigi.scalersInputTag = 'rawDataCollector'
Expand Down Expand Up @@ -122,3 +125,6 @@
# sequence to be run on physics events (includes filters, reco and DQM)
dtDQMPhysSequence = cms.Sequence(dtScalerInfoMonitor + gtDigis + reco + dtDQMTask + dtDQMTest)

from Configuration.Eras.Modifier_stage2L1Trigger_cff import stage2L1Trigger
dtDQMPhysSequenceStage2 = cms.Sequence(dtScalerInfoMonitor + gtStage2Digis + reco + dtDQMTask + dtDQMTest)
stage2L1Trigger.toReplaceWith(dtDQMPhysSequence,dtDQMPhysSequenceStage2)
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@
process.twinMuxStage2Digis.DTTM7_FED_Source = "rawDataCollector"
process.dtunpacker.inputLabel = "rawDataCollector"
process.gtDigis.DaqGtInputTag = "rawDataCollector"
process.gtStage2Digis.InputLabel = "rawDataCollector"
process.scalersRawToDigi.scalersInputTag = "rawDataCollector"

print("Running with run type = ", process.runType.getRunType())
Expand Down Expand Up @@ -117,6 +118,7 @@
process.twinMuxStage2Digis.DTTM7_FED_Source = "rawDataRepacker"
process.dtunpacker.inputLabel = "rawDataRepacker"
process.gtDigis.DaqGtInputTag = "rawDataRepacker"
process.gtStage2Digis.InputLabel = "rawDataCollector"
process.scalersRawToDigi.scalersInputTag = "rawDataRepacker"

process.dtDigiMonitor.ResetCycle = 9999
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@

# DT reco and DQM sequences
process.load("Configuration.StandardSequences.GeometryRecoDB_cff")
process.load("Configuration/StandardSequences/MagneticField_cff")
process.load("Configuration.StandardSequences.MagneticField_cff")
process.load("DQM.DTMonitorModule.dt_dqm_sourceclient_common_cff")
#---- for P5 (online) DB access
process.load("DQM.Integration.config.FrontierCondition_GT_cfi")
Expand All @@ -69,6 +69,7 @@
process.twinMuxStage2Digis.DTTM7_FED_Source = "rawDataCollector"
process.dtunpacker.inputLabel = "rawDataCollector"
process.gtDigis.DaqGtInputTag = "rawDataCollector"
process.gtStage2Digis.InputLabel = "rawDataCollector"
process.scalersRawToDigi.scalersInputTag = "rawDataCollector"

print("Running with run type = ", process.runType.getRunType())
Expand Down Expand Up @@ -97,12 +98,10 @@
process.twinMuxStage2Digis.DTTM7_FED_Source = "rawDataRepacker"
process.dtunpacker.inputLabel = "rawDataRepacker"
process.gtDigis.DaqGtInputTag = "rawDataRepacker"
process.gtStage2Digis.InputLabel = "rawDataRepacker"
process.scalersRawToDigi.scalersInputTag = "rawDataRepacker"

process.dtDigiMonitor.ResetCycle = 9999



### process customizations included here
from DQM.Integration.config.online_customizations_cfi import *
print("Final Source settings:", process.source)
Expand Down

0 comments on commit 8c7fd9b

Please sign in to comment.