Table of Contents

Encountered issues when migrating to CMSSW_7_4_X

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<reco::GenParticle>
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