Skip to content

Commit

Permalink
Small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
AdrianoDee committed Dec 10, 2024
1 parent 49fa233 commit 8cf7a09
Show file tree
Hide file tree
Showing 21 changed files with 38 additions and 41 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@
)

from EventFilter.SiPixelRawToDigi.SiPixelRawToDigi_cfi import siPixelDigis
siPixelDigisForLumi = siPixelDigis.cpu.clone(
siPixelDigisForLumi = siPixelDigis.clone(
InputLabel = "hltFEDSelectorLumiPixels"
)

from RecoLocalTracker.SiPixelClusterizer.SiPixelClusterizerPreSplitting_cfi import siPixelClustersPreSplitting
siPixelClustersForLumi = siPixelClustersPreSplitting.cpu.clone(
siPixelClustersForLumi = siPixelClustersPreSplitting.clone(
src = "siPixelDigisForLumi"
)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
gctDigis.inputLabel = 'rawDataRepacker'
gtDigis.DaqGtInputTag = 'rawDataRepacker'
gtEvmDigis.EvmGtInputTag = 'rawDataRepacker'
siPixelDigis.cpu.InputLabel = 'rawDataRepacker'
siPixelDigis.InputLabel = 'rawDataRepacker'
siStripDigis.ProductLabel = 'rawDataRepacker'
ecalDigisCPU.InputLabel = 'rawDataRepacker'
gpu.toModify(ecalDigisGPU, InputLabel = 'rawDataRepacker')
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@
process.muonDTDigis.inputLabel = rawDataInputTag
process.muonRPCDigis.InputLabel = rawDataInputTag
process.scalersRawToDigi.scalersInputTag = rawDataInputTag
process.siPixelDigis.cpu.InputLabel = rawDataInputTag
process.siPixelDigis.InputLabel = rawDataInputTag
process.siStripDigis.ProductLabel = rawDataInputTag
process.tcdsDigis.InputLabel = rawDataInputTag

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@
process.muonDTDigis.inputLabel = "rawDataCollector"
process.muonRPCDigis.InputLabel = "rawDataCollector"
process.scalersRawToDigi.scalersInputTag = "rawDataCollector"
process.siPixelDigis.cpu.InputLabel = "rawDataCollector"
process.siPixelDigis.InputLabel = "rawDataCollector"
process.siStripDigis.ProductLabel = "rawDataCollector"


Expand Down Expand Up @@ -182,7 +182,7 @@
process.muonDTDigis.inputLabel = "rawDataRepacker"
process.muonRPCDigis.InputLabel = "rawDataRepacker"
process.scalersRawToDigi.scalersInputTag = "rawDataRepacker"
process.siPixelDigis.cpu.InputLabel = "rawDataRepacker"
process.siPixelDigis.InputLabel = "rawDataRepacker"
process.siStripDigis.ProductLabel = "rawDataRepacker"


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@
process.muonDTDigis.inputLabel = "rawDataCollector"
process.muonRPCDigis.InputLabel = "rawDataCollector"
process.scalersRawToDigi.scalersInputTag = "rawDataCollector"
process.siPixelDigis.cpu.InputLabel = "rawDataCollector"
process.siPixelDigis.InputLabel = "rawDataCollector"
process.siStripDigis.ProductLabel = "rawDataCollector"
process.cscMonitor.FEDRawDataCollectionTag = "rawDataCollector"
process.dqmCSCClient.InputObjects = "rawDataCollector"
Expand All @@ -214,7 +214,7 @@
process.muonDTDigis.inputLabel = "rawDataRepacker"
process.muonRPCDigis.InputLabel = "rawDataRepacker"
process.scalersRawToDigi.scalersInputTag = "rawDataRepacker"
process.siPixelDigis.cpu.InputLabel = "rawDataRepacker"
process.siPixelDigis.InputLabel = "rawDataRepacker"
process.siStripDigis.ProductLabel = "rawDataRepacker"
process.cscMonitor.FEDRawDataCollectionTag = "rawDataRepacker"
process.dqmCSCClient.InputObjects = "rawDataRepacker"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
# Pixel sequence:
process.load('Configuration.StandardSequences.MagneticField_cff')
process.load('EventFilter.SiPixelRawToDigi.SiPixelRawToDigi_cfi')
process.siPixelDigis.cpu.IncludeErrors = True
process.siPixelDigis.IncludeErrors = True
process.load('DQM.SiPixelMonitorRawData.SiPixelMonitorHLT_cfi')
process.SiPixelHLTSource.saveFile = False
process.SiPixelHLTSource.slowDown = False
Expand Down Expand Up @@ -95,7 +95,7 @@
# Setting raw data collection label for all subsytem modules, depending on run type:
if (process.runType.getRunType() == process.runType.hi_run):
process.l1tStage2Fed.rawTag = 'rawDataRepacker'
process.siPixelDigis.cpu.InputLabel = 'rawDataRepacker'
process.siPixelDigis.InputLabel = 'rawDataRepacker'
process.SiPixelHLTSource.RawInput = 'rawDataRepacker'
process.siStripFEDCheck.RawDataTag = 'rawDataRepacker'
process.esRawToDigi.sourceTag = 'rawDataRepacker'
Expand All @@ -109,7 +109,7 @@
process.cscDQMEvF.InputObjects = 'rawDataRepacker'
else:
process.l1tStage2Fed.rawTag = 'rawDataCollector'
process.siPixelDigis.cpu.InputLabel = 'rawDataCollector'
process.siPixelDigis.InputLabel = 'rawDataCollector'
process.SiPixelHLTSource.RawInput = 'rawDataCollector'
process.siStripFEDCheck.RawDataTag = 'rawDataCollector'
process.esRawToDigi.sourceTag = 'rawDataCollector'
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -181,7 +181,7 @@
process.muonDTDigis.inputLabel = "rawDataCollector"
process.muonRPCDigis.InputLabel = "rawDataCollector"
process.scalersRawToDigi.scalersInputTag = "rawDataCollector"
process.siPixelDigis.cpu.InputLabel = "rawDataCollector"
process.siPixelDigis.InputLabel = "rawDataCollector"
process.siStripDigis.ProductLabel = "rawDataCollector"
process.bxTiming.FedSource = "rawDataCollector"
process.l1s.fedRawData = "rawDataCollector"
Expand All @@ -200,7 +200,7 @@
process.muonDTDigis.inputLabel = "rawDataRepacker"
process.muonRPCDigis.InputLabel = "rawDataRepacker"
process.scalersRawToDigi.scalersInputTag = "rawDataRepacker"
process.siPixelDigis.cpu.InputLabel = "rawDataRepacker"
process.siPixelDigis.InputLabel = "rawDataRepacker"
process.siStripDigis.ProductLabel = "rawDataRepacker"
process.bxTiming.FedSource = "rawDataRepacker"
process.l1s.fedRawData = "rawDataRepacker"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@
process.muonDTDigis.inputLabel = "rawDataCollector"
process.muonRPCDigis.InputLabel = "rawDataCollector"
process.scalersRawToDigi.scalersInputTag = "rawDataCollector"
process.siPixelDigis.cpu.InputLabel = "rawDataCollector"
process.siPixelDigis.InputLabel = "rawDataCollector"
process.siStripDigis.ProductLabel = "rawDataCollector"

#--------------------------------------------------
Expand All @@ -219,7 +219,7 @@
process.muonDTDigis.inputLabel = "rawDataRepacker"
process.muonRPCDigis.InputLabel = "rawDataRepacker"
process.scalersRawToDigi.scalersInputTag = "rawDataRepacker"
process.siPixelDigis.cpu.InputLabel = "rawDataRepacker"
process.siPixelDigis.InputLabel = "rawDataRepacker"
process.siStripDigis.ProductLabel = "rawDataRepacker"


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -192,7 +192,7 @@
process.muonDTDigis.inputLabel = "rawDataCollector"
process.muonRPCDigis.InputLabel = "rawDataCollector"
process.scalersRawToDigi.scalersInputTag = "rawDataCollector"
process.siPixelDigis.cpu.InputLabel = "rawDataCollector"
process.siPixelDigis.InputLabel = "rawDataCollector"
process.siStripDigis.ProductLabel = "rawDataCollector"
process.bxTiming.FedSource = "rawDataCollector"
process.l1s.fedRawData = "rawDataCollector"
Expand All @@ -211,7 +211,7 @@
process.muonDTDigis.inputLabel = "rawDataRepacker"
process.muonRPCDigis.InputLabel = "rawDataRepacker"
process.scalersRawToDigi.scalersInputTag = "rawDataRepacker"
process.siPixelDigis.cpu.InputLabel = "rawDataRepacker"
process.siPixelDigis.InputLabel = "rawDataRepacker"
process.siStripDigis.ProductLabel = "rawDataRepacker"
process.bxTiming.FedSource = "rawDataRepacker"
process.l1s.fedRawData = "rawDataRepacker"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@
process.muonDTDigis.inputLabel = "rawDataCollector"
process.muonRPCDigis.InputLabel = "rawDataCollector"
process.scalersRawToDigi.scalersInputTag = "rawDataCollector"
process.siPixelDigis.cpu.InputLabel = "rawDataCollector"
process.siPixelDigis.InputLabel = "rawDataCollector"
process.siStripDigis.ProductLabel = "rawDataCollector"

#--------------------------------------------------
Expand All @@ -226,7 +226,7 @@
process.muonDTDigis.inputLabel = "rawDataRepacker"
process.muonRPCDigis.InputLabel = "rawDataRepacker"
process.scalersRawToDigi.scalersInputTag = "rawDataRepacker"
process.siPixelDigis.cpu.InputLabel = "rawDataRepacker"
process.siPixelDigis.InputLabel = "rawDataRepacker"
process.siStripDigis.ProductLabel = "rawDataRepacker"


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@
process.muonRPCDigis.InputLabel = rawDataRepackerLabel
process.muonGEMDigis.InputLabel = rawDataRepackerLabel
process.scalersRawToDigi.scalersInputTag = rawDataRepackerLabel
process.siPixelDigis.cpu.InputLabel = rawDataRepackerLabel
process.siPixelDigis.InputLabel = rawDataRepackerLabel
process.siStripDigis.ProductLabel = rawDataRepackerLabel
process.tcdsDigis.InputLabel = rawDataRepackerLabel
process.tcdsRawToDigi.InputLabel = rawDataRepackerLabel
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@
process.muonRPCDigis.InputLabel = rawDataRepackerLabel
process.muonGEMDigis.InputLabel = rawDataRepackerLabel
process.scalersRawToDigi.scalersInputTag = rawDataRepackerLabel
process.siPixelDigis.cpu.InputLabel = rawDataRepackerLabel
process.siPixelDigis.InputLabel = rawDataRepackerLabel
process.siStripDigis.ProductLabel = rawDataRepackerLabel
process.tcdsDigis.InputLabel = rawDataRepackerLabel
process.tcdsRawToDigi.InputLabel = rawDataRepackerLabel
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
process.load("Configuration.StandardSequences.EndOfProcess_cff")
process.load("Configuration.EventContent.EventContent_cff")
process.load("Configuration.StandardSequences.Reconstruction_cff")
process.siPixelDigis.cpu.InputLabel = cms.InputTag("hltFEDSelectorLumiPixels")
process.siPixelDigis.InputLabel = cms.InputTag("hltFEDSelectorLumiPixels")

process.reconstruction_step = cms.Sequence(
process.siPixelDigis +
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@
# process.dqmSaverPB
)

process.siPixelDigis.cpu.InputLabel = "rawDataCollector"
process.siPixelDigis.InputLabel = "rawDataCollector"

### process customizations included here
from DQM.Integration.config.online_customizations_cfi import *
Expand All @@ -74,4 +74,4 @@
print("Running with run type = ", process.runType.getRunType())

if (process.runType.getRunType() == process.runType.hi_run):
process.siPixelDigis.cpu.InputLabel = "rawDataRepacker"
process.siPixelDigis.InputLabel = "rawDataRepacker"
Original file line number Diff line number Diff line change
Expand Up @@ -105,20 +105,20 @@

# PixelPhase1 Real data raw to digi
process.load("EventFilter.SiPixelRawToDigi.SiPixelRawToDigi_cfi")
process.siPixelDigis.cpu.IncludeErrors = True
process.siPixelDigis.IncludeErrors = True

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

## Collision Reconstruction
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@
#-----------------------
# Real data raw to digi
process.load("EventFilter.SiPixelRawToDigi.SiPixelRawToDigi_cfi")
process.siPixelDigis.cpu.IncludeErrors = True
process.siPixelDigis.IncludeErrors = True

# Local Reconstruction
process.load("RecoLocalTracker.SiPixelClusterizer.SiPixelClusterizer_cfi")
Expand All @@ -95,13 +95,13 @@
# SelectEvents = cms.vstring('HLT_600Tower*','HLT_L1*','HLT_Jet*','HLT_*Cosmic*','HLT_HT*','HLT_MinBias_*','HLT_Physics*', 'HLT_ZeroBias*','HLT_HcalNZS*'))


process.siPixelDigis.cpu.InputLabel = cms.InputTag("rawDataCollector")
process.siPixelDigis.InputLabel = cms.InputTag("rawDataCollector")
#--------------------------------
# Heavy Ion Configuration Changes
#--------------------------------
if (process.runType.getRunType() == process.runType.hi_run):
process.load('Configuration.StandardSequences.RawToDigi_Repacked_cff')
process.siPixelDigis.cpu.InputLabel = "rawDataRepacker"
process.siPixelDigis.InputLabel = "rawDataRepacker"

if not unitTest:
process.source.SelectEvents = ['HLT_HIL1MinimumBiasHF2AND*']
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
process.muonDTDigis.inputLabel = "rawDataRepacker"
process.muonRPCDigis.InputLabel = "rawDataRepacker"
process.scalersRawToDigi.scalersInputTag = "rawDataRepacker"
process.siPixelDigis.cpu.InputLabel = "rawDataRepacker"
process.siPixelDigis.InputLabel = "rawDataRepacker"
process.siStripDigis.ProductLabel = "rawDataRepacker"


Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@
process.muonDTDigis.inputLabel = rawDataRepackerLabel
process.muonRPCDigis.InputLabel = rawDataRepackerLabel
process.scalersRawToDigi.scalersInputTag = rawDataRepackerLabel
process.siPixelDigis.cpu.InputLabel = rawDataRepackerLabel
process.siPixelDigis.InputLabel = rawDataRepackerLabel
process.siStripDigis.ProductLabel = rawDataRepackerLabel
process.tcdsDigis.InputLabel = rawDataRepackerLabel

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -520,7 +520,7 @@
process.muonDTDigis.inputLabel = rawDataCollectorLabel
process.muonRPCDigis.InputLabel = rawDataCollectorLabel
process.scalersRawToDigi.scalersInputTag = rawDataCollectorLabel
process.siPixelDigis.cpu.InputLabel = rawDataCollectorLabel
process.siPixelDigis.InputLabel = rawDataCollectorLabel
process.siStripDigis.ProductLabel = rawDataCollectorLabel
process.siStripFEDMonitor.RawDataTag = rawDataCollectorLabel
#--------------------------------------------------
Expand All @@ -543,7 +543,7 @@
process.muonDTDigis.inputLabel = rawDataRepackerLabel
process.muonRPCDigis.InputLabel = rawDataRepackerLabel
process.scalersRawToDigi.scalersInputTag = rawDataRepackerLabel
process.siPixelDigis.cpu.InputLabel = rawDataRepackerLabel
process.siPixelDigis.InputLabel = rawDataRepackerLabel
process.siStripDigis.ProductLabel = rawDataRepackerLabel
process.siStripFEDMonitor.RawDataTag = rawDataRepackerLabel
process.tcdsDigis.InputLabel = rawDataRepackerLabel
Expand Down
2 changes: 1 addition & 1 deletion DQM/Physics/python/qcdLowPtDQM_cfi.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
from RecoLocalTracker.SiPixelRecHits.SiPixelRecHits_cfi import *
from RecoLocalTracker.SiPixelRecHits.PixelCPEESProducers_cff import *

siPixelDigis.cpu.InputLabel = cms.InputTag("source")
siPixelDigis.InputLabel = cms.InputTag("source")

myRecoSeq1 = cms.Sequence(
siPixelDigis *
Expand Down
9 changes: 3 additions & 6 deletions RecoLocalTracker/SiPixelRecHits/python/SiPixelRecHits_cfi.py
Original file line number Diff line number Diff line change
Expand Up @@ -51,20 +51,17 @@
from RecoLocalTracker.SiPixelRecHits.siPixelRecHitFromSoAAlpakaPhase2_cfi import siPixelRecHitFromSoAAlpakaPhase2 as _siPixelRecHitFromSoAAlpakaPhase2
from RecoLocalTracker.SiPixelRecHits.siPixelRecHitFromSoAAlpakaHIonPhase1_cfi import siPixelRecHitFromSoAAlpakaHIonPhase1 as _siPixelRecHitFromSoAAlpakaHIonPhase1

(alpaka & ~phase2_tracker).toModify(siPixelRecHitsPreSplitting,
cpu = _siPixelRecHitFromSoAAlpakaPhase1.clone(
(alpaka & ~phase2_tracker).toReplaceWith(siPixelRecHitsPreSplitting, _siPixelRecHitFromSoAAlpakaPhase1.clone(
pixelRecHitSrc = cms.InputTag('siPixelRecHitsPreSplittingAlpaka'),
src = cms.InputTag('siPixelClustersPreSplitting'))
)

(alpaka & phase2_tracker).toModify(siPixelRecHitsPreSplitting,
cpu = _siPixelRecHitFromSoAAlpakaPhase2.clone(
(alpaka & phase2_tracker).toReplaceWith(siPixelRecHitsPreSplitting, _siPixelRecHitFromSoAAlpakaPhase2.clone(
pixelRecHitSrc = cms.InputTag('siPixelRecHitsPreSplittingAlpaka'),
src = cms.InputTag('siPixelClustersPreSplitting'))
)

(alpaka & pp_on_AA & ~phase2_tracker).toModify(siPixelRecHitsPreSplitting,
cpu = _siPixelRecHitFromSoAAlpakaHIonPhase1.clone(
(alpaka & pp_on_AA & ~phase2_tracker).toModify(siPixelRecHitsPreSplitting, _siPixelRecHitFromSoAAlpakaHIonPhase1.clone(
pixelRecHitSrc = cms.InputTag('siPixelRecHitsPreSplittingAlpaka'),
src = cms.InputTag('siPixelClustersPreSplitting'))
)
Expand Down

0 comments on commit 8cf7a09

Please sign in to comment.