ROOT  6.06/09
Reference Guide
Macros
Error.h File Reference
#include <iostream>
+ Include dependency graph for Error.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define ROOT_MATH_OS   std::cerr
 Pre-processor macro to report messages which can be configured to use ROOT error or simply an std::iostream in case of stan-alone builds. More...
 
#define MATH_INFO_MSG(loc, str)
 
#define MATH_WARN_MSG(loc, str)
 
#define MATH_ERROR_MSG(loc, str)
 
#define MATH_INFO_VAL(loc, x)   ROOT_MATH_OS << "Info in <ROOT::Math::" << loc << ">: " << #x << " = " << (x) << std::endl;
 
#define MATH_WARN_VAL(loc, x)   ROOT_MATH_OS << "Warning in ROOT::Math::" << loc << ">: " << #x << " = " << (x) << std::endl;
 
#define MATH_ERROR_VAL(loc, x)   ROOT_MATH_OS << "Error in ROOT::Math::" << loc << ">: " << #x << " = " << (x) << std::endl;
 
#define MATH_INFO_MSGVAL(loc, str, x)   ROOT_MATH_OS << "Info in <ROOT::Math::" << loc << ">: " << str << "; " << #x << " = " << (x) << std::endl;
 
#define MATH_WARN_MSGVAL(loc, str, x)   ROOT_MATH_OS << "Warning in ROOT::Math::" << loc << ">: " << str << "; " << #x << " = " << (x) << std::endl;
 
#define MATH_ERROR_MSGVAL(loc, str, x)   ROOT_MATH_OS << "Error in ROOT::Math::" << loc << ">: " << str << "; " << #x << " = " << (x) << std::endl;
 

Macro Definition Documentation

#define MATH_ERROR_MSG (   loc,
  str 
)
Value:
ROOT_MATH_OS << "Error in ROOT::Math::" << loc << ">: " << str \
<< std::endl;
#define ROOT_MATH_OS
Pre-processor macro to report messages which can be configured to use ROOT error or simply an std::io...
Definition: Error.h:37

Definition at line 50 of file Error.h.

Referenced by ROOT::Math::GoFTest::AndersonDarling2SamplesTest(), ROOT::Math::GoFTest::AndersonDarlingTest(), ROOT::Fit::Fitter::ApplyWeightCorrection(), ROOT::Fit::Fitter::CalculateHessErrors(), ROOT::Fit::Fitter::CalculateMinosErrors(), ROOT::Math::GSLMCIntegrator::CheckFunction(), ROOT::Math::BasicMinimizer::CheckObjFunction(), ROOT::Math::Minimizer::Contour(), ROOT::Math::Factory::CreateDistSampler(), ROOT::Math::IntegratorMultiDim::CreateIntegrator(), ROOT::Math::IntegratorOneDim::CreateIntegrator(), ROOT::Fit::FitConfig::CreateMinimizer(), ROOT::Math::crystalball_cdf(), ROOT::Math::crystalball_cdf_c(), ROOT::Math::crystalball_integral(), ROOT::Fit::Fitter::DoBinnedLikelihoodFit(), ROOT::Fit::Fitter::DoInitMinimizer(), ROOT::Math::GaussIntegrator::DoIntegral(), ROOT::Fit::Fitter::DoLeastSquareFit(), ROOT::Fit::Fitter::DoUnbinnedLikelihoodFit(), ROOT::Fit::Fitter::EvalFCN(), ROOT::Fit::FitUtil::EvaluateChi2Gradient(), ROOT::Fit::FitUtil::EvaluateChi2Residual(), ROOT::Fit::FitResult::FillResult(), ROOT::Fit::Fitter::FitFCN(), ROOT::Math::Minimizer::FixVariable(), ROOT::Math::DistSampler::Generate(), ROOT::Fit::FitResult::GetConfidenceIntervals(), ROOT::Math::Minimizer::GetMinosError(), ROOT::Math::Minimizer::GetVariableSettings(), ROOT::Math::GoFTest::GoFTest(), ROOT::Math::Minimizer::Hesse(), ROOT::Math::Cephes::igami(), ROOT::Math::Cephes::incbi(), ROOT::Math::GoFTest::Instantiate(), ROOT::Math::Minimizer::IsFixedVariable(), ROOT::Math::IRootFinderMethod::Iterate(), ROOT::Math::GSLRootFinder::Iterate(), ROOT::Math::GSLRootFinderDeriv::Iterate(), ROOT::Math::GoFTest::KolmogorovSmirnov2SamplesTest(), ROOT::Math::GoFTest::KolmogorovSmirnovTest(), ROOT::Fit::BinData::LogTransform(), ROOT::Math::GSLSimAnMinimizer::Minimize(), ROOT::Math::BrentMinimizer1D::Minimize(), ROOT::Math::GSLMinimizer::Minimize(), ROOT::Math::GSLMinimizer1D::Minimize(), ROOT::Math::GSLNLSMinimizer::Minimize(), ROOT::Fit::DataRange::operator()(), ROOT::Math::GoFTest::PValueADKSamples(), ROOT::Math::Minimizer::ReleaseVariable(), ROOT::Math::GaussIntegrator::Result(), ROOT::Math::Minimizer::Scan(), ROOT::Math::GoFTest::SetDistribution(), ROOT::Fit::Fitter::SetFCN(), ROOT::Math::Minimizer::SetFixedVariable(), ROOT::Math::IRootFinderMethod::SetFunction(), ROOT::Math::IOptions::SetIntValue(), ROOT::Math::RootFinder::SetMethod(), ROOT::Math::IOptions::SetNamedValue(), ROOT::Math::AdaptiveIntegratorMultiDim::SetOptions(), ROOT::Math::GSLMCIntegrator::SetParameters(), ROOT::Math::DistSampler::SetRange(), ROOT::Math::IOptions::SetRealValue(), ROOT::Math::GoFTest::SetSamples(), ROOT::Math::GSLMultiRootDerivSolver::SetSolver(), ROOT::Math::Minimizer::SetVariableLowerLimit(), ROOT::Math::Minimizer::SetVariableStepSize(), ROOT::Math::Minimizer::SetVariableUpperLimit(), ROOT::Math::Minimizer::SetVariableValue(), ROOT::Math::BrentRootFinder::Solve(), ROOT::Math::GSLRootFinder::Solve(), ROOT::Math::GSLRootFinderDeriv::Solve(), ROOT::Math::GSLMultiRootFinder::Solve(), testIntegration(), ROOT::Fit::FitResult::Update(), and ROOT::Math::Minimizer::VariableIndex().

