Skip to content
Snippets Groups Projects
Commit 318acd67 authored by Edward Moyse's avatar Edward Moyse
Browse files

Merge branch 'effSigmaHash' into 'main'

CaloNoise: Add  method to get getEffectiveSigma by IdentiiferHash

See merge request atlas/athena!70087
parents 114c3455 c6670c14
No related branches found
No related tags found
No related merge requests found
......@@ -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];
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment