English Français

Documentation / Manuel développeur

Modules disponibles

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

Description of the class URANIE::Sampler::TPetras. More...

#include <TPetras.h>

Inheritance diagram for URANIE::Sampler::TPetras:
Collaboration diagram for URANIE::Sampler::TPetras:

Public Member Functions

Constructor and Destructor
 TPetras (URANIE::DataServer::TDataServer *tds, Option_t *option, Int_t nS)
 Default constructor.
 
virtual ~TPetras ()
 Default destructor.
 
Generation of the sample
virtual void generateSample (Option_t *option="")
 Generates the sample.
 
Int_t getLevel ()
 
Printing Log
virtual void printLog (Option_t *option="")
 
- Public Member Functions inherited from URANIE::Sampler::TSamplerDeterminist
 TSamplerDeterminist (URANIE::DataServer::TDataServer *tds, Option_t *option, Int_t ns)
 Constructor with a dataserver.
 
virtual ~TSamplerDeterminist ()
 Default destructor.
 
- Public Member Functions inherited from URANIE::Sampler::TSampler
 TSampler (URANIE::DataServer::TDataServer *tds, Option_t *option, Int_t nCalcul)
 Constructor with a TDataServer, the options and the size of the sample.
 
virtual ~TSampler ()
 Default destructor.
 
Int_t GetID ()
 Returns the ID of the class.
 
void setMethodName (TString str)
 Sets the method name in a global variable.
 
TString getMethodName ()
 Gets the method name.
 
virtual URANIE::DataServer::TDataServer * getTDS ()
 Return the TDS filling by the sampling algorithm.
 
void parseOption (Option_t *option)
 Parse the option.
 
virtual void createListOfAttributes ()
 Creates the List of attributes to simulate.
 
virtual void createTuple ()
 Creates the TDSNtupleD of data with only the TStochasticAttributes.
 
URANIE::DataServer::TDSNtupleD * getTuple ()
 Returns the TDSNtupleD of data.
 
virtual void fillOtherAttributes ()
 Fills the TDSNtupleD of data with other TFormulaAttributes.
 
void setLog ()
 
void unsetLog ()
 
void changeLog ()
 
Bool_t getLog ()
 

Private Attributes

Int_t _nQ
 

Additional Inherited Members

- Public Attributes inherited from URANIE::Sampler::TSampler
Int_t _nS
 The size of the sample.
 
Int_t _nX
 The size of attributes to sample.
 
URANIE::DataServer::TDSNtupleD * _ntsample
 the tntuple of data
 
TString _sMethod
 The title of the sampler method.
 
Bool_t _blog
 Log Printing.
 
Bool_t _bupdateFile
 Update the back up file when generating the attributeformula if there is some.
 
URANIE::DataServer::TDataServer * _tds
 Pointer to a TDS.
 
TList * _lstOfAttributesToSample
 The list of Stochastic Attributes to sample.
 

Detailed Description

Description of the class URANIE::Sampler::TPetras.

To be written by the developper.

Constructor & Destructor Documentation

◆ TPetras()

URANIE::Sampler::TPetras::TPetras ( URANIE::DataServer::TDataServer *  tds,
Option_t *  option,
Int_t  nS 
)

Default constructor.

The last argument is the level required by Petras and not the size of the sample.

Referenced by ClassImp().

◆ ~TPetras()

virtual URANIE::Sampler::TPetras::~TPetras ( )
virtual

Default destructor.

Referenced by ClassImp().

Member Function Documentation

◆ generateSample()

virtual void URANIE::Sampler::TPetras::generateSample ( Option_t *  option = "")
virtual

Generates the sample.

Implements URANIE::Sampler::TSampler.

Referenced by ClassImp().

◆ getLevel()

Int_t URANIE::Sampler::TPetras::getLevel ( )
inline

References _nQ.

◆ printLog()

virtual void URANIE::Sampler::TPetras::printLog ( Option_t *  option = "")
virtual

Reimplemented from URANIE::Sampler::TSamplerDeterminist.

Referenced by ClassImp().

Member Data Documentation

◆ _nQ

Int_t URANIE::Sampler::TPetras::_nQ
private

Referenced by ClassImp(), and getLevel().