Belle II Software  release-08-01-10
MetaOptions Class Reference

Meta Options which modify the underlying training by doing sPlot, Multiclass and HyperparameterSearch. More...

#include <Options.h>

Inheritance diagram for MetaOptions:
Collaboration diagram for MetaOptions:

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

bool m_use_splot = false
 Use splot training.
 
std::string m_splot_variable = "M"
 Discriminating variable.
 
std::vector< std::string > m_splot_mc_files
 Monte carlo files used for the distribution of the discriminating variable.
 
bool m_splot_combined = false
 Combine sPlot training with PDF classifier for discriminating variable.
 
bool m_splot_boosted = false
 Use boosted sPlot training (aPlot)
 
bool m_use_sideband_subtraction = false
 Use sideband subtraction.
 
std::vector< std::string > m_sideband_mc_files
 used to estimate the number of events in the different regions
 
std::string m_sideband_variable
 Variable defining the signal region (1) background region (2) negative signal region (3) or unused (otherwise) for the sideband subtraction. More...
 
bool m_use_reweighting = false
 Use a pretraining of data against mc and weight the mc afterwards.
 
std::string m_reweighting_identifier = ""
 Identifier used to save the reweighting expert.
 
std::string m_reweighting_variable
 Variable defining for which events the reweighting should be used (1) or not used (0). More...
 
std::vector< std::string > m_reweighting_data_files
 Data files for the pretraining.
 
std::vector< std::string > m_reweighting_mc_files
 MC files for the pretraining.
 

Detailed Description

Meta Options which modify the underlying training by doing sPlot, Multiclass and HyperparameterSearch.

Definition at line 111 of file Options.h.

Member Function Documentation

◆ load()

void load ( const boost::property_tree::ptree &  pt)
overridevirtual

Load mechanism (used by Weightfile) to load Options from a xml tree.

Parameters
ptxml tree

Implements Options.

Definition at line 128 of file Options.cc.

◆ save()

void save ( boost::property_tree::ptree &  pt) const
overridevirtual

Save mechanism (used by Weightfile) to store Options in a xml tree.

Parameters
ptxml tree

Implements Options.

Definition at line 168 of file Options.cc.

Member Data Documentation

◆ m_reweighting_variable

std::string m_reweighting_variable
Initial value:
=
""

Variable defining for which events the reweighting should be used (1) or not used (0).

If empty the reweighting is applied to all events

Definition at line 144 of file Options.h.

◆ m_sideband_variable

std::string m_sideband_variable
Initial value:
=
""

Variable defining the signal region (1) background region (2) negative signal region (3) or unused (otherwise) for the sideband subtraction.

Definition at line 139 of file Options.h.


The documentation for this class was generated from the following files: