laura is hosted by Hepforge, IPPP Durham
Laura++  v1r0
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. More...
 
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. More...
 

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 30 of file LauIntegrals.hh.

Constructor & Destructor Documentation

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

Constructor.

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

Definition at line 28 of file LauIntegrals.cc.

LauIntegrals::~LauIntegrals ( )
virtual

Destructor.

Definition at line 33 of file LauIntegrals.cc.

Member Function Documentation

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 88 of file LauIntegrals.cc.

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 37 of file LauIntegrals.cc.

Member Data Documentation

Double_t LauIntegrals::weightsPrecision_
private

The precision to which the weights should be calculated.

Definition at line 60 of file LauIntegrals.hh.


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