ATLAS Offline Software
LArCalorimeter
LArRawConditions
src
LArRinjComplete.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2018 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
LArRawConditions/LArRinjComplete.h
"
6
7
8
LArRinjComplete::LArRinjComplete
() {}
9
10
LArRinjComplete::~LArRinjComplete
() {}
11
12
/* Fill transient object in ATHENA *****************************************
13
*/
14
void
LArRinjComplete::set
(
const
HWIdentifier
& CellID,
float
Rinj ) {
15
LArRinjP
t
;
16
t
.m_Rinj =
Rinj
;
17
18
setPdata
(CellID,
t
);
19
}
20
21
22
/* retrieve Rinj ******************************************************
23
*/
24
const
float
&
LArRinjComplete::Rinj
(
const
HWIdentifier
& CellID)
const
{
25
const
LArRinjP
&
t
=
get
( CellID);
26
return
(
t
.m_Rinj);
27
}
28
29
LArConditionsContainer< LArRinjP >::setPdata
void setPdata(const HWIdentifier id, const LArRinjP &payload, unsigned int gain=0)
put payload in persistent data
LArRinjP
c-struct reproducing the structure of the persistent data
Definition:
LArRinjP.h:20
LArRinjComplete::LArRinjComplete
LArRinjComplete()
Definition:
LArRinjComplete.cxx:8
read_hist_ntuple.t
t
Definition:
read_hist_ntuple.py:5
HWIdentifier
Definition:
HWIdentifier.h:13
LArRinjComplete.h
LArConditionsContainer< LArRinjP >::get
ConstReference get(const HWIdentifier id, unsigned int gain=0) const
get data with online identifier
LArRinjComplete::Rinj
virtual const float & Rinj(const HWIdentifier &CellID) const
Definition:
LArRinjComplete.cxx:24
LArRinjComplete::~LArRinjComplete
virtual ~LArRinjComplete()
Definition:
LArRinjComplete.cxx:10
LArRinjComplete::set
void set(const HWIdentifier &CellID, float vRinj)
Definition:
LArRinjComplete.cxx:14
Generated on Sun Dec 22 2024 21:13:42 for ATLAS Offline Software by
1.8.18