English Français

Documentation / Manuel développeur

Modules disponibles

Calibration,  DataServer,  Launcher,  MetaModelOptim,  Modeler,  Optimizer,  ReLauncher,  Reliability,  ReOptimizer,  Sampler,  Sensitivity,  UncertModeler,  XmlProblem,   Uranie / DataServer: TCauchyDistribution.h Source File
Uranie / DataServer v4.9.0
/* @license-end */
TCauchyDistribution.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
57#ifndef TCAUCHYDISTRIBUTION_H
58#define TCAUCHYDISTRIBUTION_H
59
60//Uranie
61#include "TStochAttribut.h"
62
63namespace URANIE
64{
65namespace DataServer
66{
68{
69private:
72
73public:
74 //---------------------------------------------
78
83
85
90 TCauchyDistribution(TString name);
91
93
98 TCauchyDistribution(TString name, Double_t gamma, Double_t median = 0.0);
99
101
106
110
118
122 virtual void setParameterMedian(Double_t median, Bool_t recompute = kTRUE);
123
126 {
127 return _dparameterMedian;
128 }
129
131
137 virtual void setParameterGamma(Double_t gamma, Bool_t recompute = kTRUE);
138
141 {
142 return _dparameterGamma;
143 }
144
146
151 virtual void setParameters(Double_t gamma, Double_t median,
152 Bool_t recompute = kTRUE);
154
160
166
168
171 virtual Double_t getPDF(Double_t x);
172
174
177 virtual Double_t getCDF(Double_t x);
178
180
185 virtual Double_t getInvCDF(Double_t p);
187
188 //---------------------------------------------
192 virtual void printLog(Option_t *option = "");
194
195 ClassDef(URANIE::DataServer::TCauchyDistribution, ID_DATASERVER)
196 //Classe de
197};
198
199} // Fin du namespace DataServer
200} // Fin du namespace URANIE
201#endif
Class of attributes following a probability density function.
Description of a variable (field).
Definition TAttribute.h:138
Description of the class TCauchyDistribution.
Definition TCauchyDistribution.h:68
Double_t _dparameterGamma
The scale parameter .
Definition TCauchyDistribution.h:70
Double_t getParameterGamma()
Return the scale parameter.
Definition TCauchyDistribution.h:140
Double_t getParameterMedian()
Return the location parameter.
Definition TCauchyDistribution.h:125
virtual void computeTheoreticalInformation()
Computes the theoretical values of various statistical measures.
virtual void setParameterMedian(Double_t median, Bool_t recompute=kTRUE)
Set the location parameter.
virtual void printLog(Option_t *option="")
TCauchyDistribution(TString name, Double_t gamma, Double_t median=0.0)
Constructor setting name, scale and location.
TCauchyDistribution()
Default constructor.
TCauchyDistribution(URANIE::DataServer::TAttribute *att)
Construction of a TCauchyDistribution from an existing TAttribute object.
virtual Double_t getInvCDF(Double_t p)
Returns the value corresponding to the cumulative density p.
TCauchyDistribution(TString name)
Constructor setting the name.
virtual void setParameterGamma(Double_t gamma, Bool_t recompute=kTRUE)
Set the scale parameter.
virtual Double_t getCDF(Double_t x)
Returns the cumulative distribution for the value x.
Double_t _dparameterMedian
The location parameter , a.k.a. median parameter.
Definition TCauchyDistribution.h:71
virtual Double_t getPDF(Double_t x)
Returns the probability density for the value x.
virtual ~TCauchyDistribution()
Default destructor.
virtual void setParameters(Double_t gamma, Double_t median, Bool_t recompute=kTRUE)
Set all the parameters.
Definition TStochAttribut.h:370
ROOT.
Definition TAttribute.h:106