83 corfile.
Initialize(iSetup,
"/afs/cern.ch/user/b/bendavid/cmspublic/gbrv3ph.root");
94 iEvent.getByLabel(
"photons", hPhotonProduct);
97 auto const& caloGeometry = ecalClusterToolsESData.
caloGeometry;
101 iEvent.getByLabel(
"offlinePrimaryVerticesWithBS", hVertexProduct);
103 for (
auto const& it : *hPhotonProduct) {
107 printf(
"file: default = %5f, correction = %5f, uncertainty = %5f\n", it.energy(), corsfile.first, corsfile.second);
108 printf(
"db: default = %5f, correction = %5f, uncertainty = %5f\n", it.energy(), corsdb.first, corsdb.second);