Loading [MathJax]/extensions/tex2jax.js
 |
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef TRIGINDETPATTRECOTOOLS_TRIG_SEED_ML_LUT_H
6 #define TRIGINDETPATTRECOTOOLS_TRIG_SEED_ML_LUT_H
27 bool check(
float fX,
float fY)
const {
32 if(i<0 || i>=
m_h || j<0 || j>=
m_w)
return false;
41 if(j<0 || j>=
m_w)
return false;
78 for(
int j=0;j<
m_w;j++) {
85 if(yp <
m_c[2]) yp =
m_c[2];
86 if(yp >
m_c[3]) yp =
m_c[3];
88 if(ym <
m_c[2]) ym =
m_c[2];
89 if(ym >
m_c[3]) ym =
m_c[3];
94 for(
int i=i1;
i<i2;
i++) {
void generate(float offset, float slope, float hwm, float hwp)
struct TrigSeedML_LUT TRIG_SEED_ML_LUT
TrigSeedML_LUT(int id, int w, int h, float c[4])
void setBin(int r, int c)
TrigSeedML_LUT(const TrigSeedML_LUT &tsl)
bool check(float fX, float fY) const
std::vector< unsigned char > m_data
bool getValidRange(float fX, float &min, float &max) const