![]() |
Belle II Software development
|
A table of equidistant entries. More...
#include <YScanner.h>
Public Member Functions | |
| Table () | |
| Default constructor. | |
| void | clear () |
| Clear the content entirely. | |
| void | set (double X0, double Step) |
| Sets the first x and the step, and clears the entries. | |
| void | set (const Table &T) |
| Sets the first x and the step, and clears the entries. | |
| double | getX (int i) const |
| Returns x for a given index. | |
| double | getXmin () const |
| Returns x of the first entry. | |
| double | getXmax () const |
| Returns x of the last entry. | |
| int | getIndex (double x) const |
| Returns index. | |
| double | getY (int i) const |
| Returns y for a given index. | |
Public Attributes | |
| double | x0 = 0 |
| x of first entry | |
| double | step = 0 |
| step size | |
| std::vector< TableEntry > | entries |
| table entries | |
A table of equidistant entries.
Definition at line 118 of file YScanner.h.
|
inline |
|
inline |
Clear the content entirely.
Definition at line 511 of file YScanner.h.
|
inline |
Returns index.
Definition at line 538 of file YScanner.h.
|
inline |
Returns x for a given index.
Definition at line 532 of file YScanner.h.
|
inline |
Returns x of the last entry.
Definition at line 536 of file YScanner.h.
|
inline |
Returns x of the first entry.
Definition at line 534 of file YScanner.h.
|
inline |
Returns y for a given index.
Definition at line 540 of file YScanner.h.
|
inline |
Sets the first x and the step, and clears the entries.
| T | the table |
Definition at line 525 of file YScanner.h.
|
inline |
Sets the first x and the step, and clears the entries.
| X0 | x of the first entry |
| Step | step size |
Definition at line 518 of file YScanner.h.
| std::vector<TableEntry> entries |
table entries
Definition at line 121 of file YScanner.h.
| double step = 0 |
step size
Definition at line 120 of file YScanner.h.
| double x0 = 0 |
x of first entry
Definition at line 119 of file YScanner.h.