Logo ROOT  
Reference Guide
 
Loading...
Searching...
No Matches
ROOT::Math::GSLVegasIntegrationWorkspace Class Reference

workspace for VEGAS

Definition at line 85 of file GSLMCIntegrationWorkspace.h.

Public Member Functions

 GSLVegasIntegrationWorkspace (size_t dim=0)
 
double Chisq () const
 
void Clear () override
 free the workspace deleting the GSL pointer
 
gsl_monte_vegas_state * GetWS ()
 
bool Init (size_t dim) override
 initialize the workspace creating the GSL pointer if it is not there
 
size_t NDim () const override
 
std::unique_ptr< IOptionsOptions () const override
 retrieve option pointer corresponding to parameters create a new object to be managed by the user
 
VegasParametersParameters ()
 
const VegasParametersParameters () const
 
bool ReInit () override
 re-initialize an existing the workspace
 
double Result () const
 
virtual void SetOptions (const ROOT::Math::IOptions &opt) override
 set options
 
void SetParameters (const struct VegasParameters &p)
 
double Sigma () const
 
MCIntegration::Type Type () const override
 
- Public Member Functions inherited from ROOT::Math::GSLMCIntegrationWorkspace
 GSLMCIntegrationWorkspace ()
 
virtual ~GSLMCIntegrationWorkspace ()
 

Private Member Functions

void SetVegasParameters ()
 

Private Attributes

VegasParameters fParams
 
gsl_monte_vegas_state * fWs
 

#include </home/sftnight/build/workspace/root-makedoc-master/rootspi/rdoc/src/master/math/mathmore/src/GSLMCIntegrationWorkspace.h>

Inheritance diagram for ROOT::Math::GSLVegasIntegrationWorkspace:
[legend]

Constructor & Destructor Documentation

◆ GSLVegasIntegrationWorkspace()

ROOT::Math::GSLVegasIntegrationWorkspace::GSLVegasIntegrationWorkspace ( size_t  dim = 0)
inline

Definition at line 89 of file GSLMCIntegrationWorkspace.h.

Member Function Documentation

◆ Chisq()

double ROOT::Math::GSLVegasIntegrationWorkspace::Chisq ( ) const
inline

Definition at line 127 of file GSLMCIntegrationWorkspace.h.

◆ Clear()

void ROOT::Math::GSLVegasIntegrationWorkspace::Clear ( )
inlineoverridevirtual

free the workspace deleting the GSL pointer

Reimplemented from ROOT::Math::GSLMCIntegrationWorkspace.

Definition at line 109 of file GSLMCIntegrationWorkspace.h.

◆ GetWS()

gsl_monte_vegas_state * ROOT::Math::GSLVegasIntegrationWorkspace::GetWS ( )
inline

Definition at line 114 of file GSLMCIntegrationWorkspace.h.

◆ Init()

bool ROOT::Math::GSLVegasIntegrationWorkspace::Init ( size_t  dim)
inlineoverridevirtual

initialize the workspace creating the GSL pointer if it is not there

Implements ROOT::Math::GSLMCIntegrationWorkspace.

Definition at line 95 of file GSLMCIntegrationWorkspace.h.

◆ NDim()

size_t ROOT::Math::GSLVegasIntegrationWorkspace::NDim ( ) const
inlineoverridevirtual

Reimplemented from ROOT::Math::GSLMCIntegrationWorkspace.

Definition at line 121 of file GSLMCIntegrationWorkspace.h.

◆ Options()

std::unique_ptr< IOptions > ROOT::Math::GSLVegasIntegrationWorkspace::Options ( ) const
inlineoverridevirtual

retrieve option pointer corresponding to parameters create a new object to be managed by the user

Implements ROOT::Math::GSLMCIntegrationWorkspace.

Definition at line 134 of file GSLMCIntegrationWorkspace.h.

◆ Parameters() [1/2]

VegasParameters & ROOT::Math::GSLVegasIntegrationWorkspace::Parameters ( )
inline

Definition at line 132 of file GSLMCIntegrationWorkspace.h.

◆ Parameters() [2/2]

const VegasParameters & ROOT::Math::GSLVegasIntegrationWorkspace::Parameters ( ) const
inline

Definition at line 131 of file GSLMCIntegrationWorkspace.h.

◆ ReInit()

bool ROOT::Math::GSLVegasIntegrationWorkspace::ReInit ( )
inlineoverridevirtual

re-initialize an existing the workspace

Implements ROOT::Math::GSLMCIntegrationWorkspace.

Definition at line 101 of file GSLMCIntegrationWorkspace.h.

◆ Result()

double ROOT::Math::GSLVegasIntegrationWorkspace::Result ( ) const
inline

Definition at line 123 of file GSLMCIntegrationWorkspace.h.

◆ SetOptions()

virtual void ROOT::Math::GSLVegasIntegrationWorkspace::SetOptions ( const ROOT::Math::IOptions opt)
inlineoverridevirtual

set options

Implements ROOT::Math::GSLMCIntegrationWorkspace.

Definition at line 138 of file GSLMCIntegrationWorkspace.h.

◆ SetParameters()

void ROOT::Math::GSLVegasIntegrationWorkspace::SetParameters ( const struct VegasParameters p)
inline

Definition at line 116 of file GSLMCIntegrationWorkspace.h.

◆ SetVegasParameters()

void ROOT::Math::GSLVegasIntegrationWorkspace::SetVegasParameters ( )
inlineprivate

Definition at line 144 of file GSLMCIntegrationWorkspace.h.

◆ Sigma()

double ROOT::Math::GSLVegasIntegrationWorkspace::Sigma ( ) const
inline

Definition at line 125 of file GSLMCIntegrationWorkspace.h.

◆ Type()

MCIntegration::Type ROOT::Math::GSLVegasIntegrationWorkspace::Type ( ) const
inlineoverridevirtual

Member Data Documentation

◆ fParams

VegasParameters ROOT::Math::GSLVegasIntegrationWorkspace::fParams
private

Definition at line 154 of file GSLMCIntegrationWorkspace.h.

◆ fWs

gsl_monte_vegas_state* ROOT::Math::GSLVegasIntegrationWorkspace::fWs
private

Definition at line 153 of file GSLMCIntegrationWorkspace.h.

  • math/mathmore/src/GSLMCIntegrationWorkspace.h