Documentation / Manuel développeur
Modules disponibles
Calibration,  DataServer,  Launcher,  MetaModelOptim,  Modeler,  Optimizer,  ReLauncher,  Reliability,  ReOptimizer,  Sampler,  Sensitivity,  UncertModeler,  XmlProblem,  
Uranie / DataServer v4.9.0
|
TDSNtupleD.h
Go to the documentation of this file.
149 Int_t Fill(std::vector<URANIE::DataServer::UEntry*> *vinput, std::vector<URANIE::DataServer::UEntry*> *voutput);
316 void Merger(TDSNtupleD *file, const std::string newbrname, const std::string oldbrname, bool tdsmerge=false, const char* iter1="", const char* iter2="");
384 Int_t Branch(TCollection* list, Int_t bufsize = 32000, Int_t splitlevel = 99, const char* name = "")
396 TBranch* Branch(const char* name, const char* classname, void* addobj, Int_t bufsize = 32000, Int_t splitlevel = 99)
Definition TDSNtupleD.h:36
void _branchConstruction(Int_t bufsize)
Create the branches of the TDSNtupleD.
void Browse(TBrowser *b)
Parse a string using delim as a separation.
std::vector< std::vector< Double_t > * > _vfVArgs
Vector of Vector for variable defined that should be vector[double] (i.e. levele temporal)
Definition TDSNtupleD.h:349
TBranch * Branch(const char *name, void *address, const char *leaflist, Int_t bufsize=32000)
Create a new Branch.
std::vector< std::string * > _vfSArgs
Vector of variable defined as char*.
Definition TDSNtupleD.h:348
Int_t Fill(Double_t *AllValues)
Fill tuple with values in AllValues.
std::map< std::string, unsigned int > _mTypeNb
Map to store total number of variable per type.
Definition TDSNtupleD.h:353
ClassDef(URANIE::DataServer::TDSNtupleD, ID_DATASERVER)
TDSNtupleD(const char *name, const char *title, const char *varlist, const char *vartype, Int_t bufsize=32000)
Construct a new TDSNtupleD from a list of variable.
Double_t * GetArgs()
Return only the double argument of the tuple.
TDSNtupleD(TTree *ntd, const char *varlist="*", const char *cut="", bool NewIsMainOne=false)
Construct a new TDSNtupleD from an existing TTree/TDSNtupleD.
void ResetBranchAddresses()
Reset all branches addresses to the internal memory arrays.
Int_t Fill(std::string line, int IterIndex=-1)
Fill tuple with a line from an input file.
void extractData(Double_t *dataOut, Int_t arraySize, const char *varexpinput="*", const char *selection="", const Option_t *option="line", Int_t *nbDataPtr=NULL)
Extract selected data from the tuple to a flat array.
TDSNtupleD(const char *name, const char *title, const char *varlist, TMatrixD data, Int_t bufsize=32000)
Construct a new TDSNtupleD from a list of variable and a TMatrixD.
void copyBranchData(Double_t *copyArray, int arraySize, const char *branchName, const char *selection="", Int_t *nbDataPtr=NULL)
Copy the values of the selected entries of a given branch into the provided array.
void ResetBranchAddress(TBranch *branch)
Reset the branch addresses to the internal memory arrays.
Long64_t ReadFile(const char *filename)
Fill the TDSNtupleD using data from a text file.
std::vector< Double_t > _vfDArgs
Vector of entries (memory buffer and their ccorresponding types)
Definition TDSNtupleD.h:347
Int_t Fill(Double_t x0, Double_t x1, Double_t x2=0, Double_t x3=0, Double_t x4=0, Double_t x5=0, Double_t x6=0, Double_t x7=0, Double_t x8=0, Double_t x9=0, Double_t x10=0, Double_t x11=0, Double_t x12=0, Double_t x13=0, Double_t x14=0)
Fill tuple with values, up to 15 arguments.
void _initTTree(const char *name, const char *title)
Initialise TTree features.
Double_t * getBranchData(const char *branchName, const char *selection="", Int_t *nbDataPtr=NULL)
Return a pointer to the selected entries of a given branch.
void ClearVectorsAndMaps()
Clear the vectors and maps.
std::string _vartype
string describing the type of the variable
Definition TDSNtupleD.h:351
void extractData(TMatrixD *matrix, const char *varexpinput="*", const char *selection="")
Extract selected data from the tuple to a TMatrixD.
Int_t Fill(std::vector< URANIE::DataServer::UEntry * > *vinput, std::vector< URANIE::DataServer::UEntry * > *voutput)
Fill tuple with two vectors of UEntry.
TDSNtupleD(const char *name, const char *title, const char *varlist, Int_t bufsize=32000)
Construct a new TDSNtupleD from a list of variable.
std::string _varname
string describing the name of the variable
Definition TDSNtupleD.h:350
Int_t Fill(std::vector< URANIE::DataServer::UEntry * > *event)
Fill tuple with a vector of UEntry.
void Merger(TDSNtupleD *file, const std::string newbrname, const std::string oldbrname, bool tdsmerge=false, const char *iter1="", const char *iter2="")
To be written, might be very usefull :D.
std::map< unsigned int, unsigned int > _mVarTypeNb
Map to the specific type index for the index i in total variable reference
Definition TDSNtupleD.h:354