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.10.0
/* @license-end */
TUniformDistribution.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 
58 #ifndef TUNIFORMDISTRIBUTION_H
59 #define TUNIFORMDISTRIBUTION_H
60 
61 //Uranie
62 #include "TStochAttribut.h"
63 
64 namespace URANIE
65 {
66 namespace DataServer
67 {
69 {
70 private:
71 public:
72  //---------------------------------------------
76 
81 
83 
88  TUniformDistribution(TString name);
89 
91 
96  TUniformDistribution(TString name, Double_t min, Double_t max);
97 
99 
106 
108  virtual ~TUniformDistribution();
110 
116 
123  virtual void setParameters(Double_t lower, Double_t upper);
124 
126 
128 
132  virtual void computeTheoreticalInformation();
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
ROOT.
Definition: TAttribute.h:104
virtual Double_t getInvCDF(Double_t p)
Returns the value corresponding to the cumulative density p.
Description of the class TUniformDistribution.
Definition: TUniformDistribution.h:68
Definition: TStochAttribut.h:68
virtual void printLog()
Display information specific to this class.
virtual ~TUniformDistribution()
Default destructor.
virtual void setParameters(Double_t lower, Double_t upper)
Set all parameters at once.
virtual void computeTheoreticalInformation()
Computes the theoretical values of various statistical measures, like mean, standard deviation...
Class of attributes following a probability density function.
virtual Double_t getCDF(Double_t x)
Returns the cumulative distribution for the value x.
virtual Double_t getPDF(Double_t x)
Returns the probability density for the value x.
Description of a variable (field).
Definition: TAttribute.h:136
TUniformDistribution()
Default constructor.