ROOT 6.08/07 Reference Guide |
ToyMCSampler is an implementation of the TestStatSampler interface.
It generates Toy Monte Carlo for a given parameter point and evaluates a TestStatistic.
For parallel runs, ToyMCSampler can be given an instance of ProofConfig and then run in parallel using proof or proof-lite. Internally, it uses ToyMCStudy with the RooStudyManager.
Definition at line 99 of file ToyMCSampler.h.
Static Public Member Functions | |
static void | SetAlwaysUseMultiGen (Bool_t flag) |
Protected Member Functions | |
virtual void | ClearCache () |
const RooArgList * | EvaluateAllTestStatistics (RooAbsData &data, const RooArgSet &poi, DetailedOutputAggregator &detOutAgg) |
RooAbsData * | Generate (RooAbsPdf &pdf, RooArgSet &observables, const RooDataSet *protoData=NULL, int forceEvents=0) const |
Protected Attributes | |
RooArgSet * | _allVars |
RooAbsPdf::GenSpec * | _gs1 |
RooAbsPdf::GenSpec * | _gs2 |
GenSpec #1. More... | |
RooAbsPdf::GenSpec * | _gs3 |
GenSpec #2. More... | |
RooAbsPdf::GenSpec * | _gs4 |
GenSpec #3. More... | |
std::list< RooAbsPdf::GenSpec * > | _gsList |
std::list< RooArgSet * > | _obsList |
std::list< RooAbsPdf * > | _pdfList |
Double_t | fAdaptiveHighLimit |
Double_t | fAdaptiveLowLimit |
Bool_t | fExpectedNuisancePar |
Bool_t | fGenerateAutoBinned |
Bool_t | fGenerateBinned |
TString | fGenerateBinnedTag |
const RooArgSet * | fGlobalObservables |
Double_t | fMaxToys |
Int_t | fNEvents |
Int_t | fNToys |
NuisanceParametersSampler * | fNuisanceParametersSampler |
const RooArgSet * | fNuisancePars |
const RooArgSet * | fObservables |
const RooArgSet * | fParametersForTestStat |
RooAbsPdf * | fPdf |
RooAbsPdf * | fPriorNuisance |
ProofConfig * | fProofConfig |
const RooDataSet * | fProtoData |
std::string | fSamplingDistName |
Double_t | fSize |
std::vector< TestStatistic * > | fTestStatistics |
Double_t | fToysInTails |
Bool_t | fUseMultiGen |
Static Protected Attributes | |
static Bool_t | fgAlwaysUseMultiGen = kFALSE |
GenSpec #4. More... | |
#include <RooStats/ToyMCSampler.h>
RooStats::ToyMCSampler::ToyMCSampler | ( | ) |
Definition at line 134 of file ToyMCSampler.cxx.
RooStats::ToyMCSampler::ToyMCSampler | ( | TestStatistic & | ts, |
Int_t | ntoys | ||
) |
Definition at line 174 of file ToyMCSampler.cxx.
|
virtual |
Definition at line 216 of file ToyMCSampler.cxx.
|
inlinevirtual |
Definition at line 125 of file ToyMCSampler.h.
|
virtual |
Definition at line 658 of file ToyMCSampler.cxx.
Definition at line 223 of file ToyMCSampler.cxx.
Reimplemented in RooStats::ToyMCImportanceSampler.
Definition at line 680 of file ToyMCSampler.cxx.
|
inlinevirtual |
Implements RooStats::TestStatSampler.
Definition at line 168 of file ToyMCSampler.h.
|
virtual |
Definition at line 245 of file ToyMCSampler.cxx.
|
protected |
Definition at line 257 of file ToyMCSampler.cxx.
|
inlinevirtual |
Definition at line 155 of file ToyMCSampler.h.
|
inlinevirtual |
Implements RooStats::TestStatSampler.
Definition at line 158 of file ToyMCSampler.h.
|
protected |
Definition at line 573 of file ToyMCSampler.cxx.
Definition at line 440 of file ToyMCSampler.cxx.
|
inlinevirtual |
Definition at line 140 of file ToyMCSampler.h.
|
inlinevirtual |
Definition at line 145 of file ToyMCSampler.h.
|
virtual |
Definition at line 505 of file ToyMCSampler.cxx.
|
inlinevirtual |
Reimplemented in RooStats::ToyMCImportanceSampler.
Definition at line 148 of file ToyMCSampler.h.
Definition at line 175 of file ToyMCSampler.h.
|
inline |
Definition at line 241 of file ToyMCSampler.h.
|
virtual |
Implements RooStats::TestStatSampler.
Definition at line 280 of file ToyMCSampler.cxx.
|
virtual |
Definition at line 300 of file ToyMCSampler.cxx.
|
virtual |
Reimplemented in RooStats::ToyMCImportanceSampler.
Definition at line 349 of file ToyMCSampler.cxx.
|
inlinevirtual |
Definition at line 162 of file ToyMCSampler.h.
|
inlinevirtual |
Implements RooStats::TestStatSampler.
Definition at line 166 of file ToyMCSampler.h.
|
inlinevirtual |
Implements RooStats::TestStatSampler.
Definition at line 169 of file ToyMCSampler.h.
Definition at line 130 of file ToyMCSampler.cxx.
Definition at line 227 of file ToyMCSampler.h.
Implements RooStats::TestStatSampler.
Definition at line 211 of file ToyMCSampler.h.
Definition at line 226 of file ToyMCSampler.h.
Definition at line 237 of file ToyMCSampler.h.
|
inline |
Definition at line 233 of file ToyMCSampler.h.
|
inline |
Definition at line 235 of file ToyMCSampler.h.
Implements RooStats::TestStatSampler.
Definition at line 205 of file ToyMCSampler.h.
Definition at line 244 of file ToyMCSampler.h.
Definition at line 177 of file ToyMCSampler.h.
Definition at line 176 of file ToyMCSampler.h.
Implements RooStats::TestStatSampler.
Definition at line 201 of file ToyMCSampler.h.
Implements RooStats::TestStatSampler.
Definition at line 203 of file ToyMCSampler.h.
|
inlinevirtual |
Implements RooStats::TestStatSampler.
Reimplemented in RooStats::ToyMCImportanceSampler.
Definition at line 185 of file ToyMCSampler.h.
Implements RooStats::TestStatSampler.
Reimplemented in RooStats::ToyMCImportanceSampler.
Definition at line 190 of file ToyMCSampler.h.
Implements RooStats::TestStatSampler.
Definition at line 193 of file ToyMCSampler.h.
|
inline |
Definition at line 263 of file ToyMCSampler.h.
|
inline |
Definition at line 265 of file ToyMCSampler.h.
|
inlinevirtual |
Implements RooStats::TestStatSampler.
Definition at line 240 of file ToyMCSampler.h.
Implements RooStats::TestStatSampler.
Definition at line 209 of file ToyMCSampler.h.
|
inlinevirtual |
Definition at line 214 of file ToyMCSampler.h.
|
inlinevirtual |
Implements RooStats::TestStatSampler.
Definition at line 224 of file ToyMCSampler.h.
|
inline |
Definition at line 256 of file ToyMCSampler.h.
Definition at line 246 of file ToyMCSampler.h.
Definition at line 251 of file ToyMCSampler.h.
Definition at line 109 of file ToyMCSampler.h.
|
mutableprotected |
Definition at line 314 of file ToyMCSampler.h.
|
mutableprotected |
Definition at line 318 of file ToyMCSampler.h.
|
mutableprotected |
GenSpec #1.
Definition at line 319 of file ToyMCSampler.h.
|
mutableprotected |
GenSpec #2.
Definition at line 320 of file ToyMCSampler.h.
|
mutableprotected |
GenSpec #3.
Definition at line 321 of file ToyMCSampler.h.
|
mutableprotected |
Definition at line 317 of file ToyMCSampler.h.
|
mutableprotected |
Definition at line 316 of file ToyMCSampler.h.
|
mutableprotected |
Definition at line 315 of file ToyMCSampler.h.
|
protected |
Definition at line 305 of file ToyMCSampler.h.
|
protected |
Definition at line 304 of file ToyMCSampler.h.
|
protected |
Definition at line 291 of file ToyMCSampler.h.
GenSpec #4.
Definition at line 323 of file ToyMCSampler.h.
|
protected |
Definition at line 294 of file ToyMCSampler.h.
|
protected |
Definition at line 292 of file ToyMCSampler.h.
|
protected |
Definition at line 293 of file ToyMCSampler.h.
|
protected |
Definition at line 287 of file ToyMCSampler.h.
|
protected |
Definition at line 302 of file ToyMCSampler.h.
|
protected |
Definition at line 289 of file ToyMCSampler.h.
|
protected |
Definition at line 288 of file ToyMCSampler.h.
|
mutableprotected |
Definition at line 311 of file ToyMCSampler.h.
|
protected |
Definition at line 285 of file ToyMCSampler.h.
|
protected |
Definition at line 286 of file ToyMCSampler.h.
|
protected |
Definition at line 280 of file ToyMCSampler.h.
|
protected |
Definition at line 279 of file ToyMCSampler.h.
|
protected |
Definition at line 284 of file ToyMCSampler.h.
|
protected |
Definition at line 309 of file ToyMCSampler.h.
|
protected |
Definition at line 307 of file ToyMCSampler.h.
|
protected |
Definition at line 283 of file ToyMCSampler.h.
|
protected |
Definition at line 290 of file ToyMCSampler.h.
|
protected |
Definition at line 281 of file ToyMCSampler.h.
|
protected |
Definition at line 299 of file ToyMCSampler.h.
|
protected |
Definition at line 324 of file ToyMCSampler.h.