herwig is hosted by Hepforge, IPPP Durham
Herwig 7.3.0
exsample::parametric_selector Class Reference

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

#include <selectors.h>

Public Member Functions

 parametric_selector ()
 the default constructor
 
 parametric_selector (std::vector< double > *point, const std::vector< bool > &sample)
 construct from reference to point and flags to sample variables
 
std::pair< bool, bool > use (const cell &parent, const cell &, const cell &) const
 return which of the children cells should be considered
 
bool use (const cell &) const
 return true, if the leaf cell should be considered
 

Private Attributes

std::vector< double > * point_
 the point chosen
 
std::vector< bool > sampled_variables_
 flags for variables to be sampled
 

Detailed Description

selector selecting only bins which contain the given parameter point

Definition at line 48 of file selectors.h.

Constructor & Destructor Documentation

◆ parametric_selector() [1/2]

exsample::parametric_selector::parametric_selector ( )
inline

the default constructor

Definition at line 53 of file selectors.h.

◆ parametric_selector() [2/2]

exsample::parametric_selector::parametric_selector ( std::vector< double > *  point,
const std::vector< bool > &  sample 
)
inline

construct from reference to point and flags to sample variables

Definition at line 57 of file selectors.h.

Member Function Documentation

◆ use()

bool exsample::parametric_selector::use ( const cell ) const
inline

return true, if the leaf cell should be considered

Definition at line 69 of file selectors.h.

Member Data Documentation

◆ point_

std::vector<double>* exsample::parametric_selector::point_
private

the point chosen

Definition at line 74 of file selectors.h.

◆ sampled_variables_

std::vector<bool> exsample::parametric_selector::sampled_variables_
private

flags for variables to be sampled

Definition at line 77 of file selectors.h.


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