English Français

Documentation / Manuel développeur

Modules disponibles

Calibration,  DataServer,  Launcher,  MetaModelOptim,  Modeler,  Optimizer,  ReLauncher,  Reliability,  ReOptimizer,  Sampler,  Sensitivity,  UncertModeler,  XmlProblem,   Uranie / DataServer: TLogUniformDistribution.h Source File
Uranie / DataServer v4.9.0
/* @license-end */
TLogUniformDistribution.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
62#ifndef TLOGUNIFORMDISTRIBUTION_H
63#define TLOGUNIFORMDISTRIBUTION_H
64
65//Uranie
66#include "TStochAttribut.h"
67
68namespace URANIE
69{
70namespace DataServer
71{
73{
74private:
75public:
76 //---------------------------------------------
80
85
87
93
95
100 TLogUniformDistribution(TString name, Double_t min, Double_t max);
101
103
110
113
115
124
130 virtual void setLowerBound(Double_t lower);
131
133
139 virtual void setUpperBound(Double_t upper);
140
142
149 virtual void setBounds(Double_t lower, Double_t upper);
150 virtual void setParameters(Double_t lower, Double_t upper){ setBounds(lower,upper); };
152
159
161
164 virtual Double_t getPDF(Double_t x);
165
167
170 virtual Double_t getCDF(Double_t x);
171
173
178 virtual Double_t getInvCDF(Double_t p);
179
181
182 //---------------------------------------------
186 virtual void printLog(Option_t *option = "");
188
189 ClassDef(URANIE::DataServer::TLogUniformDistribution, ID_DATASERVER)
190 //Classe de
191};
192
193} // Fin du namespace DataServer
194} // Fin du namespace URANIE
195#endif
Class of attributes following a probability density function.
Description of a variable (field).
Definition TAttribute.h:138
Description of the class TLogUniformDistribution.
Definition TLogUniformDistribution.h:73
virtual void computeTheoreticalInformation()
Computes the theoretical values of various statistical measures, like mean, standard deviation,...
virtual void setUpperBound(Double_t upper)
Set the upper bound.
TLogUniformDistribution(TString name, Double_t min, Double_t max)
Constructor setting name and range.
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.
virtual Double_t getCDF(Double_t x)
Returns the cumulative distribution for the value x.
TLogUniformDistribution(URANIE::DataServer::TAttribute *att)
Construction of a TLogUniformDistribution from an existing TAttribute object.
virtual void setParameters(Double_t lower, Double_t upper)
Definition TLogUniformDistribution.h:150
virtual void setLowerBound(Double_t lower)
Set the lower bound.
virtual void printLog(Option_t *option="")
TLogUniformDistribution(TString name)
Constructor setting the name.
virtual ~TLogUniformDistribution()
Default destructor.
virtual void setBounds(Double_t lower, Double_t upper)
Set the bounds.
Definition TStochAttribut.h:69
ROOT.
Definition TAttribute.h:106