English Français

Documentation / Developer's manual

Available modules

Calibration,  DataServer,  Launcher,  MetaModelOptim,  Modeler,  Optimizer,  ReLauncher,  Reliability,  ReOptimizer,  Sampler,  Sensitivity,  UncertModeler,  XmlProblem,   Uranie / Sampler: TDistribution Class Reference
Uranie / Sampler v4.9.0
/* @license-end */
TDistribution Class Reference

#include <TDistribution.h>

Inheritance diagram for TDistribution:
Collaboration diagram for TDistribution:

Public Member Functions

 TDistribution ()
 
 TDistribution (TVectorD M, TMatrixD A)
 
void initialisation (TVectorD M, TMatrixD A)
 
 ~TDistribution ()
 
TNtupleD * getTuple ()
 
void setTaille (Int_t n)
 
TRandom3 * getRandom ()
 
Int_t getTaille ()
 
Int_t getDim ()
 
TVectorD getMean ()
 
TVectorD getSigma ()
 
TMatrixD getMatEcartTypeCorrelation ()
 
TMatrixD getMatCorrelation ()
 
TMatrixD getMatCovariance ()
 
void setMean (TVectorD M)
 
void setMatEcartTypeCorrelation (TMatrixD A)
 
void setProb (Double_t proba)
 
Double_t getProb ()
 
void simulation ()
 
void verification ()
 
 ClassDef (TDistribution, ID_SAMPLER)
 

Protected Attributes

TRandom3 * _rdm
 Generator of random number.
 
Double_t _dprob
 Weight of the distribution.
 
Int_t _taille
 Sample size.
 
TNtupleD * _vect
 Tuple where simulated samples are stored.
 
Int_t _dim
 Dimension of the distribution.
 
TVectorD _vectMean
 Mean value of the distribution.
 
TMatrixD _matEcartTypeCorr
 "_matEcartTypeCorr" represents the $\sigma_i$ along the diagonal and $\rho_{i,j}$ elsewhere. Be careful the matrix must be symmetric
 

Constructor & Destructor Documentation

◆ TDistribution() [1/2]

TDistribution::TDistribution ( )

◆ TDistribution() [2/2]

TDistribution::TDistribution ( TVectorD  M,
TMatrixD  A 
)

References _dim, _vect, and initialisation().

◆ ~TDistribution()

TDistribution::~TDistribution ( )

References _rdm, and _vect.

Member Function Documentation

◆ ClassDef()

TDistribution::ClassDef ( TDistribution  ,
ID_SAMPLER   
)

◆ getDim()

◆ getMatCorrelation()

TMatrixD TDistribution::getMatCorrelation ( )

◆ getMatCovariance()

◆ getMatEcartTypeCorrelation()

TMatrixD TDistribution::getMatEcartTypeCorrelation ( )

◆ getMean()

◆ getProb()

Double_t TDistribution::getProb ( )
inline

References _dprob.

Referenced by TMelange::getProb(), and TMelange::getSeuil().

◆ getRandom()

◆ getSigma()

TVectorD TDistribution::getSigma ( )

◆ getTaille()

Int_t TDistribution::getTaille ( )
inline

References _taille.

◆ getTuple()

TNtupleD * TDistribution::getTuple ( )
inline

◆ initialisation()

void TDistribution::initialisation ( TVectorD  M,
TMatrixD  A 
)

◆ setMatEcartTypeCorrelation()

◆ setMean()

◆ setProb()

void TDistribution::setProb ( Double_t  proba)
inline

References _dprob.

Referenced by TMelange::addLoi(), and TMelange::remplacer().

◆ setTaille()

void TDistribution::setTaille ( Int_t  n)

References _taille.

Referenced by TMelange::simulationMelange().

◆ simulation()

void TDistribution::simulation ( )

◆ verification()

void TDistribution::verification ( )

References _matEcartTypeCorr, and _vectMean.

Referenced by setMatEcartTypeCorrelation(), and setMean().

Member Data Documentation

◆ _dim

◆ _dprob

Double_t TDistribution::_dprob
protected

Weight of the distribution.

Referenced by getProb(), initialisation(), and setProb().

◆ _matEcartTypeCorr

TMatrixD TDistribution::_matEcartTypeCorr
protected

◆ _rdm

TRandom3* TDistribution::_rdm
protected

◆ _taille

Int_t TDistribution::_taille
protected

◆ _vect

TNtupleD* TDistribution::_vect
protected

◆ _vectMean

TVectorD TDistribution::_vectMean
protected