26 SequentialProposal::SequentialProposal(
double divisor) :
43 double val = var->getVal(),
max = var->getMax(),
min = var->getMin(), len =
max -
min;
45 while (val >
max) val -= len;
46 while (val < min) val += len;
static Vc_ALWAYS_INLINE int_v min(const int_v &x, const int_v &y)
static Double_t gaussian(TRandom *generator=randomGenerator())
Return a Gaussian random variable with mean 0 and variance 1.
void SetParameters(const RooArgSet *desiredVals, RooArgSet *paramsToChange)
Class implementing a proposal function that samples the parameter space by moving only in one coordin...
Namespace for the RooStats classes.
static Double_t uniform(TRandom *generator=randomGenerator())
Return a number uniformly distributed from (0,1)
static Vc_ALWAYS_INLINE int_v max(const int_v &x, const int_v &y)
ClassImp(RooStats::SequentialProposal) namespace RooStats
RooLinkedListIter iterator(Bool_t dir=kIterForward) const