English Français

Documentation / Manuel développeur

Modules disponibles

Calibration,  DataServer,  Launcher,  MetaModelOptim,  Modeler,  Optimizer,  ReLauncher,  Reliability,  ReOptimizer,  Sampler,  Sensitivity,  UncertModeler,  XmlProblem,   Uranie / Uncertainty Modeler: TUncertModeler.h Source File
Uranie / Uncertainty Modeler  v4.10.0
/* @license-end */
TUncertModeler.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 TUNCERTMODELER_H
34 #define TUNCERTMODELER_H
35 
36 // ROOT
37 #include "TNamed.h"
38 
39 // Uranie
40 #include "UncertModeler.h"
41 #include "TDataServer.h"
42 
43 namespace URANIE
44 {
45 namespace UncertModeler
46 {
47 class TUncertModeler: public TNamed
48 {
49  // Attributes
50 
51 protected:
52  Char_t _sType[12];
53  Char_t _sMethod[12];
54  Float_t _pValue;
55 
56 public:
57  URANIE::DataServer::TDataServer *_tds;
58  Bool_t _blog;
59 
60 public:
61  //---------------------------------------------
65  TUncertModeler(URANIE::DataServer::TDataServer *tds, const char *stest,
67  const char *varexpinput, Option_t * option = "");
69  virtual ~TUncertModeler();
71 
72  //---------------------------------------------
76  Int_t getID()
77  {
78  return ID_UNCERTMODELER;
79  }
81 
82  //---------------------------------------------
86  void setLog()
87  {
88  _blog = kTRUE;
89  }
90  void unsetLog()
91  {
92  _blog = kFALSE;
93  }
94  void changeLog()
95  {
96  _blog = _blog ? kFALSE : kTRUE;
97  }
98  Bool_t getLog()
99  {
100  return _blog;
101  }
102  virtual void printLog(Option_t *option = "");
104 
105  ClassDef(URANIE::UncertModeler::TUncertModeler, ID_UNCERTMODELER)
106  // UncertModeler classe
107 };
108 } // Fin du namespace UncertModeler
109 } // Fin du namespace URANIE
110 #endif
Definition: TCirce.cxx:57
Bool_t _blog
Boolean to edit the log.
Definition: TUncertModeler.h:58
TUncertModeler(URANIE::DataServer::TDataServer *tds, const char *stest, const char *varexpinput, Option_t *option="")
Default constructor.
URANIE::DataServer::TDataServer * _tds
Pointer to a TDS.
Definition: TUncertModeler.h:57
void setLog()
Definition: TUncertModeler.h:86
virtual void printLog(Option_t *option="")
virtual ~TUncertModeler()
Default constructor.
void changeLog()
Definition: TUncertModeler.h:94
Char_t _sType[12]
Definition: TUncertModeler.h:52
Definition: TUncertModeler.h:47
Char_t _sMethod[12]
Definition: TUncertModeler.h:53
void unsetLog()
Definition: TUncertModeler.h:90
Float_t _pValue
Definition: TUncertModeler.h:54
Bool_t getLog()
Definition: TUncertModeler.h:98
Int_t getID()
Definition: TUncertModeler.h:76