CondFormats
EcalObjects
src
EcalTPGLut.cc
Go to the documentation of this file.
1
#include "
CondFormats/EcalObjects/interface/EcalTPGLut.h
"
2
3
EcalTPGLut::EcalTPGLut
() {}
4
5
EcalTPGLut::EcalTPGLut
(
const
EcalTPGLut
& tpgLut) {
6
const
unsigned
int
* lut = tpgLut.
getLut
();
7
for
(
unsigned
int
i
= 0;
i
< 1024;
i
++)
8
lut_
[
i
] = lut[
i
];
9
}
10
11
EcalTPGLut::~EcalTPGLut
() {}
12
13
const
unsigned
int
*
EcalTPGLut::getLut
()
const
{
return
lut_
; }
14
15
void
EcalTPGLut::setLut
(
const
unsigned
int
* lut) {
16
for
(
unsigned
int
i
= 0;
i
< 1024;
i
++)
17
lut_
[
i
] = lut[
i
];
18
}
19
20
EcalTPGLut
&
EcalTPGLut::operator=
(
const
EcalTPGLut
& tpgLut) {
21
const
unsigned
int
* lut = tpgLut.
getLut
();
22
for
(
unsigned
int
i
= 0;
i
< 1024;
i
++)
23
lut_
[
i
] = lut[
i
];
24
return
*
this
;
25
}
mps_fire.i
i
Definition:
mps_fire.py:428
EcalTPGLut.h
EcalTPGLut::getLut
const unsigned int * getLut() const
Definition:
EcalTPGLut.cc:13
EcalTPGLut::setLut
void setLut(const unsigned int *lut)
Definition:
EcalTPGLut.cc:15
EcalTPGLut::lut_
unsigned int lut_[1024]
Definition:
EcalTPGLut.h:18
EcalTPGLut
Definition:
EcalTPGLut.h:6
EcalTPGLut::operator=
EcalTPGLut & operator=(const EcalTPGLut &)
Definition:
EcalTPGLut.cc:20
EcalTPGLut::~EcalTPGLut
~EcalTPGLut()
Definition:
EcalTPGLut.cc:11
EcalTPGLut::EcalTPGLut
EcalTPGLut()
Definition:
EcalTPGLut.cc:3
Generated for CMSSW Reference Manual by
1.8.16