13 #include <svd/calibration/SVDDatabaseImporter.h>
16 #include <framework/database/IntervalOfValidity.h>
17 #include <framework/database/DBImportObjPtr.h>
20 #include <framework/logging/Logger.h>
23 #include <mva/dataobjects/DatabaseRepresentationOfWeightfile.h>
25 #include <boost/property_tree/ptree.hpp>
33 using boost::property_tree::ptree;
36 void SVDDatabaseImporter::importSVDHitTimeNeuralNetwork(
string fileName,
bool threeSamples)
38 ifstream xml(fileName);
40 B2RESULT(
"ERROR: File not found.\nNeural network from " << fileName <<
" could not be imported.");
43 string label(
"SVDTimeNet_6samples");
45 label =
"SVDTimeNet_3samples";
47 buffer << xml.rdbuf();
50 importObj->
m_data = buffer.str();
53 m_lastExperiment, m_lastRun);
55 B2RESULT(
"Neural network from " << fileName <<
" successfully imported.");