Herwig
7.2.1
|
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.