diff --git a/Calorimeter/CaloConditions/CaloConditions/CaloNoise.h b/Calorimeter/CaloConditions/CaloConditions/CaloNoise.h index d5209538669cfe1d12c867f244c85fb9e12ae987..82ab001b3fd6ecafca3fcc54b15b84940138df3b 100644 --- a/Calorimeter/CaloConditions/CaloConditions/CaloNoise.h +++ b/Calorimeter/CaloConditions/CaloConditions/CaloNoise.h @@ -52,9 +52,13 @@ class CaloNoise { float getNoise(const HWIdentifier /*hwid*/, const int /*gain*/) const = delete; - float getEffectiveSigma(const Identifier id, const int gain, const float energy) const { IdentifierHash h=m_caloCellId->calo_cell_hash(id); + return getEffectiveSigma(h,gain,energy); + } + + + float getEffectiveSigma(const IdentifierHash h, const int gain, const float energy) const { if (h<m_tileHashOffset) { return m_larNoise[gain][h]; }