ATLAS Offline Software
LArCableAttenuationComplete.cxx
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2019 CERN for the benefit of the ATLAS collaboration
3 */
4 
7 
8 
11 
12 /* Fill transient object in ATHENA *****************************************
13  */
14 void LArCableAttenuationComplete::set(const HWIdentifier& CellID, float CableAttenuation ) {
15 
17  t.m_CableAttenuation = CableAttenuation ;
18 
19  setPdata(CellID, t);
20 
21 }
22 
23 /* retrieve CableAttenuation ******************************************************
24  */
26 {
27  const LArCableAttenuationP& t = get( CellID);
28  return (t.m_CableAttenuation);
29 }
30 
31 
32 
33 
LArCableAttenuationComplete::~LArCableAttenuationComplete
virtual ~LArCableAttenuationComplete()
Definition: LArCableAttenuationComplete.cxx:10
LArConditionsContainer< LArCableAttenuationP >::setPdata
void setPdata(const HWIdentifier id, const LArCableAttenuationP &payload, unsigned int gain=0)
put payload in persistent data
LArCableAttenuationP
c-struct reproducing the structure of the persistent data
Definition: LArCableAttenuationP.h:20
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
HWIdentifier
Definition: HWIdentifier.h:13
LArCableAttenuationComplete.h
LArCableAttenuationComplete::LArCableAttenuationComplete
LArCableAttenuationComplete()
Definition: LArCableAttenuationComplete.cxx:9
LArConditionsContainer< LArCableAttenuationP >::get
ConstReference get(const HWIdentifier id, unsigned int gain=0) const
get data with online identifier
LArCableAttenuationComplete::CableAttenuation
virtual const float & CableAttenuation(const HWIdentifier &CellID) const
Definition: LArCableAttenuationComplete.cxx:25
LArCableAttenuationComplete::set
void set(const HWIdentifier &CellID, float vCableAttenuation)
Definition: LArCableAttenuationComplete.cxx:14
LArOnlineID.h