cms-sw/cmssw — pull request #4862 by gpetruc (2014-08-01 09:58:42+00:00)
Title: fix pat::Electron source PFCand accessor in miniAOD

References from pat::Electron to packed PFCandidates are correctly stored in the miniAODs, but the accessor that returns them had a bug.
This commit fixes the problem in the accessor.
It does not need to reproduce the miniAODs, it does not change the persistent dataformat, and in general it doesn't affect miniAOD production in any way.
It also doesn't need to recompile any dependency for it to work, since the fix is localized in a cc file.