ATLAS Offline Software
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::~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
Generated on Sun Dec 22 2024 21:13:15 for ATLAS Offline Software by
1.8.18