Skip to content
Snippets Groups Projects
Commit 3d298769 authored by BaM's avatar BaM
Browse files

working!

parent b887192b
No related branches found
No related tags found
No related merge requests found
Pipeline #
......@@ -205,14 +205,12 @@ void XSM_SFR::BookTMVAReader() {
map<ZAI,string>::iterator it;
for ( it = fMapOfTMVAVariableNames.begin(); it != fMapOfTMVAVariableNames.end(); it++){
// std::cout<< it->second << std::endl;
fReader[i]->AddVariable(it->second.c_str());
}
DBGL
// Time as to be the last one !!!
fReader[i]->AddVariable("Time");
DBGL
// std::cout << dir + fWeightFiles[i] << std::endl;
fReader[i]->BookMVA("MLP method", dir + fWeightFiles[i]);
DBGL
}
......
......@@ -119,14 +119,11 @@ class XSM_SFR : public XSM_MLP
void GetMLPWeightFiles(); //!< Find all .xml file in TMVA_Weight_Directory
vector<float> CreateTMVAInput(IsotopicVector isotopicvector,int TimeStep = 0); //!<Create input tmva to be read by ExecuteTMVA
vector<double> fMLP_Time; //!< Time vector of the data base
vector<string> fWeightFiles; //!< All the weight file contains in fTMVAWeightFolder
vector<string> fTMVAVariableNames;//!< List of TMVA input variable names (read from fMLPInformationFile ) , name depends on the training step
string fTMVAWeightFolder; //!< folder containing all the weight file
bool fIsStepTime; //!< true if one TMVA weihgt per step time is requiered otherwise it assumes time is part of the MLP inputs
vector<string> fTMVAVariableNames;//!< List of TMVA input variable names (read from fMLPInformationFile ) , name depends on the training step
vector<double> fTMVAFixedVariableValues;//!< List of value for TMVA that have to be used for all
#ifndef __CINT__
map<string, XS_SFR_DMthPtr> fDKeyword;
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment