English Français

Documentation / Manuel développeur

Modules disponibles

Calibration,  DataServer,  Launcher,  MetaModelOptim,  Modeler,  Optimizer,  ReLauncher,  Reliability,  ReOptimizer,  Sampler,  Sensitivity,  UncertModeler,  XmlProblem,   Uranie / DataServer: TTrapeziumPossibility.h Source File
Uranie / DataServer v4.9.0
/* @license-end */
TTrapeziumPossibility.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
33#ifndef TTRAPEZIUMPOSSIBILITY_H
34#define TTRAPEZIUMPOSSIBILITY_H
35
36#include "TString.h"
37#include <iostream>
38
39// Uranie
40#include "DataServer.h"
42
43namespace URANIE
44{
45namespace DataServer
46{
47
56{
57protected:
58 Double_t _dlowerMode;
59 Double_t _dupperMode;
60public:
61 // -----------------------------------------------------------------------
62 // Constructors
63 // -----------------------------------------------------------------------
64 //---------------------------------------------
68
73
75
83 TTrapeziumPossibility(TString str, Double_t min, Double_t max,
84 Double_t lowMode, Double_t upperMode,
86
90
91 //---------------------------------------------
95
96 Double_t getLowerMode()
97 {
98 return _dlowerMode;
99 }
101 void setLowerMode(Double_t dval);
103 Double_t getUpperMode()
104 {
105 return _dupperMode;
106 }
108 void setUpperMode(Double_t dval);
110 void setModes(Double_t lowVal, Double_t upVal);
112
113 //---------------------------------------------
117
118 virtual void printLog();
120
121 ClassDef(TTrapeziumPossibility, ID_DATASERVER)
122 //Definition of a stochastic variable
123};
124} // Fin du namespace DataServer
125} // Fin du namespace URANIE
126
127#endif
Class of attributes following a probability density function.
Definition TPossibilityAttribute.h:57
EMonotonousRelationship
The list of monotonous relationship
Definition TPossibilityAttribute.h:67
Definition TTrapeziumPossibility.h:56
Double_t _dlowerMode
The lower mode of the trapezium possibility.
Definition TTrapeziumPossibility.h:58
void setUpperMode(Double_t dval)
Set the upper mode of the trapezium possibility.
void setModes(Double_t lowVal, Double_t upVal)
Set the lower and uppers modes of the trapezium possibility.
virtual ~TTrapeziumPossibility()
Default Destructor.
Double_t _dupperMode
The upper mode of the trapezium possibility.
Definition TTrapeziumPossibility.h:59
Double_t getLowerMode()
Return the lower mode of the trapezium possibility.
Definition TTrapeziumPossibility.h:96
void setLowerMode(Double_t dval)
Set the lower mode of the trapezium possibility.
virtual void printLog()
Display information specific to this class.
TTrapeziumPossibility(TString str)
Constructor setting the name.
TTrapeziumPossibility(TString str, Double_t min, Double_t max, Double_t lowMode, Double_t upperMode, TPossibilityAttribute::EMonotonousRelationship monotonous)
Constructor setting the name and the law type.
Double_t getUpperMode()
Return the upper mode of the trapezium possibility.
Definition TTrapeziumPossibility.h:103
ROOT.
Definition TAttribute.h:106