CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
CommonUtils.h
Go to the documentation of this file.
1 #include <Math/VectorUtil.h>
2 #include <iostream>
3 #include <limits>
4 #include "TMath.h"
5 
6 namespace CommonUtils {
7  template<typename T> inline bool isinf(T value)
8  {
9  value = TMath::Abs(value);
10  return std::numeric_limits<T>::has_infinity && value == std::numeric_limits<T>::infinity();
11  }
12 }
bool isinf(T value)
Definition: CommonUtils.h:7
const double infinity
long double T