English Français

Documentation / Manuel développeur

Modules disponibles

Calibration,  DataServer,  Launcher,  MetaModelOptim,  Modeler,  Optimizer,  ReLauncher,  Reliability,  ReOptimizer,  Sampler,  Sensitivity,  UncertModeler,  XmlProblem,   Uranie / Sampler: TNormale.h Source File
Uranie / Sampler v4.9.0
/* @license-end */
TNormale.h
Go to the documentation of this file.
1
2// Copyright (C) 2013-2024 CEA/DES
3//
4// This program is free software: you can redistribute it and/or modify
5// it under the terms of the GNU Lesser General Public License as published
6// by the Free Software Foundation, either version 3 of the License, or any
7// later version.
8//
9// This program is distributed in the hope that it will be useful,
10// but WITHOUT ANY WARRANTY; without even the implied warranty of
11// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12// GNU Lesser General Public License for more details.
13//
14// You should have received a copy of the GNU Lesser General Public License
15// along with this program. If not, see <http://www.gnu.org/licenses/>.
17#ifndef TNORMALE_H
18#define TNORMALE_H
19
20#include <iostream>
21#include "Rtypes.h"
22
23#ifndef TDISTRIBUTION_H
24#include "TDistribution.h"
25#endif
26
27#ifndef ROOT_TNtupleD
28#include "TNtupleD.h"
29#endif
30
31#ifndef ROOT_TFile
32#include "TFile.h"
33#endif
34
35#ifndef ROOT_TVectorD
36#include "TVectorD.h"
37#endif
38
39#ifndef ROOT_TMatrixD
40#include "TMatrixD.h"
41#endif
42
43#ifndef ROOT_TDecompChol
44#include "TDecompChol.h"
45#endif
46
48{
49
50private:
51public:
53 TNormale(TVectorD M, TMatrixD A);
54 ~TNormale();
55 Double_t eval(TVectorD x);
56 Double_t eval(Double_t x);
57 void acceptationRejet();
58 Double_t getObs();
59 void simulationPolaire();
60 TVectorD vectCentreReduit();
61 TVectorD getObsMultiDim();
62 void simVectGaussien();ClassDef(TNormale, ID_SAMPLER);
63 // DDDfsf
64};
65#endif
66
Creation of the abstract class TDistribution.
Definition TDistribution.h:65
Definition TNormale.h:48
TVectorD vectCentreReduit()
Simulates a centered reduced gaussian vector.
Definition TNormale.cxx:230
TVectorD getObsMultiDim()
Simulates a given gaussian vector from the decomposition of Choleski
Definition TNormale.cxx:272
void acceptationRejet()
Method for accepting-refusing to simulate a gaussian with a Cauchy law as instrumental distribution.
Definition TNormale.cxx:131
Double_t getObs()
Definition TNormale.cxx:162
void simulationPolaire()
method of simulation of a centered reduced real normal law by the algorithme of Box-Muller
Definition TNormale.cxx:190
Double_t eval(TVectorD x)
Returns the value of the density along x of a multidimensional normal law.
Definition TNormale.cxx:99
~TNormale()
Destructor.
Definition TNormale.cxx:70
ClassDef(TNormale, ID_SAMPLER)
void simVectGaussien()
Definition TNormale.cxx:295