test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Namespaces | Functions
closeWithinTolerance.h File Reference

Determine if two doubles are within requested relative tolerance of each other. More...

#include <cmath>
#include <algorithm>
#include "JetMETCorrections/InterpolationTables/interface/NpstatException.h"

Go to the source code of this file.

Namespaces

 npstat
 

Functions

bool npstat::closeWithinTolerance (const double &a, const double &b, const double &tol)
 

Detailed Description

Determine if two doubles are within requested relative tolerance of each other.

Author: I. Volobouev

July 2012

Definition in file closeWithinTolerance.h.