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.9.0
/* @license-end */
TUniformByPartsDistribution.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
66#ifndef TUNIFORMBYPARTSDISTRIBUTION_H
67#define TUNIFORMBYPARTSDISTRIBUTION_H
68
69//Uranie
70#include "TStochAttribut.h"
71
72namespace URANIE
73{
74namespace DataServer
75{
77{
78protected:
80
81public:
82 //---------------------------------------------
86
91
93
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
140
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
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
207 //Classe de
208};
209
210} // Fin du namespace DataServer
211} // Fin du namespace URANIE
212#endif
Class of attributes following a probability density function.
Description of a variable (field).
Definition TAttribute.h:138
Definition TStochAttribut.h:69
Description of the class TUniformByPartsDistribution.
Definition TUniformByPartsDistribution.h:77
virtual void computeTheoreticalInformation()
Computes the theoretical values of various statistical measures, like mean, standard deviation,...
virtual void setParameterMedian(Double_t median)
Set the value of the median parameter.
virtual Double_t getCDF(Double_t x)
Returns the cumulative distribution for the value x.
virtual ~TUniformByPartsDistribution()
Default destructor.
TUniformByPartsDistribution(TString name, Double_t min, Double_t max)
Constructor setting name and range.
virtual void printLog(Option_t *option="")
Display information specific to this class.
TUniformByPartsDistribution(TString name, Double_t min, Double_t max, Double_t median)
Constructor setting name, range and median.
virtual Double_t getPDF(Double_t x)
Returns the probability density for the value x.
virtual Double_t getInvCDF(Double_t p)
Returns the value corresponding to the cumulative density p.
TUniformByPartsDistribution(TString name)
Constructor setting the name.
TUniformByPartsDistribution(URANIE::DataServer::TAttribute *att)
Construction of a TUniformDistribution from an existing TAttribute object.
virtual void setParameters(Double_t lower, Double_t upper, Double_t median)
Set all parameters at once.
Double_t _dparameterMedian
The median parameter.
Definition TUniformByPartsDistribution.h:79
virtual Double_t getParameterMedian()
Returns the value of the median parameter.
Definition TUniformByPartsDistribution.h:148
ROOT.
Definition TAttribute.h:106