ATLAS Offline Software
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::noise
virtual const float & noise(const HWIdentifier &CellID, int gain) const override
Definition:
LArNoiseComplete.cxx:26
LArConditionsContainer< LArNoiseP >::setPdata
void setPdata(const HWIdentifier id, const LArNoiseP &payload, unsigned int gain=0)
put payload in persistent data
CaloCondBlobAlgs_fillNoiseFromASCII.gain
gain
Definition:
CaloCondBlobAlgs_fillNoiseFromASCII.py:110
LArNoiseComplete::~LArNoiseComplete
virtual ~LArNoiseComplete()
Definition:
LArNoiseComplete.cxx:12
read_hist_ntuple.t
t
Definition:
read_hist_ntuple.py:5
HWIdentifier
Definition:
HWIdentifier.h:13
LArNoiseComplete.h
LArConditionsContainer< LArNoiseP >::get
ConstReference get(const HWIdentifier id, unsigned int gain=0) const
get data with online identifier
LArNoiseP
Definition:
LArNoiseP.h:12
LArNoiseComplete::set
void set(const HWIdentifier &CellID, int gain, float vNoise)
Definition:
LArNoiseComplete.cxx:16
LArNoiseComplete::LArNoiseComplete
LArNoiseComplete()
Definition:
LArNoiseComplete.cxx:7
Generated on Thu Nov 7 2024 21:19:46 for ATLAS Offline Software by
1.8.18