Documentation / Developer's manual
Available modules
Calibration,  DataServer,  Launcher,  MetaModelOptim,  Modeler,  Optimizer,  ReLauncher,  Reliability,  ReOptimizer,  Sampler,  Sensitivity,  UncertModeler,  XmlProblem,  
Uranie / DataServer v4.9.0
|
Implementation of the class URANIE::DataServer::TDataServer This is the main object in order to perform incertainties in library mode. More...
#include <stdlib.h>
#include <iostream>
#include <iomanip>
#include <fstream>
#include "TROOT.h"
#include "TTreeFormula.h"
#include "TSystem.h"
#include "TFile.h"
#include "TThread.h"
#include "TRegexp.h"
#include "TRandom3.h"
#include "TH1.h"
#include "TMultiGraph.h"
#include "TCanvas.h"
#include "TGaxis.h"
#include "TPaveText.h"
#include "TArrow.h"
#include "TLegend.h"
#include "TProfile.h"
#include "TMarker.h"
#include "THistPainter.h"
#include "TEnv.h"
#include "TMath.h"
#include "TPaveLabel.h"
#include "TStyle.h"
#include "TVectorD.h"
#include "TMatrixTBase.h"
#include "TParallelCoord.h"
#include "TParallelCoordVar.h"
#include "UVersion.h"
#include "TDataServer.h"
#include "TTokenizer.h"
#include "TAttributeFormula.h"
#include "UExceptions.h"
Macros | |
#define | SINTERNALRAFU "__rafu__dataset__" |
#define | MAXNBCHARACTERS 55 |
#define | JSON_READ_ERROR() |
Functions | |
ClassImp (URANIE::DataServer::TDataServer) namespace URANIE | |
Variables | |
static Int_t | dummy = URANIE::DataServer::TDataServer::doBanner() |
Detailed Description
Implementation of the class URANIE::DataServer::TDataServer This is the main object in order to perform incertainties in library mode.
- Date
- thur apr 26 14:14:11 CEST 2007
$Revision$ $Date$
- Modifications
- JB. Blanchard (CEA) 2016-02-19: Very large modification for the new TDSNtupleD type based on tree directly. Modified many methods to deal with string and vector<double>
- S. Pomarede (2012-10-19): the Windows "\r\n" end-of-lines are allowed.
- M. Salvoldi (28-11-2011) :
- suppress the IFDEF WIN32 instruction in all the class
- add the closure of the file identified by f in ntupleDataRead()
- replace the Form(s/s...) by gSystem->ConcatFileName(..) in fileDataRead()
- C. Forgues (11-01-2011 15:12 ): corrects ntupleDataRead(), taking account of inversion of the iterator attribute from createTuple() method.
- C. Forgues (2010-12-22 14:17:21)
- merge() method takes care of hand made TDataServers.
- TFile in addAttribute() method is now correctly linked to the current TDirectory.
- F. Gaudier (2010-12-13 09:03:01)
- add the optstat option in the drawTufte method;
- store and re-apply the optstat flag for the gStyle in the drawTufte method;
- Cedric Forgues (2010-10-27)
- Variable MAXNBCHARACTERS is now a defined global variable.
- F. Gaudier (2010-09-01 15:27:44)
- add the normalisation method with 3 methods (kCR, kMinusOneOne, kZeroOne)
- F. Gaudier (2010-08-05 14:48:49)
- put the option argument in the two draw method : drawIter and drawHistogramm
- put the good legend for the drawIter method
- Cedric Forgues (C.S.) 2010/07/23
- getArchiveFileName is modified to return correct path for the archive name with WIN32.
- Cedric Forgues (C.S.) 2010/07/07
- Save rootfile in fileDataRead() is disabled with WIN32.
- Cedric Forgues (C.S.) 2010/06/30
- A new global variable is added, shortDataTreeName, initialized to GetName() if the numbers of caracters of GetName() is inferior to 15, else to a restriction to the 15 first caracters.
- Cedric Forgues (C.S.) 2010/06/29
- Modifications in createTuple(), if the name of the tds is too long (more than 15 caracters) it is shortened.
- Cedric Forgues (C.S.) 2010/06/18
- Modifications in exportData(), variables names weren't readable.
- Adding exception in computeInverseNormalCDF() method when giving a non valuable value for probability.
- Adding exceptions in drawBoxPlot(), drawTufte() methods when giving a non valuable value for probability.
- Cedric Forgues (C.S.) 2010/06/18
- Changing Exception in Draw method with order.
- Cedric Forgues (C.S.) 2010/06/16
- Changing warning in error for getNPatterns() method.
- Cedric Forgues (C.S.) 2010/04/23
- Adding of the isWhiteLine(TString) private method. Tests if a TString is a white Line. Used for fileDataRead() method.
- Fabrice Gaudier (2010-04-13 11:24:40)
- Change the location of the archive file (gSystem->pwd()) instead of the directory of the data source
- Active the save of the archive file (TFile)
- Correct the exportData method
- Correct the bug when added more than one attributes
- ven fev 19 12:00:50 2010 FGA Correction du bug du calcul de la matrice de correlations uniquement sur les valeurs malgre l'option rang.
- Cedric Forgues (C.S.) 2010/01/12 filedataRead; ostringstream cast in a TString (with the str() method) gives a bad allocation with WIN32.
- Cedric Forgues (C.S.) 2009/12/10 createTuple(); filedataRead;
- Cedric Forgues (C.S.) 2009/12/08 computeCorrelationMatrix();
Macro Definition Documentation
◆ JSON_READ_ERROR
#define JSON_READ_ERROR | ( | ) |
◆ MAXNBCHARACTERS
#define MAXNBCHARACTERS 55 |
◆ SINTERNALRAFU
#define SINTERNALRAFU "__rafu__dataset__" |
Function Documentation
◆ ClassImp()
ClassImp | ( | URANIE::DataServer::TDataServer | ) |
Copy constructor
Adds an attribute with the name and title
- Parameters
-
name the name of the attribute title the title of the attribute
Adds an attribute with the name only
- Parameters
-
name the name of the attribute title the title of the attribute
< Map of size of element for attribute;
< Map of Elements number to run (if vector subselection is requested)
< Name of the output
Add by MSA
End of add by MSA
References URANIE::DataServer::TDataServer::_blog, URANIE::DataServer::TDataServer::_bQuantVectPrinted, URANIE::DataServer::TDataServer::_bsaveTuple, URANIE::DataServer::TDataServer::_canvas, URANIE::DataServer::TDataServer::_ccut, URANIE::DataServer::TDataServer::_datatree, URANIE::DataServer::TDataServer::_drawingGarbageCollector, URANIE::DataServer::TDataServer::_fLogger, URANIE::DataServer::TDataServer::_friend, URANIE::DataServer::TDataServer::_norigin, URANIE::DataServer::TDataServer::_pelBootstrap, URANIE::DataServer::TDataServer::_sarchivefile, URANIE::DataServer::TDataServer::_sdatafile, URANIE::DataServer::TDataServer::_shortDataTreeName, URANIE::DataServer::TDataServer::addAttribute(), URANIE::DataServer::TDataServer::addAttributeByNameTitle(), URANIE::DataServer::TDataServer::addAttributeUsingData(), URANIE::DataServer::TDataServer::bootstrap(), URANIE::DataServer::TDataServer::changeIteratorName(), URANIE::DataServer::TDataServer::checkAttributes(), URANIE::DataServer::TDataServer::checkCanvasCreation(), URANIE::DataServer::TDataServer::checkName(), URANIE::DataServer::TDataServer::clearSelect(), URANIE::DataServer::TDataServer::computeCAH(), URANIE::DataServer::TDataServer::computeCorrelationMatrix(), URANIE::DataServer::TDataServer::computeIndexQuantileWilks(), URANIE::DataServer::TDataServer::computeInverseNormalCDF(), URANIE::DataServer::TDataServer::computeQuantile(), URANIE::DataServer::TDataServer::computeQuantileCV(), URANIE::DataServer::TDataServer::computeRank(), URANIE::DataServer::TDataServer::computeStatistic(), URANIE::DataServer::TDataServer::createTuple(), URANIE::DataServer::TDataServer::delAttribute(), URANIE::DataServer::TDataServer::deleteTuple(), URANIE::DataServer::TAttribute::delShare(), DLE_MAX, URANIE::DataServer::TDataServer::Draw(), URANIE::DataServer::TDataServer::draw(), URANIE::DataServer::TDataServer::drawBoxPlot(), URANIE::DataServer::TDataServer::drawCDF(), URANIE::DataServer::TDataServer::drawCDFRaFu(), URANIE::DataServer::TDataServer::drawCobWeb(), URANIE::DataServer::TDataServer::drawCopulogram(), URANIE::DataServer::TDataServer::drawECDF(), URANIE::DataServer::TDataServer::drawHistogram(), URANIE::DataServer::TDataServer::drawIter(), URANIE::DataServer::TDataServer::drawLegend(), URANIE::DataServer::TDataServer::drawPairs(), URANIE::DataServer::TDataServer::drawPPPlot(), URANIE::DataServer::TDataServer::drawProfile(), URANIE::DataServer::TDataServer::drawQQorPPPlot(), URANIE::DataServer::TDataServer::drawQQPlot(), URANIE::DataServer::TDataServer::drawScatterplot(), URANIE::DataServer::TDataServer::drawTufte(), URANIE::DataServer::TPatternsEventList::Enter(), URANIE::DataServer::TDataServer::estimateQuantile(), URANIE::DataServer::TDataServer::exportData(), URANIE::DataServer::TDataServer::exportDataContext(), URANIE::DataServer::TDataServer::exportDataHeader(), URANIE::DataServer::TDataServer::exportDataNeMo(), URANIE::DataServer::TDataServer::fileDataRead(), URANIE::DataServer::TDSNtupleD::Fill(), URANIE::DataServer::TDataServer::fillAttribute(), URANIE::DataServer::TDataServer::fillConstantAttribute(), URANIE::DataServer::TDataServer::fillOthersAttributes(), URANIE::DataServer::TDataServer::findParametersLaw(), URANIE::DataServer::TDataServer::getArchiveFileName(), URANIE::DataServer::TDataServer::getAttribute(), URANIE::DataServer::TDataServer::getAttributeIndex(), URANIE::DataServer::TDataServer::getDataFileName(), URANIE::DataServer::TDataServer::getDataTreeName(), URANIE::DataServer::TAttribute::getDataTypeStr(), URANIE::DataServer::TDataServer::getIteratorName(), URANIE::DataServer::TDataServer::getListOfAttributes(), URANIE::DataServer::TDataServer::getMatrix(), URANIE::DataServer::TAttribute::getMaximum(), URANIE::DataServer::TAttribute::getMean(), URANIE::DataServer::TAttribute::getMinimum(), URANIE::DataServer::TDataServer::getNAttributes(), URANIE::DataServer::TDataServer::getNInputAttributes(), URANIE::DataServer::TDataServer::getNOutputAttributes(), URANIE::DataServer::TDataServer::getNPatterns(), URANIE::DataServer::TAttribute::getStd(), URANIE::DataServer::TDataServer::getString(), URANIE::DataServer::TDataServer::getStringListOfAttributes(), URANIE::DataServer::TDataServer::getTuple(), URANIE::DataServer::TDataServer::getValue(), URANIE::DataServer::TDataServer::getVector(), URANIE::DataServer::TDataServer::internalQuantilesComputation(), URANIE::DataServer::TDataServer::isAttribute(), URANIE::DataServer::TDataServer::kASCIIFile, URANIE::DataServer::TDataServer::kAverage, URANIE::DataServer::TDataServer::kCentered, URANIE::DataServer::TDataServer::kCenteredSum0fSquareOne, URANIE::DataServer::TDataServer::kCentroid, URANIE::DataServer::TDataServer::kComplete, URANIE::DataServer::TDataServer::kCR, URANIE::DataServer::TAttribute::kInternal, URANIE::DataServer::TAttribute::kIterator, URANIE::DataServer::TDataServer::kMinusOneOne, URANIE::DataServer::TDataServer::kSingle, URANIE::DataServer::TAttribute::kString, URANIE::DataServer::TDataServer::kTree, URANIE::DataServer::TAttribute::kVector, URANIE::DataServer::TDataServer::kWard, URANIE::DataServer::TDataServer::kWardExact, URANIE::DataServer::TDataServer::kZeroOne, URANIE::DataServer::TDataServer::loadTree(), MAXNBCHARACTERS, URANIE::DataServer::TDataServer::merge(), URANIE::DataServer::TDSNtupleD::Merger(), URANIE::DataServer::TDataServer::mix(), URANIE::DataServer::TDataServer::normalize(), URANIE::DataServer::TDataServer::ntupleDataRead(), URANIE::DataServer::TPatternsEventList::Print(), URANIE::DataServer::TAttribute::printLog(), URANIE::DataServer::TDataServer::printLog(), URANIE::DataServer::TDataServer::saveTuple(), URANIE::DataServer::TDataServer::Scan(), URANIE::DataServer::TDataServer::scan(), URANIE::DataServer::TAttribute::setDataType(), URANIE::DataServer::TDataServer::setIterator(), URANIE::DataServer::TAttribute::setMaximum(), URANIE::DataServer::TAttribute::setMean(), URANIE::DataServer::TAttribute::setMinimum(), URANIE::DataServer::TDataServer::SetName(), URANIE::DataServer::TAttribute::setOrigin(), URANIE::DataServer::TAttribute::setQuantile(), URANIE::DataServer::TAttribute::setStd(), SINTERNALRAFU, SIZENAME, URANIE::DataServer::TDataServer::startViewer(), URANIE::DataServer::TDataServer::StartViewer(), URANIE::DataServer::TDataServer::TDataServer(), URANIE::DataServer::TDataServer::~TDataServer(), and URANIE::DataServer::TDSNtupleD::~TDSNtupleD().
Variable Documentation
◆ dummy
|
static |