ATLAS Offline Software
Loading...
Searching...
No Matches
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
6
9
10/* Fill transient object in ATHENA *****************************************
11 */
12void LArDetCellParamsComplete::set(const HWIdentifier& CellID, int gain,
13 float omega0, float taur ) {
14
16 t.m_Omega0 = omega0 ;
17 t.m_Taur = taur ;
18
19 setPdata(CellID,t,gain);
20}
21
22
23/* retrieve DetCellParams ******************************************************
24 */
25const float& LArDetCellParamsComplete::Omega0(const HWIdentifier& CellID, int gain) const
26{
27 const LArDetCellParamsP& t = get(CellID,gain);
28 return (t.m_Omega0);
29}
30
31const float& LArDetCellParamsComplete::Taur(const HWIdentifier& CellID,int gain) const
32{
33 const LArDetCellParamsP& t = get(CellID,gain);
34 return (t.m_Taur);
35}
void setPdata(const HWIdentifier id, const LArDetCellParamsP &payload, unsigned int gain=0)
ConstReference get(const HWIdentifier id, unsigned int gain=0) const
virtual const float & Omega0(const HWIdentifier &CellID, int gain) const
void set(const HWIdentifier &CellID, int gain, float omega0, float taur)
virtual const float & Taur(const HWIdentifier &CellID, int gain) const