Options for the PDF MVA method.
More...
#include <PDF.h>
|
| 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.
|
| |
|
virtual std::string | getMethod () const override |
| | Return method name.
|
| |
|
| std::string | m_binning = "frequency" |
| | which type of binning is performed e.g. More...
|
| |
| std::string | m_mode = "probability" |
| | mode which defines the final output e.g. More...
|
| |
|
unsigned int | m_nBins = 100 |
| | number of bins used to bin the data
|
| |
Options for the PDF MVA method.
Definition at line 29 of file PDF.h.
◆ load()
| void load |
( |
const boost::property_tree::ptree & |
pt | ) |
|
|
overridevirtual |
Load mechanism (used by Weightfile) to load Options from a xml tree.
- Parameters
-
Implements Options.
Definition at line 19 of file PDF.cc.
21 int version = pt.get<
int>(
"PDF_version");
23 B2ERROR(
"Unknown weightfile version " << std::to_string(version));
24 throw std::runtime_error(
"Unknown weightfile version " + std::to_string(version));
26 m_binning = pt.get<std::string>(
"PDF_binning");
27 m_mode = pt.get<std::string>(
"PDF_mode");
28 m_nBins = pt.get<
unsigned int>(
"PDF_nBins");
unsigned int m_nBins
number of bins used to bin the data
std::string m_binning
which type of binning is performed e.g.
std::string m_mode
mode which defines the final output e.g.
◆ save()
| void save |
( |
boost::property_tree::ptree & |
pt | ) |
const |
|
overridevirtual |
◆ m_binning
| std::string m_binning = "frequency" |
which type of binning is performed e.g.
frequency or equidistant
Definition at line 54 of file PDF.h.
◆ m_mode
| std::string m_mode = "probability" |
mode which defines the final output e.g.
probability
Definition at line 55 of file PDF.h.
The documentation for this class was generated from the following files: