English Français

Documentation / Developer's manual

Available modules

Calibration,  DataServer,  Launcher,  MetaModelOptim,  Modeler,  Optimizer,  ReLauncher,  Reliability,  ReOptimizer,  Sampler,  Sensitivity,  UncertModeler,  XmlProblem,   Uranie / DataServer: TLogUniformDistribution.h Source File
Uranie / DataServer  v4.10.0
/* @license-end */
TLogUniformDistribution.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 
62 #ifndef TLOGUNIFORMDISTRIBUTION_H
63 #define TLOGUNIFORMDISTRIBUTION_H
64 
65 //Uranie
66 #include "TStochAttribut.h"
67 
68 namespace URANIE
69 {
70 namespace DataServer
71 {
73 {
74 private:
75 public:
76  //---------------------------------------------
80 
85 
87 
92  TLogUniformDistribution(TString name);
93 
95 
100  TLogUniformDistribution(TString name, Double_t min, Double_t max);
101 
103 
110 
112  virtual ~TLogUniformDistribution();
113 
115 
123 
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 
157  virtual void computeTheoreticalInformation();
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
ROOT.
Definition: TAttribute.h:104
virtual Double_t getCDF(Double_t x)
Returns the cumulative distribution for the value x.
virtual void setParameters(Double_t lower, Double_t upper)
Definition: TLogUniformDistribution.h:150
Definition: TStochAttribut.h:68
virtual void printLog()
Display information specific to this class.
virtual void computeTheoreticalInformation()
Computes the theoretical values of various statistical measures, like mean, standard deviation...
virtual void setLowerBound(Double_t lower)
Set the lower bound.
virtual Double_t getInvCDF(Double_t p)
Returns the value corresponding to the cumulative density p.
Class of attributes following a probability density function.
virtual ~TLogUniformDistribution()
Default destructor.
Description of a variable (field).
Definition: TAttribute.h:136
TLogUniformDistribution()
Default constructor.
virtual void setUpperBound(Double_t upper)
Set the upper bound.
Description of the class TLogUniformDistribution.
Definition: TLogUniformDistribution.h:72
virtual Double_t getPDF(Double_t x)
Returns the probability density for the value x.
virtual void setBounds(Double_t lower, Double_t upper)
Set the bounds.