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.10.0
/* @license-end */
TTrapeziumPossibility.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 
33 #ifndef TTRAPEZIUMPOSSIBILITY_H
34 #define TTRAPEZIUMPOSSIBILITY_H
35 
36 #include "TString.h"
37 #include <iostream>
38 
39 // Uranie
40 #include "DataServer.h"
41 #include "TPossibilityAttribute.h"
42 
43 namespace URANIE
44 {
45 namespace DataServer
46 {
47 
56 {
57 protected:
58  Double_t _dlowerMode;
59  Double_t _dupperMode;
60 public:
61  // -----------------------------------------------------------------------
62  // Constructors
63  // -----------------------------------------------------------------------
64  //---------------------------------------------
68 
72  TTrapeziumPossibility(TString str);
73 
75 
83  TTrapeziumPossibility(TString str, Double_t min, Double_t max,
84  Double_t lowMode, Double_t upperMode,
86 
88  virtual ~TTrapeziumPossibility();
90 
91  //---------------------------------------------
95  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  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
ROOT.
Definition: TAttribute.h:104
Class of attributes following a probability density function.
void setLowerMode(Double_t dval)
Set the lower mode of the trapezium possibility.
Definition: TPossibilityAttribute.h:56
void setModes(Double_t lowVal, Double_t upVal)
Set the lower and uppers modes of the trapezium possibility.
Double_t _dlowerMode
The lower mode of the trapezium possibility.
Definition: TTrapeziumPossibility.h:58
TTrapeziumPossibility(TString str)
Constructor setting the name.
Double_t _dupperMode
The upper mode of the trapezium possibility.
Definition: TTrapeziumPossibility.h:59
Definition: TTrapeziumPossibility.h:55
Double_t getLowerMode()
Return the lower mode of the trapezium possibility.
Definition: TTrapeziumPossibility.h:96
virtual void printLog()
Display information specific to this class.
EMonotonousRelationship
The list of monotonous relationship.
Definition: TPossibilityAttribute.h:66
Double_t getUpperMode()
Return the upper mode of the trapezium possibility.
Definition: TTrapeziumPossibility.h:103
virtual ~TTrapeziumPossibility()
Default Destructor.
void setUpperMode(Double_t dval)
Set the upper mode of the trapezium possibility.