Skip to content

Commit

Permalink
skip events rather than giving a crash when hcalcalib product is not …
Browse files Browse the repository at this point in the history
…found
  • Loading branch information
syuvivida committed Mar 26, 2024
1 parent 8380d8e commit b06c49f
Showing 1 changed file with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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'
)
)

0 comments on commit b06c49f

Please sign in to comment.