ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LArCalorimeter
LArRawConditions
src
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
5
#include "
LArRawConditions/LArNoiseComplete.h
"
6
7
LArNoiseComplete::LArNoiseComplete
()
8
{
9
10
}
11
12
LArNoiseComplete::~LArNoiseComplete
() {}
13
14
/* Fill transient object in ATHENA *****************************************
15
*/
16
void
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 ****************************************************
26
const
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
LArNoiseComplete.h
HWIdentifier
Definition
HWIdentifier.h:13
LArConditionsContainer< LArNoiseP >::setPdata
void setPdata(const HWIdentifier id, const LArNoiseP &payload, unsigned int gain=0)
LArConditionsContainer< LArNoiseP >::get
ConstReference get(const HWIdentifier id, unsigned int gain=0) const
LArNoiseComplete::LArNoiseComplete
LArNoiseComplete()
Definition
LArNoiseComplete.cxx:7
LArNoiseComplete::~LArNoiseComplete
virtual ~LArNoiseComplete()
Definition
LArNoiseComplete.cxx:12
LArNoiseComplete::noise
virtual const float & noise(const HWIdentifier &CellID, int gain) const override
Definition
LArNoiseComplete.cxx:26
LArNoiseComplete::set
void set(const HWIdentifier &CellID, int gain, float vNoise)
Definition
LArNoiseComplete.cxx:16
LArNoiseP
Definition
LArNoiseP.h:12
Generated on
for ATLAS Offline Software by
1.17.0