English Français

Documentation / Manuel développeur

Modules disponibles

Calibration,  DataServer,  Launcher,  MetaModelOptim,  Modeler,  Optimizer,  ReLauncher,  Reliability,  ReOptimizer,  Sampler,  Sensitivity,  UncertModeler,  XmlProblem,   Uranie / DataServer: TNormalDistribution.h Source File
Uranie / DataServer v4.9.0
/* @license-end */
TNormalDistribution.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/>.
18// $Id$
19// $Author$
20// $Date$
21// $Revision$
22// $State$
24
60#ifndef TNORMALDISTRIBUTION_H
61#define TNORMALDISTRIBUTION_H
62
63//Uranie
64#include "TStochAttribut.h"
65
66namespace URANIE
67{
68namespace DataServer
69{
71{
72private:
73 Double_t _dparameterMu;
75
76public:
77 //---------------------------------------------
81
86
88
93 TNormalDistribution(TString name);
94
96
101 TNormalDistribution(TString name, Double_t mu, Double_t sigma);
102
104
113 Double_t sigma);
114
118
125
129 virtual void setParameterMu(Double_t mu, Bool_t recompute = kTRUE);
130
132 Double_t getParameterMu()
133 {
134 return _dparameterMu;
135 }
136
138
144 virtual void setParameterSigma(Double_t sigma, Bool_t recompute = kTRUE);
145
148 {
149 return _dparameterSigma;
150 }
151
153
158 virtual void setParameters(Double_t mu, Double_t sigma, Bool_t recompute =
159 kTRUE);
161
168
170
173 virtual Double_t getPDF(Double_t x);
174
176
179 virtual Double_t getCDF(Double_t x);
180
182
189 virtual Double_t getInvCDF(Double_t p);
191
192 //---------------------------------------------
196 virtual void printLog(Option_t *option = "");
198
199 ClassDef(URANIE::DataServer::TNormalDistribution, ID_DATASERVER)
200 //Classe de
201};
202
203} // Fin du namespace DataServer
204} // Fin du namespace URANIE
205#endif
Class of attributes following a probability density function.
Description of a variable (field).
Definition TAttribute.h:138
Definition TStochAttribut.h:370
Description of the class TNormalDistribution.
Definition TNormalDistribution.h:71
TNormalDistribution(TString name, Double_t mu, Double_t sigma)
Constructor setting name, scale and location.
virtual ~TNormalDistribution()
Default destructor.
Double_t _dparameterSigma
Standard deviation parameter .
Definition TNormalDistribution.h:74
Double_t getParameterMu()
Return the rate parameter.
Definition TNormalDistribution.h:132
virtual Double_t getPDF(Double_t x)
Returns the probability density for the value x.
TNormalDistribution(TString name)
Constructor setting the name.
virtual Double_t getInvCDF(Double_t p)
Returns the value corresponding to the cumulative density p.
TNormalDistribution()
Default constructor.
Double_t _dparameterMu
Mean parameter .
Definition TNormalDistribution.h:73
TNormalDistribution(URANIE::DataServer::TAttribute *att, Double_t mu, Double_t sigma)
Construction of a TNormalDistribution from an existing TAttribute object.
virtual void printLog(Option_t *option="")
virtual void setParameterSigma(Double_t sigma, Bool_t recompute=kTRUE)
Set the standard deviation parameter.
virtual void setParameterMu(Double_t mu, Bool_t recompute=kTRUE)
Set the mean parameter.
Double_t getParameterSigma()
Return the mode parameter.
Definition TNormalDistribution.h:147
virtual void computeTheoreticalInformation()
Computes the theoretical values of various statistical measures.
virtual Double_t getCDF(Double_t x)
Returns the cumulative distribution for the value x.
virtual void setParameters(Double_t mu, Double_t sigma, Bool_t recompute=kTRUE)
Set all the parameters.
ROOT.
Definition TAttribute.h:106