ATLAS Offline Software
LArCalorimeter
LArRawConditions
src
LArAutoCorrComplete.cxx
Go to the documentation of this file.
1
/*
2
Copyright (C) 2002-2017 CERN for the benefit of the ATLAS collaboration
3
*/
4
5
#include "
LArRawConditions/LArAutoCorrComplete.h
"
6
7
8
LArAutoCorrComplete::LArAutoCorrComplete
():
LArConditionsContainer
<
LArAutoCorrP1
>() {}
9
10
LArAutoCorrComplete::~LArAutoCorrComplete
() {}
11
12
// Fill transient object in ATHENA *********************************
13
void
LArAutoCorrComplete::set
(
const
HWIdentifier
& CellID,
int
gain
,
14
const
std::vector<float>& vAutoCorr ) {
15
16
// std::cout<<" cell id "<< CellID<<" gain "<< gain<<" size "<<
17
// vAutoCorr.size()<<std::endl;
18
19
LArAutoCorrP1
t
;
20
t
.m_vAutoCorr.reserve(vAutoCorr.size());
21
for
(
unsigned
int
i
= 0;
i
< vAutoCorr.size(); ++
i
) {
22
t
.m_vAutoCorr.push_back(vAutoCorr[
i
]);
23
}
24
setPdata
(CellID,
t
, (
unsigned
int
)
gain
);
25
26
}
27
28
//retrieve AutoCorr *****************************************************
29
ILArAutoCorr::AutoCorrRef_t
LArAutoCorrComplete::autoCorr
(
const
HWIdentifier
& CellID,
int
gain
)
const
{
30
const
LArAutoCorrP1
&
t
=
get
(CellID,
gain
) ;
31
return
t
.m_vAutoCorr;
32
}
33
34
35
36
37
LArConditionsContainer< LArAutoCorrP1 >::setPdata
void setPdata(const HWIdentifier id, const LArAutoCorrP1 &payload, unsigned int gain=0)
put payload in persistent data
CaloCondBlobAlgs_fillNoiseFromASCII.gain
gain
Definition:
CaloCondBlobAlgs_fillNoiseFromASCII.py:110
LArAutoCorrP1
c-struct reproducing the structure of the persistent data
Definition:
LArAutoCorrP1.h:25
LArAutoCorrComplete::set
void set(const HWIdentifier &CellID, int gain, const std::vector< float > &vAutoCorr)
Definition:
LArAutoCorrComplete.cxx:13
read_hist_ntuple.t
t
Definition:
read_hist_ntuple.py:5
HWIdentifier
Definition:
HWIdentifier.h:13
LArConditionsContainer
Definition:
LArAutoCorrSym.h:14
LArAutoCorrComplete::LArAutoCorrComplete
LArAutoCorrComplete()
Definition:
LArAutoCorrComplete.cxx:8
lumiFormat.i
int i
Definition:
lumiFormat.py:85
LArConditionsContainer< LArAutoCorrP1 >::get
ConstReference get(const HWIdentifier id, unsigned int gain=0) const
get data with online identifier
LArAutoCorrComplete.h
LArAutoCorrComplete::~LArAutoCorrComplete
virtual ~LArAutoCorrComplete()
Definition:
LArAutoCorrComplete.cxx:10
LArAutoCorrComplete::autoCorr
virtual AutoCorrRef_t autoCorr(const HWIdentifier &CellID, int gain) const
Definition:
LArAutoCorrComplete.cxx:29
LArVectorProxy
Proxy for accessing a range of float values like a vector.
Definition:
LArVectorProxy.h:38
Generated on Thu Nov 7 2024 21:19:13 for ATLAS Offline Software by
1.8.18