LArSoft  v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
PhotonPropagationUtils.h File Reference
#include <array>
#include <cmath>
#include <limits>
#include <vector>

Go to the source code of this file.

Namespaces

 phot
 General LArSoft Utilities.
 

Functions

double phot::fast_acos (double xin)
 
double phot::interpolate (const std::vector< double > &xData, const std::vector< double > &yData, const double x, const bool extrapolate, size_t i)
 
double phot::interpolate2 (const std::vector< double > &xDistances, const std::vector< double > &rDistances, const std::vector< std::vector< std::vector< double >>> &parameters, const double x, const double r, const size_t k)
 
void phot::interpolate3 (std::array< double, 3 > &inter, const std::vector< double > &xData, const std::vector< double > &yData1, const std::vector< double > &yData2, const std::vector< double > &yData3, const double x, const bool extrapolate)
 
template<typename TReal >
static constexpr bool phot::isApproximatelyEqual (TReal a, TReal b, TReal tolerance=std::numeric_limits< TReal >::epsilon())
 
template<typename TReal >
static constexpr bool phot::isApproximatelyZero (TReal a, TReal tolerance=std::numeric_limits< TReal >::epsilon())
 
template<typename TReal >
static constexpr bool phot::isDefinitelyLessThan (TReal a, TReal b, TReal tolerance=std::numeric_limits< TReal >::epsilon())
 
template<typename TReal >
static constexpr bool phot::isDefinitelyGreaterThan (TReal a, TReal b, TReal tolerance=std::numeric_limits< TReal >::epsilon())