ATLAS Offline Software
LArDAC2uAComplete.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 
7 
10 
11 /* Fill transient object in ATHENA *****************************************
12  */
13 void LArDAC2uAComplete::set(const HWIdentifier& chid, const float DAC2uA ) {
14  this->setPdata(chid,DAC2uA);
15 }
16 
17 /* retrieve DAC2uA ******************************************************
18  */
19 const float& LArDAC2uAComplete::DAC2UA(const HWIdentifier& chid) const {
20  return this->get(chid).m_data;
21 }
22 
23 
24 
LArConditionsContainer< LArSingleFloatP >::setPdata
void setPdata(const HWIdentifier id, const LArSingleFloatP &payload, unsigned int gain=0)
put payload in persistent data
HWIdentifier
Definition: HWIdentifier.h:13
LArDAC2uAComplete::set
void set(const HWIdentifier &CellID, const float vDAC2uA)
Definition: LArDAC2uAComplete.cxx:13
LArConditionsContainer< LArSingleFloatP >::get
ConstReference get(const HWIdentifier id, unsigned int gain=0) const
get data with online identifier
LArDAC2uAComplete::DAC2UA
virtual const float & DAC2UA(const HWIdentifier &chid) const override
access to DAC2UA conversion factor index by Identifier, and gain setting
Definition: LArDAC2uAComplete.cxx:19
LArDAC2uAComplete::LArDAC2uAComplete
LArDAC2uAComplete()
Definition: LArDAC2uAComplete.cxx:8
LArDAC2uAComplete.h
LArDAC2uAComplete::~LArDAC2uAComplete
virtual ~LArDAC2uAComplete()
Definition: LArDAC2uAComplete.cxx:9