Loading...
Searching...
No Matches
ITHACAsampling Class Reference

#include <ITHACAsampling.H>

Static Public Member Functions

static Eigen::VectorXd samplingMC (std::string pdftype, double &lowerE, double &upperE, double &distpara1, double &distpara2, label &Npoints)
 

Detailed Description

Definition at line 42 of file ITHACAsampling.H.

Member Function Documentation

◆ samplingMC()

Eigen::VectorXd ITHACAsampling::samplingMC ( std::string pdftype,
double & lowerE,
double & upperE,
double & distpara1,
double & distpara2,
label & Npoints )
static

method to sample with MC inverse transform according to the parameter distribution pdftype can be only one of the list present in the private members of the class. lowerE and upperE are the extremes of the desired range, values outside of it are rejected distpara1 and distpara2 are the parameters of the distibution, in case of distribution with only 1 parameter only the value in distpara1 is used

Definition at line 5 of file ITHACAsampling.C.


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