Skip to content
Snippets Groups Projects

CaloNoise: Add method to get getEffectiveSigma by IdentiiferHash

Merged Walter Lampl requested to merge wlampl/athena:effSigmaHash into main
1 file
+ 5
1
Compare changes
  • Side-by-side
  • Inline
@@ -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];
}
Loading