MINT2
Public Member Functions | Private Attributes | List of all members
Dispersion_Integrand Class Reference

Public Member Functions

 Dispersion_Integrand (vector< TF1 * > f, vector< double > g, double singularity)
 
double operator() (double x)
 

Private Attributes

vector< TF1 * > _gamma
 
vector< double > _g
 
double _singularity
 

Detailed Description

Definition at line 500 of file RunningWidthCalculator.cpp.

Constructor & Destructor Documentation

◆ Dispersion_Integrand()

Dispersion_Integrand::Dispersion_Integrand ( vector< TF1 * >  f,
vector< double >  g,
double  singularity 
)
inline

Definition at line 505 of file RunningWidthCalculator.cpp.

505  :
506  _gamma(f), _g(g), _singularity(singularity){
507  }
static const double g

Member Function Documentation

◆ operator()()

double Dispersion_Integrand::operator() ( double  x)
inline

Definition at line 508 of file RunningWidthCalculator.cpp.

508  {
509  double sum = 0.;
510  for (unsigned int i=0; i<_gamma.size(); i++) sum += _g[i]*_gamma[i]->Eval(x);
511  return sum/(_singularity-x);
512  }

Member Data Documentation

◆ _g

vector<double> Dispersion_Integrand::_g
private

Definition at line 502 of file RunningWidthCalculator.cpp.

◆ _gamma

vector<TF1*> Dispersion_Integrand::_gamma
private

Definition at line 501 of file RunningWidthCalculator.cpp.

◆ _singularity

double Dispersion_Integrand::_singularity
private

Definition at line 503 of file RunningWidthCalculator.cpp.


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