herwig is hosted by Hepforge, IPPP Durham
Herwig 7.3.0
exsample::adaption_info Struct Reference

adaption_info is a container for parameters relevant to sampling and adaption. More...

#include <adaption_info.h>

Public Member Functions

 adaption_info ()
 the default constructor
 
template<class OStream >
void put (OStream &os) const
 put to ostream
 
template<class IStream >
void get (IStream &is)
 get from istream
 

Public Attributes

std::size_t dimension
 the phasespace dimension
 
std::vector< double > lower_left
 the lower left corner of the function's support
 
std::vector< double > upper_right
 the upper right corner of the function's support
 
unsigned long presampling_points
 the number of presampling points
 
std::size_t histo_depth
 use 2^histo_depth bins in efficiency histograms
 
std::vector< bool > adapt
 indicate which dimensions should be adapted
 
unsigned long freeze_grid
 the number of accepted events after the grid is frozen
 
unsigned long maxtry
 the maximum number of misses allowed
 
double efficiency_threshold
 the efficiency threshold below which splits are considered
 
double gain_threshold
 a minimum gain for splits to be performed
 

Detailed Description

adaption_info is a container for parameters relevant to sampling and adaption.

Definition at line 18 of file adaption_info.h.

Constructor & Destructor Documentation

◆ adaption_info()

exsample::adaption_info::adaption_info ( )
inline

the default constructor

Definition at line 21 of file adaption_info.h.

Member Data Documentation

◆ adapt

std::vector<bool> exsample::adaption_info::adapt

indicate which dimensions should be adapted

Definition at line 44 of file adaption_info.h.

◆ dimension

std::size_t exsample::adaption_info::dimension

the phasespace dimension

Definition at line 29 of file adaption_info.h.

◆ efficiency_threshold

double exsample::adaption_info::efficiency_threshold

the efficiency threshold below which splits are considered

Definition at line 53 of file adaption_info.h.

Referenced by exsample::cell_info::bad().

◆ freeze_grid

unsigned long exsample::adaption_info::freeze_grid

the number of accepted events after the grid is frozen

Definition at line 47 of file adaption_info.h.

◆ gain_threshold

double exsample::adaption_info::gain_threshold

a minimum gain for splits to be performed

Definition at line 56 of file adaption_info.h.

◆ histo_depth

std::size_t exsample::adaption_info::histo_depth

use 2^histo_depth bins in efficiency histograms

Definition at line 41 of file adaption_info.h.

◆ lower_left

std::vector<double> exsample::adaption_info::lower_left

the lower left corner of the function's support

Definition at line 32 of file adaption_info.h.

Referenced by exsample::generator< Function, Random >::volume().

◆ maxtry

unsigned long exsample::adaption_info::maxtry

the maximum number of misses allowed

Definition at line 50 of file adaption_info.h.

◆ presampling_points

unsigned long exsample::adaption_info::presampling_points

the number of presampling points

Definition at line 38 of file adaption_info.h.

◆ upper_right

std::vector<double> exsample::adaption_info::upper_right

the upper right corner of the function's support

Definition at line 35 of file adaption_info.h.

Referenced by exsample::generator< Function, Random >::volume().


The documentation for this struct was generated from the following file: