ATLAS Offline Software
LAruA2MeVComplete.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3 */
4 
6 
9 
10 /* Fill transient object in ATHENA *****************************************
11  */
12 void LAruA2MeVComplete::set(const HWIdentifier& chid, const float uA2MeV ) {
13  this->setPdata(chid,uA2MeV);
14 }
15 
16 /* retrieve uA2MeV ******************************************************
17  */
18 const float& LAruA2MeVComplete::UA2MEV(const HWIdentifier& chid) const {
19  return this->get(chid).m_data;
20 }
21 
22 
LAruA2MeVComplete::LAruA2MeVComplete
LAruA2MeVComplete()
Definition: LAruA2MeVComplete.cxx:7
LArConditionsContainer< LArSingleFloatP >::setPdata
void setPdata(const HWIdentifier id, const LArSingleFloatP &payload, unsigned int gain=0)
put payload in persistent data
LAruA2MeVComplete::~LAruA2MeVComplete
virtual ~LAruA2MeVComplete()
Definition: LAruA2MeVComplete.cxx:8
LAruA2MeVComplete::UA2MEV
virtual const float & UA2MEV(const HWIdentifier &chid) const override
Definition: LAruA2MeVComplete.cxx:18
LAruA2MeVComplete::set
void set(const HWIdentifier &CellID, const float vuA2MeV)
Definition: LAruA2MeVComplete.cxx:12
HWIdentifier
Definition: HWIdentifier.h:13
LArConditionsContainer< LArSingleFloatP >::get
ConstReference get(const HWIdentifier id, unsigned int gain=0) const
get data with online identifier
LAruA2MeVComplete.h