herwig is hosted by Hepforge, IPPP Durham
Herwig  7.2.1
exsample::parametric_sampling_selector< Random > Class Template Reference

sampling selector selecting only bins which contain the given parameter point More...

#include <selectors.h>

Inheritance diagram for exsample::parametric_sampling_selector< Random >:

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
 

Detailed Description

template<class Random>
class exsample::parametric_sampling_selector< Random >

sampling selector selecting only bins which contain the given parameter point

Definition at line 84 of file selectors.h.


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