laura is hosted by Hepforge, IPPP Durham
Laura++  3.6.0
A maximum likelihood fitting package for performing Dalitz-plot analysis.

Class for performing numerical integration routines. More...

#include <LauIntegrals.hh>

Public Member Functions

 LauIntegrals (Double_t weightsPrecision=1.0e-6)
 Constructor. More...
 
virtual ~LauIntegrals ()
 Destructor.
 
 LauIntegrals (const LauIntegrals &rhs)
 Copy constructor.
 
LauIntegralsoperator= (const LauIntegrals &rhs)
 Copy assignment operator.
 
void calcGaussLegendreWeights (const Int_t numPoints, std::vector< Double_t > &abscissas, std::vector< Double_t > &weights)
 Calculate the Gauss-Legendre weights. More...
 
void calcGaussHermiteWeights (const Int_t numPoints, std::vector< Double_t > &abscissas, std::vector< Double_t > &weights)
 Calculate the Gauss-Hermite weights. More...
 

Private Attributes

Double_t weightsPrecision_
 The precision to which the weights should be calculated.
 

Detailed Description

Class for performing numerical integration routines.

Class for calculating the Gauss-Legendre or Gauss-Hermite weights required for numerical integration of DP and other PDFs.

Definition at line 43 of file LauIntegrals.hh.

Constructor & Destructor Documentation

◆ LauIntegrals()

LauIntegrals::LauIntegrals ( Double_t  weightsPrecision = 1.0e-6)

Constructor.

Parameters
[in]weightsPrecisionthe desired precision to which the weights should be calculated

Definition at line 38 of file LauIntegrals.cc.

Member Function Documentation

◆ calcGaussHermiteWeights()

void LauIntegrals::calcGaussHermiteWeights ( const Int_t  numPoints,
std::vector< Double_t > &  abscissas,
std::vector< Double_t > &  weights 
)

Calculate the Gauss-Hermite weights.

Parameters
[in]numPointsthe number of points in the integration
[out]abscissasthe values of the abscissa at each integration point
[out]weightsthe weight at each integration point

Definition at line 112 of file LauIntegrals.cc.

◆ calcGaussLegendreWeights()

void LauIntegrals::calcGaussLegendreWeights ( const Int_t  numPoints,
std::vector< Double_t > &  abscissas,
std::vector< Double_t > &  weights 
)

Calculate the Gauss-Legendre weights.

Parameters
[in]numPointsthe number of points in the integration
[out]abscissasthe values of the abscissa at each integration point
[out]weightsthe weight at each integration point

Definition at line 60 of file LauIntegrals.cc.


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