ATLAS Offline Software
LArCalorimeter
LArRawConditions
src
LArDetCellParamsComplete.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
LArRawConditions/LArDetCellParamsComplete.h
"
6
7
LArDetCellParamsComplete::LArDetCellParamsComplete
() {}
8
LArDetCellParamsComplete::~LArDetCellParamsComplete
() {}
9
10
/* Fill transient object in ATHENA *****************************************
11
*/
12
void
LArDetCellParamsComplete::set
(
const
HWIdentifier
& CellID,
int
gain
,
13
float
omega0,
float
taur ) {
14
15
LArDetCellParamsP
t
;
16
t
.m_Omega0 = omega0 ;
17
t
.m_Taur = taur ;
18
19
setPdata
(CellID,
t
,
gain
);
20
}
21
22
23
/* retrieve DetCellParams ******************************************************
24
*/
25
const
float
&
LArDetCellParamsComplete::Omega0
(
const
HWIdentifier
& CellID,
int
gain
)
const
26
{
27
const
LArDetCellParamsP
&
t
=
get
(CellID,
gain
);
28
return
(
t
.m_Omega0);
29
}
30
31
const
float
&
LArDetCellParamsComplete::Taur
(
const
HWIdentifier
& CellID,
int
gain
)
const
32
{
33
const
LArDetCellParamsP
&
t
=
get
(CellID,
gain
);
34
return
(
t
.m_Taur);
35
}
LArDetCellParamsComplete.h
LArConditionsContainer< LArDetCellParamsP >::setPdata
void setPdata(const HWIdentifier id, const LArDetCellParamsP &payload, unsigned int gain=0)
put payload in persistent data
LArDetCellParamsComplete::set
void set(const HWIdentifier &CellID, int gain, float omega0, float taur)
Definition:
LArDetCellParamsComplete.cxx:12
CaloCondBlobAlgs_fillNoiseFromASCII.gain
gain
Definition:
CaloCondBlobAlgs_fillNoiseFromASCII.py:110
read_hist_ntuple.t
t
Definition:
read_hist_ntuple.py:5
HWIdentifier
Definition:
HWIdentifier.h:13
LArDetCellParamsP
Definition:
LArDetCellParamsP.h:11
LArDetCellParamsComplete::Omega0
virtual const float & Omega0(const HWIdentifier &CellID, int gain) const
Definition:
LArDetCellParamsComplete.cxx:25
LArConditionsContainer< LArDetCellParamsP >::get
ConstReference get(const HWIdentifier id, unsigned int gain=0) const
get data with online identifier
LArDetCellParamsComplete::Taur
virtual const float & Taur(const HWIdentifier &CellID, int gain) const
Definition:
LArDetCellParamsComplete.cxx:31
LArDetCellParamsComplete::LArDetCellParamsComplete
LArDetCellParamsComplete()
Definition:
LArDetCellParamsComplete.cxx:7
LArDetCellParamsComplete::~LArDetCellParamsComplete
virtual ~LArDetCellParamsComplete()
Definition:
LArDetCellParamsComplete.cxx:8
Generated on Tue Jul 2 2024 21:20:04 for ATLAS Offline Software by
1.8.18