13 #include <mva/interface/Interface.h>
14 #include <mva/interface/Options.h>
15 #include <mva/interface/Weightfile.h>
29 void loadRootDictionary();
39 void download(
const std::string& identifier,
const std::string& filename,
int experiment = 0,
int run = 0,
int event = 0);
50 void upload(
const std::string& filename,
const std::string& identifier,
int exp1 = 0,
int run1 = 0,
int exp2 = -1,
int run2 = -1);
61 void upload_array(std::vector<std::string>& filenames,
const std::string& identifier,
int exp1 = 0,
int run1 = 0,
int exp2 = -1,
71 bool available(
const std::string& filename,
int experiment = 0,
int run = 0,
int event = 0);
78 void extract(
const std::string& filename,
const std::string& directory);
84 std::string info(
const std::string& filename);
93 void save_custom_weightfile(
const GeneralOptions& general_options,
const SpecificOptions& specific_options,
94 const std::string& custom_weightfile,
const std::string& output_identifier =
"");
102 void teacher(
const GeneralOptions& general_options,
const SpecificOptions& specific_options,
103 const MetaOptions& meta_options = MetaOptions());
117 void expert(
const std::vector<std::string>& filenames,
const std::vector<std::string>& datafile,
const std::string& treename,
118 const std::string& outputfile,
int experiment = 0,
int run = 0,
int event = 0,
bool copy_target =
true);
126 std::unique_ptr<Belle2::MVA::Expert> teacher_dataset(GeneralOptions general_options,
const SpecificOptions& specific_options,
135 std::unique_ptr<Belle2::MVA::Expert> teacher_splot(
const GeneralOptions& general_options,
const SpecificOptions& specific_options,
136 const MetaOptions& meta_options);
144 std::unique_ptr<Belle2::MVA::Expert> teacher_sideband_substraction(
const GeneralOptions& general_options,
145 const SpecificOptions& specific_options,
146 const MetaOptions& meta_options);
154 std::unique_ptr<Belle2::MVA::Expert> teacher_reweighting(
const GeneralOptions& general_options,
155 const SpecificOptions& specific_options,
156 const MetaOptions& meta_options);