#define MATH_ERROR_MSGVAL (   loc,
  str,
  x 
)    ROOT_MATH_OS << "Error in ROOT::Math::" << loc << ">: " << str << "; " << #x << " = " << (x) << std::endl;
#define MATH_ERROR_VAL (   loc,
  x 
)    ROOT_MATH_OS << "Error in ROOT::Math::" << loc << ">: " << #x << " = " << (x) << std::endl;

Definition at line 60 of file Error.h.

#define MATH_INFO_MSG (   loc,
  str 
)
#define MATH_INFO_MSGVAL (   loc,
  str,
  x 
)    ROOT_MATH_OS << "Info in <ROOT::Math::" << loc << ">: " << str << "; " << #x << " = " << (x) << std::endl;
#define MATH_INFO_VAL (   loc,
  x 
)    ROOT_MATH_OS << "Info in <ROOT::Math::" << loc << ">: " << #x << " = " << (x) << std::endl;

Definition at line 56 of file Error.h.

#define MATH_WARN_MSG (   loc,
  str 
)
Value:
ROOT_MATH_OS << "Warning in ROOT::Math::" << loc << ">: " << str \
<< std::endl;
#define ROOT_MATH_OS
Pre-processor macro to report messages which can be configured to use ROOT error or simply an std::io...
Definition: Error.h:37

Definition at line 47 of file Error.h.

Referenced by ROOT::Fit::Fitter::ApplyWeightCorrection(), ROOT::Fit::Fitter::CalculateHessErrors(), ROOT::Math::IntegratorMultiDim::CreateIntegrator(), ROOT::Math::IntegratorOneDim::CreateIntegrator(), ROOT::Fit::FitConfig::CreateMinimizer(), ROOT::Math::crystalball_integral(), ROOT::Math::GSLInterpolator::Deriv(), ROOT::Math::GSLInterpolator::Deriv2(), ROOT::Fit::Fitter::DoBinnedLikelihoodFit(), ROOT::Fit::Fitter::DoUnbinnedLikelihoodFit(), ROOT::Math::GSLInterpolator::Eval(), ROOT::Math::GaussIntegrator::GaussIntegrator(), ROOT::Math::DistSampler::Generate(), ROOT::Math::IntegratorMultiDim::GetName(), ROOT::Math::IntegratorOneDim::GetName(), ROOT::Math::IntegratorMultiDim::GetType(), ROOT::Math::IntegratorOneDim::GetType(), ROOT::Math::GSLIntegrator::GSLIntegrator(), ROOT::Math::GSLInterpolator::Integ(), ROOT::Math::GaussIntegrator::Integral(), ROOT::Math::GaussIntegrator::IntegralCauchy(), ROOT::Math::GaussLegendreIntegrator::SetAbsTolerance(), ROOT::Math::GoFTest::SetDistributionFunction(), ROOT::Fit::Fitter::SetFunction(), ROOT::Math::Minimizer::SetLimitedVariable(), ROOT::Math::GSLMCIntegrator::SetOptions(), ROOT::Math::GSLIntegrator::SetOptions(), ROOT::Fit::DataRange::SetRange(), ROOT::Math::GSLMCIntegrator::SetType(), and ROOT::Math::GSLMCIntegrator::SetTypeName().

#define MATH_WARN_MSGVAL (   loc,
  str,
  x 
)    ROOT_MATH_OS << "Warning in ROOT::Math::" << loc << ">: " << str << "; " << #x << " = " << (x) << std::endl;
#define MATH_WARN_VAL (   loc,
  x 
)    ROOT_MATH_OS << "Warning in ROOT::Math::" << loc << ">: " << #x << " = " << (x) << std::endl;

Definition at line 58 of file Error.h.

#define ROOT_MATH_OS   std::cerr

Pre-processor macro to report messages which can be configured to use ROOT error or simply an std::iostream in case of stan-alone builds.

Definition at line 37 of file Error.h.