1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
#include "CondFormats/EcalObjects/interface/EcalTPGLut.h"
EcalTPGLut::EcalTPGLut() {}
EcalTPGLut::EcalTPGLut(const EcalTPGLut& tpgLut) {
const unsigned int* lut = tpgLut.getLut();
for (unsigned int i = 0; i < 1024; i++)
lut_[i] = lut[i];
}
EcalTPGLut::~EcalTPGLut() {}
const unsigned int* EcalTPGLut::getLut() const { return lut_; }
void EcalTPGLut::setLut(const unsigned int* lut) {
for (unsigned int i = 0; i < 1024; i++)
lut_[i] = lut[i];
}
EcalTPGLut& EcalTPGLut::operator=(const EcalTPGLut& tpgLut) {
const unsigned int* lut = tpgLut.getLut();
for (unsigned int i = 0; i < 1024; i++)
lut_[i] = lut[i];
return *this;
}
|