From b06c49f96f6d8de1fd3a55fca3f8e162d0e62a18 Mon Sep 17 00:00:00 2001 From: Shin-Shan Date: Tue, 26 Mar 2024 17:06:51 +0100 Subject: [PATCH] skip events rather than giving a crash when hcalcalib product is not found --- .../hcalcalib_dqm_sourceclient-live_cfg.py | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/DQM/Integration/python/clients/hcalcalib_dqm_sourceclient-live_cfg.py b/DQM/Integration/python/clients/hcalcalib_dqm_sourceclient-live_cfg.py index c5ca83ddc5f70..2ce2c119b3b21 100644 --- a/DQM/Integration/python/clients/hcalcalib_dqm_sourceclient-live_cfg.py +++ b/DQM/Integration/python/clients/hcalcalib_dqm_sourceclient-live_cfg.py @@ -239,12 +239,12 @@ #------------------------------------- print("Final Source settings:", process.source) process.options = cms.untracked.PSet( - Rethrow = cms.untracked.vstring( - "ProductNotFound", - "TooManyProducts", - "TooFewProducts" - ) -# SkipEvent = cms.untracked.vstring( -# 'ProductNotFound' -# ) + Rethrow = cms.untracked.vstring( + # "ProductNotFound", + "TooManyProducts", + "TooFewProducts" + ), + TryToContinue = cms.untracked.vstring( + 'ProductNotFound' + ) )