English Français

Documentation / Manuel développeur

Modules disponibles

Calibration,  DataServer,  Launcher,  MetaModelOptim,  Modeler,  Optimizer,  ReLauncher,  Reliability,  ReOptimizer,  Sampler,  Sensitivity,  UncertModeler,  XmlProblem,   Uranie / DataServer: TUniformDistribution.h Source File
Uranie / DataServer v4.9.0
/* @license-end */
TUniformDistribution.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
58#ifndef TUNIFORMDISTRIBUTION_H
59#define TUNIFORMDISTRIBUTION_H
60
61//Uranie
62#include "TStochAttribut.h"
63
64namespace URANIE
65{
66namespace DataServer
67{
69{
70private:
71public:
72 //---------------------------------------------
76
81
83
88 TUniformDistribution(TString name);
89
91
96 TUniformDistribution(TString name, Double_t min, Double_t max);
97
99
106
110
117
123 virtual void setParameters(Double_t lower, Double_t upper);
124
126
128
134
136
139 virtual Double_t getPDF(Double_t x);
140
142
145 virtual Double_t getCDF(Double_t x);
146
148
153 virtual Double_t getInvCDF(Double_t p);
155
156 //---------------------------------------------
160
166 virtual void printLog(Option_t *option = "");
168
169 ClassDef(URANIE::DataServer::TUniformDistribution, ID_DATASERVER)
170 //Classe de
171};
172
173} // Fin du namespace DataServer
174} // Fin du namespace URANIE
175#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 TUniformDistribution.
Definition TUniformDistribution.h:69
virtual void computeTheoreticalInformation()
Computes the theoretical values of various statistical measures, like mean, standard deviation,...
virtual void printLog(Option_t *option="")
Display information specific to this class.
TUniformDistribution(TString name)
Constructor setting the name.
TUniformDistribution()
Default constructor.
virtual void setParameters(Double_t lower, Double_t upper)
Set all parameters at once.
virtual ~TUniformDistribution()
Default destructor.
TUniformDistribution(URANIE::DataServer::TAttribute *att)
Construction of a TUniformDistribution from an existing TAttribute object.
virtual Double_t getInvCDF(Double_t p)
Returns the value corresponding to the cumulative density p.
TUniformDistribution(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 getCDF(Double_t x)
Returns the cumulative distribution for the value x.
ROOT.
Definition TAttribute.h:106