English Français

Documentation / Manuel développeur

Modules disponibles

Calibration,  DataServer,  Launcher,  MetaModelOptim,  Modeler,  Optimizer,  ReLauncher,  Reliability,  ReOptimizer,  Sampler,  Sensitivity,  UncertModeler,  XmlProblem,   Uranie / DataServer: TUniformByPartsDistribution.h Source File
Uranie / DataServer  v4.10.0
/* @license-end */
TUniformByPartsDistribution.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 
66 #ifndef TUNIFORMBYPARTSDISTRIBUTION_H
67 #define TUNIFORMBYPARTSDISTRIBUTION_H
68 
69 //Uranie
70 #include "TStochAttribut.h"
71 
72 namespace URANIE
73 {
74 namespace DataServer
75 {
77 {
78 protected:
79  Double_t _dparameterMedian;
80 
81 public:
82  //---------------------------------------------
86 
91 
93 
98  TUniformByPartsDistribution(TString name);
99 
101 
108  TUniformByPartsDistribution(TString name, Double_t min, Double_t max);
109 
111 
117  TUniformByPartsDistribution(TString name, Double_t min, Double_t max,
118  Double_t median);
119 
121 
128 
132 
139 
145  virtual void setParameterMedian(Double_t median);
146 
148  virtual Double_t getParameterMedian()
149  {
150  return _dparameterMedian;
151  }
152 
154 
161  virtual void setParameters(Double_t lower, Double_t upper, Double_t median);
162 
164 
169  virtual void computeTheoreticalInformation();
171 
173 
176  virtual Double_t getPDF(Double_t x);
177 
179 
182  virtual Double_t getCDF(Double_t x);
183 
185 
190  virtual Double_t getInvCDF(Double_t p);
192 
193  //---------------------------------------------
197 
203  virtual void printLog(Option_t *option = "");
205 
206  ClassDef(URANIE::DataServer::TUniformByPartsDistribution, ID_DATASERVER)
207  //Classe de
208 };
209 
210 } // Fin du namespace DataServer
211 } // Fin du namespace URANIE
212 #endif
ROOT.
Definition: TAttribute.h:104
Double_t _dparameterMedian
The median parameter.
Definition: TUniformByPartsDistribution.h:79
virtual Double_t getInvCDF(Double_t p)
Returns the value corresponding to the cumulative density p.
virtual Double_t getParameterMedian()
Returns the value of the median parameter.
Definition: TUniformByPartsDistribution.h:148
Description of the class TUniformByPartsDistribution.
Definition: TUniformByPartsDistribution.h:76
Definition: TStochAttribut.h:68
virtual Double_t getPDF(Double_t x)
Returns the probability density for the value x.
virtual void printLog()
Display information specific to this class.
virtual ~TUniformByPartsDistribution()
Default destructor.
virtual void setParameterMedian(Double_t median)
Set the value of the median parameter.
virtual void computeTheoreticalInformation()
Computes the theoretical values of various statistical measures, like mean, standard deviation...
Class of attributes following a probability density function.
virtual void setParameters(Double_t lower, Double_t upper, Double_t median)
Set all parameters at once.
virtual Double_t getCDF(Double_t x)
Returns the cumulative distribution for the value x.
Description of a variable (field).
Definition: TAttribute.h:136