Definition at line 49 of file fbtTestBasics.cxx.
◆ operator==()
| bool Result::operator== |
( |
const Result & | rhs | ) |
const |
Definition at line 277 of file fbtTestBasics.cxx.
278{
280 {
281 bool closeEnough = std::fabs(x1 - x2) < std::max(1e-5, 1e-3 * std::min(std::fabs(x1), std::fabs(x2)));;
282 if(!closeEnough)
283 {
284 std::cout <<
"ERROR: found different values for the equality test: " <<
x1 <<
" vs " <<
x2 << std::endl;
285 }
286 return closeEnough;
287 };
293 {
297 }
298 return true;
299}
std::pair< int, int > compare(const AmgSymMatrix(N) &m1, const AmgSymMatrix(N) &m2, double precision=1e-9, bool relative=false)
compare two matrices, returns the indices of the first element that fails the condition,...
std::map< CP::SystematicVariation, float > variations
◆ Print()
| void Result::Print |
( |
| ) |
const |
Definition at line 301 of file fbtTestBasics.cxx.
302{
303 std::cout <<
"Result: total yield = " <<
value <<
" +" <<
statUp <<
" -" <<
statDown << std::endl;
305 {
306 std::cout << " variation " << kv.first.name() << " = " << kv.second << std::endl;
307 }
308}
◆ statDown
| float Result::statDown = 0 |
◆ statUp
◆ value
◆ variations
The documentation for this struct was generated from the following file: