#include <TrigSeedML_LUT.h>
|
| | TrigSeedML_LUT () |
| | TrigSeedML_LUT (int id, int w, int h, float c[4]) |
| | TrigSeedML_LUT (const TrigSeedML_LUT &tsl) |
| | ~TrigSeedML_LUT () |
| bool | check (float fX, float fY) const |
| bool | getValidRange (float fX, float &min, float &max) const |
| void | initialize () |
| void | setBin (int r, int c) |
| void | generate (float offset, float slope, float hwm, float hwp) |
Definition at line 10 of file TrigSeedML_LUT.h.
◆ TrigSeedML_LUT() [1/3]
| TrigSeedML_LUT::TrigSeedML_LUT |
( |
| ) |
|
|
inline |
◆ TrigSeedML_LUT() [2/3]
| TrigSeedML_LUT::TrigSeedML_LUT |
( |
int | id, |
|
|
int | w, |
|
|
int | h, |
|
|
float | c[4] ) |
|
inline |
◆ TrigSeedML_LUT() [3/3]
◆ ~TrigSeedML_LUT()
| TrigSeedML_LUT::~TrigSeedML_LUT |
( |
| ) |
|
|
inline |
◆ check()
| bool TrigSeedML_LUT::check |
( |
float | fX, |
|
|
float | fY ) const |
|
inline |
Definition at line 27 of file TrigSeedML_LUT.h.
27 {
28
31
32 if(i<0 || i>=
m_h || j<0 || j>=
m_w)
return false;
33
35 }
float j(const xAOD::IParticle &, const xAOD::TrackMeasurementValidation &hit, const Eigen::Matrix3d &jab_inv)
◆ generate()
| void TrigSeedML_LUT::generate |
( |
float | offset, |
|
|
float | slope, |
|
|
float | hwm, |
|
|
float | hwp ) |
|
inline |
Definition at line 74 of file TrigSeedML_LUT.h.
74 {
75
77
78 for(
int j=0;
j<
m_w;
j++) {
80
84
85 if(yp <
m_c[2]) yp =
m_c[2];
86 if(yp >
m_c[3]) yp =
m_c[3];
87
88 if(ym <
m_c[2]) ym =
m_c[2];
89 if(ym >
m_c[3]) ym =
m_c[3];
90
93
94 for(
int i=i1;
i<i2;
i++) {
96 }
97
98 }
99 }
◆ getValidRange()
| bool TrigSeedML_LUT::getValidRange |
( |
float | fX, |
|
|
float & | min, |
|
|
float & | max ) const |
|
inline |
Definition at line 37 of file TrigSeedML_LUT.h.
37 {
41 if(j<0 || j>=
m_w)
return false;
42
44 int i1=0;
45 int i2=0;
48 if(
m_data[idx] == 0)
continue;
49 else {
51 i2 = i1;
52 break;
53 }
54 }
57 else break;
58 }
59
62 return true;
63 }
◆ initialize()
| void TrigSeedML_LUT::initialize |
( |
| ) |
|
|
inline |
◆ setBin()
| void TrigSeedML_LUT::setBin |
( |
int | r, |
|
|
int | c ) |
|
inline |
◆ m_c
| float TrigSeedML_LUT::m_c[4] |
◆ m_data
| std::vector<unsigned char> TrigSeedML_LUT::m_data |
◆ m_h
◆ m_id
◆ m_invBinWidthX
| float TrigSeedML_LUT::m_invBinWidthX |
◆ m_invBinWidthY
| float TrigSeedML_LUT::m_invBinWidthY |
◆ m_w
The documentation for this struct was generated from the following file: