Belle II Software  release-08-01-10
SameSignChecker Class Reference

Small helper for checking the same sign of two, four or eight floats. More...

#include <SameSignChecker.h>

Static Public Member Functions

static bool sameSign (double n1, double n2)
 Check if two values have the same sign.
 
static bool sameSign (double n1, double n2, double n3, double n4)
 Check if four values have the same sign.
 
static bool sameSign (double n1, double n2, double n3, double n4, double n5, double n6, double n7, double n8)
 Check if eight values have the same sign.
 
static bool isIn (double x, double y, double x1, double x2, double y1, double y2)
 Check if two values are in the rectangle spanned by the other four values.
 

Detailed Description

Small helper for checking the same sign of two, four or eight floats.

Definition at line 20 of file SameSignChecker.h.


The documentation for this class was generated from the following file: