CepGen 1.2.5
Central exclusive processes event generator
|
Cuba implementation of the VEGAS integration algorithm. More...
Public Member Functions | |
VegasIntegrator (const ParametersList ¶ms) | |
Value | integrate () override |
Value | integrate (Integrand &) override |
Perform the multidimensional Monte Carlo integration. | |
void | checkLimits (const Integrand &) |
Ensure the integration bounds are properly set. | |
virtual void | setLimits (const std::vector< Limits > &limits) |
Specify the variables limits on integration. | |
virtual double | eval (Integrand &, const std::vector< double > &) const |
Compute the function value at the given phase space point. | |
virtual double | uniform (const Limits &={0., 1.}) const |
Generate a uniformly distributed (between 0 and 1) random number. | |
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 () |
static Value | integrate (const std::function< double(const std::vector< double > &)> &, const ParametersList &, size_t) |
Perform an integration with a given functional and a given set of parameters. | |
static Value | integrate (const std::function< double(const std::vector< double > &)> &, const ParametersList &, const std::vector< Limits > &) |
Perform an integration with a given functional and a given set of parameters. | |
Static Public Attributes | |
static Integrand * | gIntegrand = nullptr |
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 | |
int | ncomp_ |
int | nvec_ |
double | epsrel_ |
double | epsabs_ |
int | mineval_ |
int | maxeval_ |
int | verbose_ |
const std::unique_ptr< utils::RandomGenerator > | rnd_gen_ |
int | verbosity_ |
Integrator verbosity. | |
std::vector< Limits > | limits_ |
List of per-variable integration limits. | |
const std::string | name_ |
Module unique indexing name. | |
ParametersList | params_ |
Module parameters. | |
Definition at line 28 of file VegasIntegrator.cpp.
|
explicit |
Definition at line 30 of file VegasIntegrator.cpp.
|
inherited |
Definition at line 32 of file Integrator.cpp.
|
static |
Definition at line 39 of file VegasIntegrator.cpp.
|
virtualinherited |
Definition at line 52 of file Integrator.cpp.
|
overridevirtual |
Implements Integrator.
Definition at line 50 of file VegasIntegrator.cpp.
|
staticinherited |
Definition at line 62 of file Integrator.cpp.
|
staticinherited |
Definition at line 56 of file Integrator.cpp.
[out] | result | integral computed over the full phase space |
Implements Integrator.
Definition at line 37 of file Integrator.cpp.
|
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.
|
virtualinherited |
Reimplemented in GSLIntegrator, BasesIntegrator, NaiveBoostIntegrator, Integrator, and Integrator.
Definition at line 38 of file Integrator.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.
|
virtualinherited |
Definition at line 54 of file Integrator.cpp.
|
protectedinherited |
Definition at line 42 of file Integrator.h.
|
protectedinherited |
Definition at line 42 of file Integrator.h.
|
staticinherited |
Definition at line 34 of file Integrator.h.
|
protectedinherited |
Definition at line 58 of file Integrator.h.
|
protectedinherited |
Definition at line 43 of file Integrator.h.
|
protectedinherited |
Definition at line 43 of file Integrator.h.
|
protectedinherited |
Definition at line 45 of file NamedModule.h.
|
protectedinherited |
Definition at line 41 of file Integrator.h.
|
protectedinherited |
Definition at line 41 of file Integrator.h.
|
mutableprotectedinherited |
Definition at line 50 of file Steerable.h.
|
protectedinherited |
Definition at line 56 of file Integrator.h.
|
protectedinherited |
Definition at line 44 of file Integrator.h.
|
protectedinherited |
Definition at line 57 of file Integrator.h.