English Français

Documentation / Manuel développeur

Modules disponibles

Calibration,  DataServer,  Launcher,  MetaModelOptim,  Modeler,  Optimizer,  ReLauncher,  Reliability,  ReOptimizer,  Sampler,  Sensitivity,  UncertModeler,  XmlProblem,   Uranie / Launcher: TOutputFileDataServer.h Source File
Uranie / Launcher  v4.10.0
/* @license-end */
TOutputFileDataServer.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 
91 #ifndef TOUTPUTFILEDATASERVER_H
92 #define TOUTPUTFILEDATASERVER_H
93 
94 #include <iostream>
95 
96 //ROOT
97 #include "Rtypes.h"
98 
99 // Uranie
100 #include "Launcher.h"
101 #include "TOutputFile.h"
102 #include "UEntry.h"
103 
104 namespace URANIE
105 {
106 namespace Launcher
107 {
109 {
110 private:
111  Int_t _nLines;
112  Int_t _nColumns;
113  Int_t _nLength;
114 public:
115  //---------------------------------------------
119  TOutputFileDataServer(TString str);
122  virtual ~TOutputFileDataServer();
124 
125  //---------------------------------------------
129 
135  void addAttribute(URANIE::DataServer::TAttribute* att, Int_t nline = 0);
137 
140  void addAttribute(TString name, Int_t nline = 0);
142 
146  Bool_t searchOutput(forkcode *fjob, Int_t &indcrt, Double_t *val, TList *lstOut = NULL);
149  Bool_t searchOutput(forkcode *fjob, vector<URANIE::DataServer::UEntry*> *out);
151 
152  //---------------------------------------------
156  virtual void printLog(Option_t *option = "");
158 
159  ClassDef(URANIE::Launcher::TOutputFileDataServer, ID_LAUNCHER)
160  //Classe de
161 };
162 
163 } // Fin du namespace Launcher
164 } // Fin du namespace URANIE
165 #endif
Definition: TCluster.h:66
void addAttribute(URANIE::DataServer::TAttribute *att, Int_t nline=0)
Add the attribute and the line number in the file.
Description of the class TOutputFileDataServer.
Definition: TOutputFileDataServer.h:108
struct unforkjob forkcode
Definition: TInputFile.h:53
virtual void printLog(Option_t *option="")
Int_t _nLines
The number of lines in the file.
Definition: TOutputFileDataServer.h:111
Int_t _nColumns
The number of columnsin the file.
Definition: TOutputFileDataServer.h:112
Description of the class TOutputFile.
Definition: TOutputFile.h:87
Interface of the class URANIE::Launcher::TOutputFile.
Int_t _nLength
The number of temporal data (_nColumns) to store.
Definition: TOutputFileDataServer.h:113
TOutputFileDataServer(TString str)
Default constructor.
Bool_t searchOutput(forkcode *fjob, Int_t &indcrt, Double_t *val, TList *lstOut=NULL)
Looking for output usindouble only and transmitting matrix (not used by launcher anymore) ...
virtual ~TOutputFileDataServer()
Default destructor.