Class RooAbsNumGenerator is the abstract base class for MC event generator implementations like RooAcceptReject and RooFoam.
Definition at line 28 of file RooAbsNumGenerator.h.
|
| RooAbsNumGenerator () |
|
| RooAbsNumGenerator (const RooAbsReal &func, const RooArgSet &genVars, bool verbose=false, const RooAbsReal *maxFuncVal=nullptr) |
| Initialize an accept-reject generator for the specified distribution function, which must be non-negative but does not need to be normalized over the variables to be generated, genVars.
|
|
virtual | ~RooAbsNumGenerator () |
|
void | attachParameters (const RooArgSet &vars) |
| Reattach original parameters to function clone.
|
|
virtual bool | canSampleCategories () const |
|
virtual bool | canSampleConditional () const |
|
virtual RooAbsNumGenerator * | clone (const RooAbsReal &, const RooArgSet &genVars, const RooArgSet &condVars, const RooNumGenConfig &config, bool verbose=false, const RooAbsReal *maxFuncVal=nullptr) const =0 |
|
virtual const RooArgSet * | generateEvent (UInt_t remaining, double &resampleRatio)=0 |
|
virtual std::string const & | generatorName () const =0 |
| Return unique name of generator implementation.
|
|
virtual double | getFuncMax () |
|
bool | isValid () const |
|
bool | isVerbose () const |
|
void | setVerbose (bool verbose=true) |
|
#include </home/sftnight/build/workspace/root-makedoc-v630/rootspi/rdoc/src/v6-30-00-patches/roofit/roofitcore/src/RooAbsNumGenerator.h>
◆ RooAbsNumGenerator() [1/2]
RooAbsNumGenerator::RooAbsNumGenerator |
( |
| ) |
|
|
default |
◆ RooAbsNumGenerator() [2/2]
Initialize an accept-reject generator for the specified distribution function, which must be non-negative but does not need to be normalized over the variables to be generated, genVars.
The function and its dependents are cloned and so will not be disturbed during the generation process.
Definition at line 52 of file RooAbsNumGenerator.cxx.
◆ ~RooAbsNumGenerator()
RooAbsNumGenerator::~RooAbsNumGenerator |
( |
| ) |
|
|
virtualdefault |
◆ attachParameters()
void RooAbsNumGenerator::attachParameters |
( |
const RooArgSet & |
vars | ) |
|
◆ canSampleCategories()
virtual bool RooAbsNumGenerator::canSampleCategories |
( |
| ) |
const |
|
inlinevirtual |
◆ canSampleConditional()
virtual bool RooAbsNumGenerator::canSampleConditional |
( |
| ) |
const |
|
inlinevirtual |
◆ clone()
◆ generateEvent()
◆ generatorName()
virtual std::string const & RooAbsNumGenerator::generatorName |
( |
| ) |
const |
|
pure virtual |
◆ getFuncMax()
virtual double RooAbsNumGenerator::getFuncMax |
( |
| ) |
|
|
inlinevirtual |
◆ isValid()
bool RooAbsNumGenerator::isValid |
( |
| ) |
const |
|
inline |
◆ isVerbose()
bool RooAbsNumGenerator::isVerbose |
( |
| ) |
const |
|
inline |
◆ setVerbose()
void RooAbsNumGenerator::setVerbose |
( |
bool |
verbose = true | ) |
|
|
inline |
◆ _cache
std::unique_ptr<RooDataSet> RooAbsNumGenerator::_cache |
|
protected |
◆ _catVars
◆ _cloneSet
◆ _funcClone
RooAbsReal* RooAbsNumGenerator::_funcClone = nullptr |
|
protected |
◆ _funcMaxVal
const RooAbsReal* RooAbsNumGenerator::_funcMaxVal = nullptr |
|
protected |
◆ _funcValPtr
RooRealVar* RooAbsNumGenerator::_funcValPtr = nullptr |
|
protected |
◆ _funcValStore
std::unique_ptr<RooAbsArg> RooAbsNumGenerator::_funcValStore |
|
protected |
◆ _isValid
bool RooAbsNumGenerator::_isValid = false |
|
protected |
◆ _realVars
◆ _verbose
bool RooAbsNumGenerator::_verbose = false |
|
protected |
roofit/roofitcore/src/RooAbsNumGenerator.h
roofit/roofitcore/src/RooAbsNumGenerator.cxx