English Français

Documentation / Developer's manual

Available modules

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

#include <TPermutation.h>

Inheritance diagram for URANIE::DataServer::TPermutation:
Collaboration diagram for URANIE::DataServer::TPermutation:

Public Member Functions

Constructor and Destructor
 TPermutation ()
 Default constructor.
 
 TPermutation (const char *name, const char *title, Int_t initsize, Bool_t bExact=kFALSE)
 Default constructor with a name, a title and the init size.
 
virtual ~TPermutation ()
 Default destructor.
 
Manipulate the entries
virtual void Enter (Long64_t entry)
 Enter element entry into the list.
 
virtual void enter (Long64_t entry)
 Enter element entry into the list.
 
virtual void generatePermutation (Int_t *vecindexes, Option_t *option="")
 
The Seed
void setSeed (Int_t ind=0)
 Init the seed.
 
Int_t getSeed ()
 Returns the seed value.
 
Bool_t getExact ()
 Return the exact attribute.
 
TString getArchiveName ()
 
TTree * getExactTree ()
 
TTree * getSampledTree ()
 

Printing Log

Int_t _nSeed
 The seed parameter.
 
Long64_t _nMaxSize
 The total size of Exact method.
 
Bool_t _bExact
 Boolean to set exact or not exact list of permutation.
 
TString _sArchiveName
 The name of the ROOT File.
 
TTree * _ntdOfExact
 TTree of all the permutations.
 
TPatternsEventList_pelExactMixed
 The indexes permuted of the exact permutation list.
 
Long64_t _nExactIndex
 The current position.
 
TTree * _ntdOfSampled
 TTree of all the permutations.
 
Int_t * _vecCurrent
 The current permutation.
 
Bool_t _blog
 
void setLog ()
 
void unsetLog ()
 
void changeLog ()
 
Bool_t getLog ()
 
virtual void Print (Option_t *option="") const
 
void printLog (Option_t *option="")
 
void fillAllPermutations ()
 
void generateBySwapping (Option_t *option="")
 
Bool_t isPermutationAlreadyExist ()
 

Constructor & Destructor Documentation

◆ TPermutation() [1/2]

URANIE::DataServer::TPermutation::TPermutation ( )

Default constructor.

Referenced by ClassImp().

◆ TPermutation() [2/2]

URANIE::DataServer::TPermutation::TPermutation ( const char *  name,
const char *  title,
Int_t  initsize,
Bool_t  bExact = kFALSE 
)

Default constructor with a name, a title and the init size.

◆ ~TPermutation()

virtual URANIE::DataServer::TPermutation::~TPermutation ( )
virtual

Default destructor.

Referenced by ClassImp().

Member Function Documentation

◆ changeLog()

void URANIE::DataServer::TPermutation::changeLog ( )
inline

References _blog.

◆ Enter()

virtual void URANIE::DataServer::TPermutation::Enter ( Long64_t  entry)
virtual

Enter element entry into the list.

Referenced by ClassImp(), and enter().

◆ enter()

virtual void URANIE::DataServer::TPermutation::enter ( Long64_t  entry)
inlinevirtual

Enter element entry into the list.

See also
Enter

References Enter().

◆ fillAllPermutations()

void URANIE::DataServer::TPermutation::fillAllPermutations ( )
private

Referenced by ClassImp().

◆ generateBySwapping()

void URANIE::DataServer::TPermutation::generateBySwapping ( Option_t *  option = "")
private

Referenced by ClassImp().

◆ generatePermutation()

virtual void URANIE::DataServer::TPermutation::generatePermutation ( Int_t *  vecindexes,
Option_t *  option = "" 
)
virtual

Referenced by ClassImp().

◆ getArchiveName()

TString URANIE::DataServer::TPermutation::getArchiveName ( )
inline

References _sArchiveName.

◆ getExact()

Bool_t URANIE::DataServer::TPermutation::getExact ( )
inline

Return the exact attribute.

References _bExact.

◆ getExactTree()

TTree * URANIE::DataServer::TPermutation::getExactTree ( )
inline

References _ntdOfExact.

◆ getLog()

Bool_t URANIE::DataServer::TPermutation::getLog ( )
inline

References _blog.

◆ getSampledTree()

TTree * URANIE::DataServer::TPermutation::getSampledTree ( )
inline

References _ntdOfSampled.

◆ getSeed()

Int_t URANIE::DataServer::TPermutation::getSeed ( )
inline

Returns the seed value.

References _nSeed.

◆ isPermutationAlreadyExist()

Bool_t URANIE::DataServer::TPermutation::isPermutationAlreadyExist ( )
private

Referenced by ClassImp().

◆ Print()

virtual void URANIE::DataServer::TPermutation::Print ( Option_t *  option = "") const
virtual

Referenced by ClassImp(), and printLog().

◆ printLog()

void URANIE::DataServer::TPermutation::printLog ( Option_t *  option = "")
inline

References Print().

◆ setLog()

void URANIE::DataServer::TPermutation::setLog ( )
inline

References _blog.

◆ setSeed()

void URANIE::DataServer::TPermutation::setSeed ( Int_t  ind = 0)

Init the seed.

If the value is zero, the seed is initialized with the hour in milliseconds

Parameters
ind(Int_t) the seed value

Referenced by ClassImp().

◆ unsetLog()

void URANIE::DataServer::TPermutation::unsetLog ( )
inline

References _blog.

Member Data Documentation

◆ _bExact

Bool_t URANIE::DataServer::TPermutation::_bExact
protected

Boolean to set exact or not exact list of permutation.

Referenced by ClassImp(), and getExact().

◆ _blog

Bool_t URANIE::DataServer::TPermutation::_blog

◆ _nExactIndex

Long64_t URANIE::DataServer::TPermutation::_nExactIndex
protected

The current position.

Referenced by ClassImp().

◆ _nMaxSize

Long64_t URANIE::DataServer::TPermutation::_nMaxSize
protected

The total size of Exact method.

Referenced by ClassImp().

◆ _nSeed

Int_t URANIE::DataServer::TPermutation::_nSeed
protected

The seed parameter.

Referenced by ClassImp(), and getSeed().

◆ _ntdOfExact

TTree* URANIE::DataServer::TPermutation::_ntdOfExact
protected

TTree of all the permutations.

Referenced by ClassImp(), and getExactTree().

◆ _ntdOfSampled

TTree* URANIE::DataServer::TPermutation::_ntdOfSampled
protected

TTree of all the permutations.

Referenced by ClassImp(), and getSampledTree().

◆ _pelExactMixed

TPatternsEventList* URANIE::DataServer::TPermutation::_pelExactMixed
protected

The indexes permuted of the exact permutation list.

Referenced by ClassImp().

◆ _sArchiveName

TString URANIE::DataServer::TPermutation::_sArchiveName
protected

The name of the ROOT File.

Referenced by getArchiveName().

◆ _vecCurrent

Int_t* URANIE::DataServer::TPermutation::_vecCurrent
protected

The current permutation.

Referenced by ClassImp().