ROOT  6.07/01
Reference Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Member Functions | Private Attributes | List of all members
RooStats::NuisanceParametersSampler Class Reference

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 51 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)
 

Protected Member Functions

void Refresh ()
 

Private Attributes

RooAbsPdffPrior
 
const RooArgSetfParams
 
Int_t fNToys
 
Bool_t fExpected
 
RooAbsDatafPoints
 
Int_t fIndex
 

#include <RooStats/ToyMCSampler.h>

Constructor & Destructor Documentation

RooStats::NuisanceParametersSampler::NuisanceParametersSampler ( RooAbsPdf prior = NULL,
const RooArgSet parameters = NULL,
Int_t  nToys = 1000,
Bool_t  asimov = kFALSE 
)
inline

Definition at line 54 of file ToyMCSampler.h.

virtual RooStats::NuisanceParametersSampler::~NuisanceParametersSampler ( )
inlinevirtual

Definition at line 64 of file ToyMCSampler.h.

Member Function Documentation

void RooStats::NuisanceParametersSampler::NextPoint ( RooArgSet nuisPoint,
Double_t weight 
)
void RooStats::NuisanceParametersSampler::Refresh ( )
protected

Member Data Documentation

Bool_t RooStats::NuisanceParametersSampler::fExpected
private

Definition at line 77 of file ToyMCSampler.h.

Int_t RooStats::NuisanceParametersSampler::fIndex
private

Definition at line 80 of file ToyMCSampler.h.

Int_t RooStats::NuisanceParametersSampler::fNToys
private

Definition at line 76 of file ToyMCSampler.h.

const RooArgSet* RooStats::NuisanceParametersSampler::fParams
private

Definition at line 75 of file ToyMCSampler.h.

RooAbsData* RooStats::NuisanceParametersSampler::fPoints
private

Definition at line 79 of file ToyMCSampler.h.

Referenced by ~NuisanceParametersSampler().

RooAbsPdf* RooStats::NuisanceParametersSampler::fPrior
private

Definition at line 74 of file ToyMCSampler.h.

Collaboration diagram for RooStats::NuisanceParametersSampler:
[legend]

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