![]() |
Belle II Software
release-05-02-19
|
small class for storing min and max. More...
#include <MinMax.h>
Public Member Functions | |
MinMax () | |
construtor, starts with max for min and min for max (will later be replaced by valid entries). | |
void | reset () |
reset to start values. | |
bool | checkAndReplaceIfMinMax (double newVal) |
checks value and replaces old ones if new one is better. More... | |
Protected Attributes | |
std::pair< double, double > | m_minMax |
.first is min, .second is .max. | |
|
inline |
checks value and replaces old ones if new one is better.
returns true if minMax was updated.