English Français

Documentation / Developer's manual

Available modules

Calibration,  DataServer,  Launcher,  MetaModelOptim,  Modeler,  Optimizer,  ReLauncher,  Reliability,  ReOptimizer,  Sampler,  Sensitivity,  UncertModeler,  XmlProblem,   Uranie / DataServer: TNormalDistribution.h Source File
Uranie / DataServer  v4.10.0
/* @license-end */
TNormalDistribution.h
Go to the documentation of this file.
1 // 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 
66 namespace URANIE
67 {
68 namespace DataServer
69 {
71 {
72 private:
73  Double_t _dparameterMu;
74  Double_t _dparameterSigma;
75 
76 public:
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 
116  virtual ~TNormalDistribution();
118 
124 
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 
147  Double_t getParameterSigma()
148  {
149  return _dparameterSigma;
150  }
151 
153 
158  virtual void setParameters(Double_t mu, Double_t sigma, Bool_t recompute =
159  kTRUE);
161 
166  virtual void computeTheoreticalInformation();
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
ROOT.
Definition: TAttribute.h:104
virtual Double_t getPDF(Double_t x)
Returns the probability density for the value x.
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.
virtual ~TNormalDistribution()
Default destructor.
Description of the class TNormalDistribution.
Definition: TNormalDistribution.h:70
TNormalDistribution()
Default constructor.
Double_t _dparameterMu
Mean parameter .
Definition: TNormalDistribution.h:73
Double_t getParameterSigma()
Return the mode parameter.
Definition: TNormalDistribution.h:147
virtual void setParameterSigma(Double_t sigma, Bool_t recompute=kTRUE)
Set the standard deviation parameter.
Definition: TStochAttribut.h:369
Double_t getParameterMu()
Return the rate parameter.
Definition: TNormalDistribution.h:132
virtual void computeTheoreticalInformation()
Computes the theoretical values of various statistical measures.
Class of attributes following a probability density function.
Description of a variable (field).
Definition: TAttribute.h:136
virtual Double_t getInvCDF(Double_t p)
Returns the value corresponding to the cumulative density p.
Double_t _dparameterSigma
Standard deviation parameter .
Definition: TNormalDistribution.h:74
virtual void printLog()
Display information specific to this class.
virtual void setParameterMu(Double_t mu, Bool_t recompute=kTRUE)
Set the mean parameter.