ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
LArCalorimeter
LArRawConditions
src
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
5
#include "
LArRawConditions/LArCableAttenuationComplete.h
"
6
#include "
LArIdentifier/LArOnlineID.h
"
7
8
9
LArCableAttenuationComplete::LArCableAttenuationComplete
() {}
10
LArCableAttenuationComplete::~LArCableAttenuationComplete
() {}
11
12
/* Fill transient object in ATHENA *****************************************
13
*/
14
void
LArCableAttenuationComplete::set
(
const
HWIdentifier
& CellID,
float
CableAttenuation
) {
15
16
LArCableAttenuationP
t;
17
t.m_CableAttenuation =
CableAttenuation
;
18
19
setPdata
(CellID, t);
20
21
}
22
23
/* retrieve CableAttenuation ******************************************************
24
*/
25
const
float
&
LArCableAttenuationComplete::CableAttenuation
(
const
HWIdentifier
& CellID)
const
26
{
27
const
LArCableAttenuationP
& t =
get
( CellID);
28
return
(t.m_CableAttenuation);
29
}
30
31
32
33
LArCableAttenuationComplete.h
LArOnlineID.h
HWIdentifier
Definition
HWIdentifier.h:13
LArCableAttenuationComplete::set
void set(const HWIdentifier &CellID, float vCableAttenuation)
Definition
LArCableAttenuationComplete.cxx:14
LArCableAttenuationComplete::LArCableAttenuationComplete
LArCableAttenuationComplete()
Definition
LArCableAttenuationComplete.cxx:9
LArCableAttenuationComplete::~LArCableAttenuationComplete
virtual ~LArCableAttenuationComplete()
Definition
LArCableAttenuationComplete.cxx:10
LArCableAttenuationComplete::CableAttenuation
virtual const float & CableAttenuation(const HWIdentifier &CellID) const
Definition
LArCableAttenuationComplete.cxx:25
LArCableAttenuationP
c-struct reproducing the structure of the persistent data
Definition
LArCableAttenuationP.h:20
LArConditionsContainer< LArCableAttenuationP >::setPdata
void setPdata(const HWIdentifier id, const LArCableAttenuationP &payload, unsigned int gain=0)
LArConditionsContainer< LArCableAttenuationP >::get
ConstReference get(const HWIdentifier id, unsigned int gain=0) const
Generated on
for ATLAS Offline Software by
1.17.0