ROOT 6.16/01 Reference Guide |
Helper class for ToyMCSampler.
Handles all of the nuisance parameter related functions. Once instantiated, it gives a new nuisance parameter point at each call to nextPoint(...). Only used inside ToyMCSampler, ie "private" in the cxx file
Definition at line 39 of file ToyMCSampler.h.
Public Member Functions | |
NuisanceParametersSampler (RooAbsPdf *prior=NULL, const RooArgSet *parameters=NULL, Int_t nToys=1000, Bool_t asimov=kFALSE) | |
virtual | ~NuisanceParametersSampler () |
void | NextPoint (RooArgSet &nuisPoint, Double_t &weight) |
Assigns new nuisance parameter point to members of nuisPoint. More... | |
Protected Member Functions | |
void | Refresh () |
Creates the initial set of nuisance parameter points. More... | |
Private Attributes | |
Bool_t | fExpected |
Int_t | fIndex |
Int_t | fNToys |
const RooArgSet * | fParams |
RooAbsData * | fPoints |
RooAbsPdf * | fPrior |
#include <RooStats/ToyMCSampler.h>
|
inline |
Definition at line 42 of file ToyMCSampler.h.
|
inlinevirtual |
Definition at line 52 of file ToyMCSampler.h.
Assigns new nuisance parameter point to members of nuisPoint.
nuisPoint can be more objects than just the nuisance parameters.
Definition at line 68 of file ToyMCSampler.cxx.
|
protected |
Creates the initial set of nuisance parameter points.
It also refills the set with new parameter points if called repeatedly. This helps with adaptive sampling as the required number of nuisance parameter points might increase during the run.
Definition at line 93 of file ToyMCSampler.cxx.
|
private |
Definition at line 65 of file ToyMCSampler.h.
|
private |
Definition at line 68 of file ToyMCSampler.h.
|
private |
Definition at line 64 of file ToyMCSampler.h.
|
private |
Definition at line 63 of file ToyMCSampler.h.
|
private |
Definition at line 67 of file ToyMCSampler.h.
|
private |
Definition at line 62 of file ToyMCSampler.h.