====== Encountered issues when migrating to CMSSW_7_4_X ====== * New MINIAOD 74X workbook [[https://twiki.cern.ch/twiki/bin/view/CMSPublic/WorkBookMiniAOD2015|here]] * Namechange of b-tagging variables (implemented as jet.bDiscriminator("name")), see [[https://twiki.cern.ch/twiki/bin/view/CMSPublic/WorkBookMiniAOD2015#Jets|Jets]] *ak8PFJetsCHSPrunedLinks --> ak8PFJetsCHSPrunedMass *ak8PFJetsCHSSoftDropLinks --> ak8PFJetsCHSSoftDropMass ==== Error message 1: ==== Calling produce method for unscheduled module HadronAndPartonSelector/'patJetPartons' Exception Message: Principal::getByToken: Found zero products matching all criteria Looking for type: std::vector Looking for module label: genParticles Looking for productInstanceName: ----- End SkipEvent Exception ------------------------------------------------- --Solution: In config.py: comment out line 343 # process.load("PhysicsTools.PatAlgos.producersLayer1.patCandidates_cff") ==== Error message 2: ==== Exception Message: Unable to find plugin 'CandidateBoostedDoubleSecondaryVertexESProducer' in category 'CMS EDM Framework ParameterSet Description'. Please check spelling of name. ----- End Fatal Exception ------------------------------------------------- --Solution: in CMSSW_7_4_1/src: scram b distclean scram b -j8 ==== OPS: BE AWARE!! ==== Change of certain variable names:\\ jetAK8_prunedmassUnCorr --> jetAK8_prunedmass\\ jetAK8_softdropmassUnCorr --> jetAK8_softdropmass\\ nsubjets --> nsoftdropsubjets\\