![]() |
Belle II Software
release-08-02-04
|
Encoder/decoder for neural network tau values. More...
#include <SVDSimulationTools.h>
Public Member Functions | |
| TauEncoder (double min_amplitude, double max_amplitude, double min_tau, double max_tau) | |
| Constructor takes amplitude and tau ranges, typically from a network xml file. More... | |
| TauEncoder () | |
| Default constructor Parameterless constructor to default-construct the class. | |
| void | setBounds (double min_amplitude, double max_amplitude, double min_tau, double max_tau) |
| Set encoder baounds (e.g. More... | |
| double | encodeTau (double tau) const |
| Return encoded value for a waveform width tau value. More... | |
| double | decodeTau (double scaledTau) const |
| Scale back a previously scaled tau value. More... | |
| void | print (std::ostringstream &os) const |
| print tool | |
Private Attributes | |
| double | m_minAmplitude |
| lower bound of amplitude range | |
| double | m_maxAmplitude |
| upper bound of amplitdue range | |
| double | m_minTau |
| lower bound of tau range | |
| double | m_maxTau |
| upper bound of tau range | |
| double | m_ATRatio |
| ratio of amplitude to tau ranges | |
Encoder/decoder for neural network tau values.
Tau value is an additional input to the network along with the 6 signal samples. Therefore, it is scaled to the range of signals, more precisely, to the amplitude range.
Definition at line 212 of file SVDSimulationTools.h.
|
inline |
Constructor takes amplitude and tau ranges, typically from a network xml file.
| min_amplitude | Lower bound of the amplitude range |
| max_amplitude | Upper bound of the amplitude range |
| min_tau | Lower bound of the tau range |
| max_tau | Upper bound of the tau range |
Definition at line 220 of file SVDSimulationTools.h.
|
inline |
Scale back a previously scaled tau value.
| scaledTau | a previously scaled tau value |
Definition at line 259 of file SVDSimulationTools.h.
|
inline |
Return encoded value for a waveform width tau value.
| tau | original tau value |
Definition at line 252 of file SVDSimulationTools.h.
|
inline |
Set encoder baounds (e.g.
when default constructor was used)
| min_amplitude | Lower bound of the amplitude range |
| max_amplitude | Upper bound of the amplitude range |
| min_tau | Lower bound of the tau range |
| max_tau | Upper bound of the tau range |
Definition at line 237 of file SVDSimulationTools.h.