12 #include <ecl/dataobjects/ECLElementNumbers.h>
54 if (i < j) std::swap(i, j);
65 for (
int i = 0; i < 16; i++) {
66 for (
int j = 0; j < i; j++) M[i][j] = M[j][i] = *A++;
75 for (
int i = 0; i < 16; i++) {
76 for (
int j = 0; j < i; j++) M[i][j] = M[j][i] = *A++;
82 void storeMatrix(
const std::array<std::array<float, 16>, 16>& M)
85 for (
int i = 0; i < 16; i++) {
86 for (
int j = 0; j < i; j++) *A++ = M[i][j];
92 void storeMatrix(
const std::array<std::array<double, 16>, 16>& M)
95 for (
int i = 0; i < 16; i++) {
96 for (
int j = 0; j < i; j++) *A++ = static_cast<float>(M[i][j]);
120 for (
int i = 0; i < 10; i++)
128 for (
int i = 0; i < 10; i++)
196 for (
int i = 0; i < 31; i++) {
197 for (
int j = 0; j < 31; j++) {
214 for (
int i = 0; i < 31; i++) {
216 for (
int j = 0; j <= i; j++) sum += z[j] * (*A++);
Class for a lookup table.
unsigned int operator[](unsigned int key) const
Array-like access operator.
ClassDef(ECLLookupTable, 1)
ClassDef.
ECLLookupTable()
Constructor.
unsigned int & operator[](unsigned int key)
Array-like access operator.
std::vector< unsigned int > m_content
index to index lookup table
Container for constant matrix used to generate electronic noise.
Float_t m_matrixElement[c_nElements]
electronic noise matrix
void setMatrixElement(size_t i, float value)
Setter method for independent matrix element.
void getMatrix(float M[31][31]) const
Getter method for matrix as two dimentional array.
static const size_t c_nElements
number of independent elements
float getMatrixElement(size_t i) const
Getter method for independent matrix element.
void generateCorrelatedNoise(const float z[31], float x[31]) const
sampling a random vector x from the 31-dimensional multivariate normal distribution with covariance m...
void getArray(float NoiseData[496]) const
Getter method for matrix as one dimentional array.
Container for constant parameters used in waveform fits.
int getkc() const
getter for multipliers power of 2 for fg33,fg43
int getlAT() const
getter for the threshold to calculate time
int getsT() const
getter for the threshold to send data to collector
Int_t kc
multipliers power of 2 for fg33,fg43
Int_t ka
multipliers power of 2 for fg31,fg41
int getcT() const
getter for the chi2 threshold for quality bit
int getk1() const
getter for the multipliers power of 2 for f
Int_t hitThresh
hardware threshold(to start digitization)
Int_t skipThresh
threshold to send data to collector
Int_t y0Startr
start point for pedestal calculation
int getk2() const
getter for multipliers power of 2 for chi2 calculation
int getkb() const
getter for multipliers power of 2 for fg32
Int_t k1Chi
multipliers power of 2 for f
int gethT() const
getter for the hardware threshold
int gety0s() const
getter for the start point for pedestal calculation
Int_t k2Chi
multipliers power of 2 for chi2 calculation
Int_t lowAmpThresh
threshold to calculate time
Int_t chiThresh
chi2 threshold for quality bit
int getka() const
getter for multipliers power of 2 for fg31 fg41
Int_t kb
multipliers power of 2 for fg32
Abstract base class for different kinds of events.