cms-sw/cmssw — pull request #1866 by diguida (2013-12-18 09:58:01+00:00)
Title: Fix consumes validation reco vertex

Consumes fix for the following modules in package Validation/RecoVertex:
Validation/RecoVertex/src/AnotherPrimaryVertexAnalyzer.cc
Validation/RecoVertex/src/BSvsPVAnalyzer.cc
Validation/RecoVertex/src/BeamSpotAnalyzer.cc
Validation/RecoVertex/src/MCVerticesAnalyzer.cc
Validation/RecoVertex/src/MCVerticesWeight.cc
Validation/RecoVertex/src/MCvsRecoVerticesAnalyzer.cc
Validation/RecoVertex/src/PrimaryVertexAnalyzer.cc
Validation/RecoVertex/src/PrimaryVertexAnalyzer4PU.cc
Validation/RecoVertex/src/TrackParameterAnalyzer.cc
Validation/RecoVertex/src/V0Validator.cc
Validation/RecoVertex/src/VertexHistogramMaker.cc
Tested with workflow 3 of whiteRabbit.
As a general comment, some of those modules should be rewritten from scratch. I tried to optimise a bit PrimaryVertexAnalyzer, but in the case of PrimaryVertexAnalyzer4PU what I did was just removing getByLabel and unneeded includes. Please inform developers about them.