From 2db05e1ed6f152d6d2a458a64a1b13413c9fc701 Mon Sep 17 00:00:00 2001 From: YoungKwonJo Date: Mon, 21 Jul 2014 15:12:25 +0200 Subject: [PATCH] Update PAT2CAT_cfg.py This configuration is running in CMSSW_7_1_X. And if we are using dataset for CMSSW_7_0_X, we can see the message. Because, the dataset for CMSSW_7_0_X don't has "ak4GenJets". ++++++++++ ----- Begin Fatal Exception 21-Jul-2014 14:27:13 CEST----------------------- An exception of category 'ProductNotFound' occurred while [0] Processing run: 1 lumi: 27 event: 7801 [1] Running path 'outpath' [2] Calling event method for module PoolOutputModule/'out' [3] Calling produce method for unscheduled module CATJetProducer/'catJets' [4] Calling produce method for unscheduled module PATJetProducer/'patJets' [5] Calling produce method for unscheduled module GenJetMatcher/'patJetGenJetMatch' Exception Message: Principal::getByToken: Found zero products matching all criteria Looking for type: std::vector Looking for module label: ak4GenJets Looking for productInstanceName: Additional Info: [a] If you wish to continue processing events after a ProductNotFound exception, add "SkipEvent = cms.untracked.vstring('ProductNotFound')" to the "options" PSet in the configuration. ----- End Fatal Exception ------------------------------------------------- ++++++++++ --- CatProducer/prod/PAT2CAT_cfg.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/CatProducer/prod/PAT2CAT_cfg.py b/CatProducer/prod/PAT2CAT_cfg.py index 41629af..a361d65 100644 --- a/CatProducer/prod/PAT2CAT_cfg.py +++ b/CatProducer/prod/PAT2CAT_cfg.py @@ -10,7 +10,10 @@ # Input source process.source = cms.Source("PoolSource", secondaryFileNames = cms.untracked.vstring(), - fileNames = cms.untracked.vstring('/store/relval/CMSSW_7_0_6_patch1/RelValZMM_13/GEN-SIM-RECO/PLS170_V7AN1-v1/00000/862FBA61-8702-E411-8EE8-003048D25BA6.root') + fileNames = cms.untracked.vstring( +# '/store/relval/CMSSW_7_0_6_patch1/RelValZMM_13/GEN-SIM-RECO/PLS170_V7AN1-v1/00000/862FBA61-8702-E411-8EE8-003048D25BA6.root' +'/store/relval/CMSSW_7_1_0/RelValTTbarLepton_13/GEN-SIM-RECO/POSTLS171_V15-v1/00000/5853DC34-8AFB-E311-B4A5-002590596484.root' + ) ) ## for muon isolation study with weighted method