ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
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
HWIdentifier
Definition
HWIdentifier.h:13
LArConditionsContainer< LArDetCellParamsP >::setPdata
void setPdata(const HWIdentifier id, const LArDetCellParamsP &payload, unsigned int gain=0)
LArConditionsContainer< LArDetCellParamsP >::get
ConstReference get(const HWIdentifier id, unsigned int gain=0) const
LArDetCellParamsComplete::LArDetCellParamsComplete
LArDetCellParamsComplete()
Definition
LArDetCellParamsComplete.cxx:7
LArDetCellParamsComplete::Omega0
virtual const float & Omega0(const HWIdentifier &CellID, int gain) const
Definition
LArDetCellParamsComplete.cxx:25
LArDetCellParamsComplete::set
void set(const HWIdentifier &CellID, int gain, float omega0, float taur)
Definition
LArDetCellParamsComplete.cxx:12
LArDetCellParamsComplete::~LArDetCellParamsComplete
virtual ~LArDetCellParamsComplete()
Definition
LArDetCellParamsComplete.cxx:8
LArDetCellParamsComplete::Taur
virtual const float & Taur(const HWIdentifier &CellID, int gain) const
Definition
LArDetCellParamsComplete.cxx:31
LArDetCellParamsP
Definition
LArDetCellParamsP.h:11
Generated on
for ATLAS Offline Software by
1.17.0