CepGen 1.2.5
Central exclusive processes event generator
|
Analytic (functional) integration algorithm. More...
#include <CepGen/Integration/AnalyticIntegrator.h>
Public Member Functions | |
AnalyticIntegrator (const ParametersList ¶ms) | |
Integrator algorithm constructor. | |
double | integrate (const std::function< double(double)> &func, const Limits &range={}) const |
Evaluate the integral of a function at a given value. | |
template<typename T > | |
double | integrate (const utils::Function1D &func, const T &obj, const Limits &range={}) const |
Evaluate the integral of a function at a given value. | |
virtual double | integrate (const utils::Function1D &func, void *obj=nullptr, const Limits &range={}) const =0 |
Evaluate the integral of a function at a given value. | |
const std::string & | name () const |
Module unique indexing name. | |
bool | operator== (const SteeredObject &oth) const |
Equality operator. | |
bool | operator!= (const SteeredObject &oth) const |
Inequality operator. | |
const ParametersList & | parameters () const override |
Module user-defined parameters. | |
virtual void | setParameters (const ParametersList ¶ms) override |
Set module parameters. | |
void | setDescribedParameters (const ParametersList ¶ms_orig) |
Set (documented) module parameters. | |
Static Public Member Functions | |
static ParametersDescription | description () |
Protected Member Functions | |
template<typename T > | |
T | steer (const std::string &key) const |
Retrieve a parameters as previously steered. | |
template<typename T , typename U > | |
U | steerAs (const std::string &key) const |
Retrieve a recasted parameters as previously steered. | |
std::string | steerName () const |
Retrieve module name from parameters. | |
std::string | steerPath (const std::string &key) const |
Retrieve a path from common search paths. | |
Protected Attributes | |
const Limits | range_ |
const ParametersList | func_params_ |
const int | verbosity_ |
Integrator verbosity. | |
const std::string | name_ |
Module unique indexing name. | |
ParametersList | params_ |
Module parameters. | |
Definition at line 32 of file AnalyticIntegrator.h.
|
explicit |
Definition at line 23 of file AnalyticIntegrator.cpp.
|
static |
Definition at line 33 of file AnalyticIntegrator.cpp.
double integrate | ( | const std::function< double(double)> & | func, |
const Limits & | range = {} |
||
) | const |
[in] | func | function to integrate |
[in] | range | (optional) integration range |
Definition at line 29 of file AnalyticIntegrator.cpp.
double integrate | ( | const utils::Function1D & | func, |
const T & | obj, | ||
const Limits & | range = {} |
||
) | const |
[in] | func | function to integrate |
[in] | obj | specific parameters object |
[in] | range | (optional) integration range |
Definition at line 47 of file AnalyticIntegrator.h.
|
pure virtual |
[in] | func | function to integrate |
[in] | obj | (optional) parameters object |
[in] | range | (optional) integration range |
Implemented in BoostGaussKronrodAnalyticalIntegrator< N >, BoostGaussLegendreAnalyticalIntegrator< N >, BoostAnalyticalIntegrator, and AnalyticalIntegrator.
|
inherited |
Definition at line 42 of file NamedModule.h.
|
inherited |
Definition at line 51 of file SteeredObject.h.
|
inherited |
Definition at line 49 of file SteeredObject.h.
|
overridevirtualinherited |
Reimplemented from Steerable.
Definition at line 54 of file SteeredObject.h.
|
inherited |
Definition at line 73 of file SteeredObject.h.
|
overridevirtualinherited |
Reimplemented from Steerable.
Reimplemented in Initial, Remnants, CutsList, IncomingBeams, and Kinematics.
Definition at line 62 of file SteeredObject.h.
|
protectedinherited |
Definition at line 39 of file Steerable.h.
Definition at line 44 of file Steerable.h.
|
protectedinherited |
Definition at line 48 of file Steerable.h.
|
protectedinherited |
Definition at line 30 of file Steerable.cpp.
|
protected |
Definition at line 58 of file AnalyticIntegrator.h.
|
protectedinherited |
Definition at line 45 of file NamedModule.h.
|
mutableprotectedinherited |
Definition at line 50 of file Steerable.h.
|
protected |
Definition at line 57 of file AnalyticIntegrator.h.
|
protected |
Definition at line 59 of file AnalyticIntegrator.h.