Skip to content

Commit

Permalink
fix discrepancy in peds+ped.widths objects names
Browse files Browse the repository at this point in the history
  • Loading branch information
Salavat committed Oct 2, 2018
1 parent c894acd commit 3ea71e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions CalibCalorimetry/HcalPlugins/src/HcalTextCalibrations.cc
Expand Up @@ -226,14 +226,14 @@ std::unique_ptr<HcalPedestals> HcalTextCalibrations::produceEffectivePedestals (
rcd.getRecord<HcalRecNumberingRecord>().get(htopo);
const HcalTopology* topo=&(*htopo);

return get_impl_topo<HcalPedestals> (mInputs ["PedestalsEffective"],topo);
return get_impl_topo<HcalPedestals> (mInputs ["EffectivePedestals"],topo);
}

std::unique_ptr<HcalPedestalWidths> HcalTextCalibrations::produceEffectivePedestalWidths (const HcalPedestalWidthsRcd& rcd) {
edm::ESHandle<HcalTopology> htopo;
rcd.getRecord<HcalRecNumberingRecord>().get(htopo);
const HcalTopology* topo=&(*htopo);
return get_impl_topo<HcalPedestalWidths> (mInputs ["PedestalWidthsEffective"],topo);
return get_impl_topo<HcalPedestalWidths> (mInputs ["EffectivePedestalWidths"],topo);
}

std::unique_ptr<HcalGains> HcalTextCalibrations::produceGains (const HcalGainsRcd& rcd) {
Expand Down

0 comments on commit 3ea71e5

Please sign in to comment.