ATLAS Offline Software
Loading...
Searching...
No Matches
LArNoiseComplete.cxx
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3*/
4
6
11
13
14/* Fill transient object in ATHENA *****************************************
15 */
16void LArNoiseComplete::set(const HWIdentifier& CellID, int gain, float Noise) {
17
18 LArNoiseP t ;
19 t.m_Noise = Noise;
20 setPdata(CellID, t, gain);
21
22}
23
24
25// retrieve Noise ****************************************************
26const float& LArNoiseComplete::noise(const HWIdentifier& CellID, int gain) const {
27 const LArNoiseP& t = get(CellID, gain);
28 return (t.m_Noise);
29}
30
31
32
33
34
35
void setPdata(const HWIdentifier id, const LArNoiseP &payload, unsigned int gain=0)
ConstReference get(const HWIdentifier id, unsigned int gain=0) const
virtual const float & noise(const HWIdentifier &CellID, int gain) const override
void set(const HWIdentifier &CellID, int gain, float vNoise)