Herwig 7.3.0
|
sampling selector selecting only bins which contain the given parameter point More...
#include <selectors.h>
Public Member Functions | |
parametric_sampling_selector () | |
the default constructor | |
parametric_sampling_selector (std::vector< double > *p, bit_container< parameter_hash_bits > *bin_id, const std::vector< bool > &sample, const Random &rnd_gen) | |
construct from reference to point, subtree hash, flags of variables to be sampled, and random number generator | |
std::pair< bool, bool > | use (cell &parent, const cell &first_child, const cell &second_child) const |
return which of the children cells should be considered | |
bool | use (cell &leaf) const |
return true, if the leaf cell should be considered | |
void | compensate (bool doit=true) |
indicate that compensation is to take place | |
Private Attributes | |
std::vector< double > * | point_ |
the point chosen | |
bit_container< parameter_hash_bits > * | bin_id_ |
the corresponding bin id | |
std::vector< bool > | sampled_variables_ |
flags for variables to be sampled | |
Random | rnd_gen_ |
the random number generator | |
bool | compensate_ |
wether or not compensation is needed | |
sampling selector selecting only bins which contain the given parameter point
Definition at line 84 of file selectors.h.
|
inline |
the default constructor
Definition at line 89 of file selectors.h.
|
inline |
construct from reference to point, subtree hash, flags of variables to be sampled, and random number generator
Definition at line 96 of file selectors.h.
|
inline |
indicate that compensation is to take place
Definition at line 115 of file selectors.h.
References exsample::parametric_sampling_selector< Random >::compensate_.
|
private |
the corresponding bin id
Definition at line 123 of file selectors.h.
|
private |
wether or not compensation is needed
Definition at line 132 of file selectors.h.
Referenced by exsample::parametric_sampling_selector< Random >::compensate().
|
private |
the point chosen
Definition at line 120 of file selectors.h.
|
private |
the random number generator
Definition at line 129 of file selectors.h.
|
private |
flags for variables to be sampled
Definition at line 126 of file selectors.h.