#include <RooAbsGenContext.h>
Inheritance diagram for RooAbsGenContext:
Definition at line 26 of file RooAbsGenContext.h.
RooAbsGenContext::RooAbsGenContext | ( | const RooAbsPdf & | model, | |
const RooArgSet & | vars, | |||
const RooDataSet * | prototype = 0 , |
|||
const RooArgSet * | auxProto = 0 , |
|||
Bool_t | _verbose = kFALSE | |||
) |
Definition at line 49 of file RooAbsGenContext.cxx.
References _expectedEvents, _extendMode, _isValid, _nextProtoIndex, _normRange, _prototype, _protoVars, _theEvent, RooArgSet::add(), RooArgSet::addClone(), RooAbsCollection::contains(), coutE, RooAbsCollection::createIterator(), RooFit::Generation, RooDataSet::get(), kFALSE, model, TIterator::Next(), and RooAbsCollection::snapshot().
RooAbsGenContext::~RooAbsGenContext | ( | ) | [virtual] |
RooAbsGenContext::RooAbsGenContext | ( | const RooAbsPdf & | model, | |
const RooArgSet & | vars, | |||
const RooDataSet * | prototype = 0 , |
|||
const RooArgSet * | auxProto = 0 , |
|||
Bool_t | _verbose = kFALSE | |||
) |
virtual RooAbsGenContext::~RooAbsGenContext | ( | ) | [virtual] |
RooDataSet * RooAbsGenContext::generate | ( | Int_t | nEvents = 0 |
) |
Definition at line 128 of file RooAbsGenContext.cxx.
References _expectedEvents, _extendMode, _genData, _nextProtoIndex, _normRange, _protoOrder, _prototype, _protoVars, _theEvent, _verbose, RooDataSet::addFast(), RooAbsPdf::CanNotBeExtended, TObject::ClassName(), RooAbsCollection::contains(), coutE, coutI, RooAbsCollection::createIterator(), TString::Data(), generateEvent(), RooFit::Generation, RooDataSet::get(), TNamed::GetName(), TNamed::GetTitle(), initGenerator(), RooFit::InputArguments, RooArgSet::isInRange(), isValid(), kTRUE, TString::Length(), name, TIterator::Next(), RooAbsData::numEntries(), ok, output(), Print(), and title.
Referenced by RooAbsPdf::generate(), and RooMCStudy::run().
Bool_t RooAbsGenContext::isValid | ( | ) | const [inline] |
Definition at line 34 of file RooAbsGenContext.h.
References _isValid.
Referenced by RooAbsPdf::generate(), generate(), and RooGenContext::RooGenContext().
Bool_t RooAbsGenContext::isVerbose | ( | ) | const [inline] |
void RooAbsGenContext::setProtoDataOrder | ( | Int_t * | lut | ) | [virtual] |
Definition at line 313 of file RooAbsGenContext.cxx.
References _protoOrder, _prototype, i, n, and RooAbsData::numEntries().
Referenced by RooAbsPdf::generate(), RooMCStudy::run(), RooSimGenContext::setProtoDataOrder(), RooProdGenContext::setProtoDataOrder(), RooConvGenContext::setProtoDataOrder(), and RooAddGenContext::setProtoDataOrder().
virtual void RooAbsGenContext::Print | ( | Option_t * | options = 0 |
) | const [inline, virtual] |
Reimplemented from TNamed.
Definition at line 50 of file RooAbsGenContext.h.
References defaultPrintContents(), RooPrintable::defaultPrintStream(), defaultPrintStyle(), and RooPrintable::printStream().
Referenced by generate().
void RooAbsGenContext::attach | ( | const RooArgSet & | params | ) | [virtual] |
Definition at line 120 of file RooAbsGenContext.cxx.
Referenced by RooSimGenContext::attach(), RooAddGenContext::attach(), RooConvGenContext::attach(), RooProdGenContext::attach(), and RooMCStudy::RooMCStudy().
void RooAbsGenContext::printName | ( | ostream & | os | ) | const [virtual] |
Reimplemented from RooPrintable.
Definition at line 251 of file RooAbsGenContext.cxx.
References TNamed::GetName().
void RooAbsGenContext::printTitle | ( | ostream & | os | ) | const [virtual] |
Reimplemented from RooPrintable.
Definition at line 261 of file RooAbsGenContext.cxx.
References TNamed::GetTitle().
void RooAbsGenContext::printClassName | ( | ostream & | os | ) | const [virtual] |
void RooAbsGenContext::printArgs | ( | ostream & | os | ) | const [virtual] |
Reimplemented from RooPrintable.
Definition at line 281 of file RooAbsGenContext.cxx.
References _theEvent, RooAbsCollection::createIterator(), TNamed::GetName(), kFALSE, kTRUE, and TIterator::Next().
void RooAbsGenContext::printMultiline | ( | ostream & | os, | |
Int_t | contents, | |||
Bool_t | verbose = kFALSE , |
|||
TString | indent = "" | |||
) | const [virtual] |
Reimplemented from RooPrintable.
Definition at line 304 of file RooAbsGenContext.cxx.
Referenced by RooGenContext::printMultiline(), RooConvGenContext::printMultiline(), RooAddGenContext::printMultiline(), RooSimGenContext::printMultiline(), and RooProdGenContext::printMultiline().
Reimplemented from RooPrintable.
Definition at line 370 of file RooAbsGenContext.cxx.
References RooPrintable::kClassName, RooPrintable::kName, and RooPrintable::kValue.
Referenced by Print().
RooPrintable::StyleOption RooAbsGenContext::defaultPrintStyle | ( | Option_t * | opt | ) | const [virtual] |
Reimplemented from RooPrintable.
Definition at line 379 of file RooAbsGenContext.cxx.
References RooPrintable::kStandard, and RooPrintable::kVerbose.
Referenced by Print().
void RooAbsGenContext::initGenerator | ( | const RooArgSet & | theEvent | ) | [protected, virtual] |
Definition at line 242 of file RooAbsGenContext.cxx.
Referenced by generate(), RooEffGenContext::initGenerator(), RooSimGenContext::initGenerator(), RooConvGenContext::initGenerator(), RooProdGenContext::initGenerator(), and RooAddGenContext::initGenerator().
void RooAbsGenContext::resampleData | ( | Double_t & | ratio | ) | [protected] |
Definition at line 341 of file RooAbsGenContext.cxx.
References _genData, _nextProtoIndex, _prototype, cxcoutD, RooFit::EventRange(), RooFit::Generation, RooAbsData::numEntries(), and RooAbsData::reduce().
Referenced by RooGenContext::generateEvent().
RooDataSet* RooAbsGenContext::generate | ( | Int_t | nEvents = 0 |
) |
Bool_t RooAbsGenContext::isValid | ( | ) | const [inline] |
Bool_t RooAbsGenContext::isVerbose | ( | ) | const [inline] |
virtual void RooAbsGenContext::setProtoDataOrder | ( | Int_t * | lut | ) | [virtual] |
virtual void RooAbsGenContext::Print | ( | Option_t * | options = 0 |
) | const [inline, virtual] |
Reimplemented from TNamed.
Definition at line 50 of file RooAbsGenContext.h.
References defaultPrintContents(), RooPrintable::defaultPrintStream(), defaultPrintStyle(), and RooPrintable::printStream().
virtual void RooAbsGenContext::attach | ( | const RooArgSet & | params | ) | [virtual] |
virtual void RooAbsGenContext::printName | ( | ostream & | os | ) | const [virtual] |
Reimplemented from RooPrintable.
virtual void RooAbsGenContext::printTitle | ( | ostream & | os | ) | const [virtual] |
Reimplemented from RooPrintable.
virtual void RooAbsGenContext::printClassName | ( | ostream & | os | ) | const [virtual] |
Reimplemented from RooPrintable.
virtual void RooAbsGenContext::printArgs | ( | ostream & | os | ) | const [virtual] |
Reimplemented from RooPrintable.
virtual void RooAbsGenContext::printMultiline | ( | ostream & | os, | |
Int_t | contents, | |||
Bool_t | verbose = kFALSE , |
|||
TString | indent = "" | |||
) | const [virtual] |
Reimplemented from RooPrintable.
Reimplemented from RooPrintable.
virtual StyleOption RooAbsGenContext::defaultPrintStyle | ( | Option_t * | opt | ) | const [virtual] |
Reimplemented from RooPrintable.
virtual void RooAbsGenContext::initGenerator | ( | const RooArgSet & | theEvent | ) | [protected, virtual] |
virtual void RooAbsGenContext::generateEvent | ( | RooArgSet & | theEvent, | |
Int_t | remaining | |||
) | [protected, pure virtual] |
void RooAbsGenContext::resampleData | ( | Double_t & | ratio | ) | [protected] |
RooConvGenContext [friend] |
Definition at line 68 of file RooAbsGenContext.h.
RooProdGenContext [friend] |
Definition at line 69 of file RooAbsGenContext.h.
RooAddGenContext [friend] |
Definition at line 70 of file RooAbsGenContext.h.
RooSimGenContext [friend] |
Definition at line 71 of file RooAbsGenContext.h.
RooEffGenContext [friend] |
Definition at line 72 of file RooAbsGenContext.h.
const RooDataSet* RooAbsGenContext::_prototype [protected] |
Definition at line 79 of file RooAbsGenContext.h.
Referenced by generate(), resampleData(), RooAbsGenContext(), and setProtoDataOrder().
RooArgSet* RooAbsGenContext::_theEvent [protected] |
Definition at line 80 of file RooAbsGenContext.h.
Referenced by generate(), printArgs(), RooAbsGenContext(), RooAddGenContext::RooAddGenContext(), RooGenContext::RooGenContext(), and ~RooAbsGenContext().
Bool_t RooAbsGenContext::_isValid [protected] |
Definition at line 81 of file RooAbsGenContext.h.
Referenced by isValid(), RooAbsGenContext(), RooGenContext::RooGenContext(), and RooSimGenContext::RooSimGenContext().
Bool_t RooAbsGenContext::_verbose [protected] |
Definition at line 82 of file RooAbsGenContext.h.
Referenced by generate(), isVerbose(), RooGenContext::RooGenContext(), and setVerbose().
UInt_t RooAbsGenContext::_expectedEvents [protected] |
RooArgSet RooAbsGenContext::_protoVars [protected] |
Definition at line 84 of file RooAbsGenContext.h.
Referenced by generate(), RooGenContext::printMultiline(), RooAbsGenContext(), and RooGenContext::RooGenContext().
Int_t RooAbsGenContext::_nextProtoIndex [protected] |
Definition at line 85 of file RooAbsGenContext.h.
Referenced by generate(), resampleData(), and RooAbsGenContext().
RooAbsPdf::ExtendMode RooAbsGenContext::_extendMode [protected] |
Int_t* RooAbsGenContext::_protoOrder [protected] |
Definition at line 87 of file RooAbsGenContext.h.
Referenced by generate(), setProtoDataOrder(), and ~RooAbsGenContext().
TString RooAbsGenContext::_normRange [protected] |
RooDataSet* RooAbsGenContext::_genData [protected] |
const RooDataSet* RooAbsGenContext::_prototype [protected] |
Definition at line 79 of file RooAbsGenContext.h.
RooArgSet* RooAbsGenContext::_theEvent [protected] |
Definition at line 80 of file RooAbsGenContext.h.
Int_t* RooAbsGenContext::_protoOrder [protected] |
Definition at line 87 of file RooAbsGenContext.h.
RooDataSet* RooAbsGenContext::_genData [protected] |
Definition at line 90 of file RooAbsGenContext.h.