Skip to content

Commit

Permalink
Merge pull request cms-sw#38220 from francescobrivio/alca-fix_PPSname…
Browse files Browse the repository at this point in the history
…_PCL_12_4_X

[12_4_X] Shorten PPS DiamondSampic ALCARECOStream name to fit into DBS database schema
  • Loading branch information
cmsbuild authored Jun 6, 2022
2 parents 086b9ae + be92a39 commit 2a721c8
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import FWCore.ParameterSet.Config as cms

OutALCARECOPromptCalibProdPPSDiamondSampicTimingCalib_noDrop = cms.PSet(
OutALCARECOPromptCalibProdPPSDiamondSampic_noDrop = cms.PSet(
SelectEvents = cms.untracked.PSet(
SelectEvents = cms.vstring('pathALCARECOPromptCalibProdPPSDiamondSampicTiming')
),
Expand All @@ -9,5 +9,5 @@
)
)

OutALCARECOPromptCalibProdPPSDiamondSampicTimingCalib = OutALCARECOPromptCalibProdPPSDiamondSampicTimingCalib_noDrop.clone()
OutALCARECOPromptCalibProdPPSDiamondSampicTimingCalib.outputCommands.insert(0, 'drop *')
OutALCARECOPromptCalibProdPPSDiamondSampic = OutALCARECOPromptCalibProdPPSDiamondSampic_noDrop.clone()
OutALCARECOPromptCalibProdPPSDiamondSampic.outputCommands.insert(0, 'drop *')
6 changes: 5 additions & 1 deletion Configuration/AlCa/python/autoPCL.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# Important note:
# due to the limitations of the DBS database schema, as described in
# https://cms-talk.web.cern.ch/t/alcaprompt-datasets-not-loaded-in-dbs/11146/2,
# the keys of the dict (i.e. the "PromptCalib*") MUST be shorter than 31 characters
autoPCL = {'PromptCalibProd' : 'BeamSpotByRun+BeamSpotByLumi',
'PromptCalibProdBeamSpotHP' : 'BeamSpotHPByRun+BeamSpotHPByLumi',
'PromptCalibProdBeamSpotHPLowPU' : 'BeamSpotHPLowPUByRun+BeamSpotHPLowPUByLumi',
Expand All @@ -11,6 +15,6 @@
'PromptCalibProdEcalPedestals': 'EcalPedestals',
'PromptCalibProdLumiPCC': 'LumiPCC',
'PromptCalibProdPPSTimingCalib' : 'PPSTimingCalibration',
'PromptCalibProdPPSDiamondSampicTimingCalib' : 'PPSDiamondSampicTimingCalibration',
'PromptCalibProdPPSDiamondSampic' : 'PPSDiamondSampicTimingCalibration',
'PromptCalibProdPPSAlignment' : 'PPSAlignment'
}
8 changes: 4 additions & 4 deletions Configuration/StandardSequences/python/AlCaRecoStreams_cff.py
Original file line number Diff line number Diff line change
Expand Up @@ -925,12 +925,12 @@
dataTier = cms.untracked.string('ALCARECO')
)

ALCARECOStreamPromptCalibProdPPSDiamondSampicTimingCalib = cms.FilteredStream(
ALCARECOStreamPromptCalibProdPPSDiamondSampic = cms.FilteredStream(
responsible = 'Christopher Misan',
name = 'ALCARECOStreamPromptCalibProdPPSDiamondSampicTimingCalib',
name = 'ALCARECOStreamPromptCalibProdPPSDiamondSampic',
paths = (pathALCARECOPromptCalibProdPPSDiamondSampicTimingCalib),
content = OutALCARECOPromptCalibProdPPSDiamondSampicTimingCalib.outputCommands,
selectEvents = OutALCARECOPromptCalibProdPPSDiamondSampicTimingCalib.SelectEvents,
content = OutALCARECOPromptCalibProdPPSDiamondSampic.outputCommands,
selectEvents = OutALCARECOPromptCalibProdPPSDiamondSampic.SelectEvents,
dataTier = cms.untracked.string('ALCARECO')
)

Expand Down

0 comments on commit 2a721c8

Please sign in to comment.