Belle II Software
release-08-01-10
|
General options which are shared by all MVA trainings. More...
#include <Options.h>
Public Member Functions | |
virtual void | load (const boost::property_tree::ptree &pt) override |
Load mechanism (used by Weightfile) to load Options from a xml tree. More... | |
virtual void | save (boost::property_tree::ptree &pt) const override |
Save mechanism (used by Weightfile) to store Options in a xml tree. More... | |
virtual po::options_description | getDescription () override |
Returns a program options description for all available options. | |
Public Attributes | |
std::string | m_method |
Name of the MVA method to use. | |
std::string | m_identifier |
Identifier containing the finished training. | |
std::vector< std::string > | m_datafiles |
Name of the datafiles containing the training data. | |
std::string | m_treename = "ntuple" |
Name of the TTree inside the datafile containing the training data. | |
std::vector< std::string > | m_variables |
Vector of all variables (branch names) used in the training. | |
std::vector< std::string > | m_spectators |
Vector of all spectators (branch names) used in the training. | |
int | m_signal_class = 1 |
Signal class which is used as signal in a classification problem. | |
unsigned int | m_nClasses = 2 |
Number of classes in a classification problem. | |
std::string | m_target_variable = "isSignal" |
Target variable (branch name) defining the target. | |
std::string | m_weight_variable = "__weight__" |
Weight variable (branch name) defining the weights. | |
unsigned int | m_max_events = 0 |
Maximum number of events to process, 0 means all. | |
|
overridevirtual |
Load mechanism (used by Weightfile) to load Options from a xml tree.
pt | xml tree |
Implements Options.
Definition at line 44 of file Options.cc.
|
overridevirtual |
Save mechanism (used by Weightfile) to store Options in a xml tree.
pt | xml tree |
Implements Options.
Definition at line 74 of file Options.cc.