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 () |
| Destructor.
|
|
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-v628/rootspi/rdoc/src/v6-28-00-patches/roofit/roofitcore/src/RooAbsNumGenerator.h>
◆ RooAbsNumGenerator() [1/2]
RooAbsNumGenerator::RooAbsNumGenerator |
( |
| ) |
|
|
inline |
◆ 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 51 of file RooAbsNumGenerator.cxx.
◆ ~RooAbsNumGenerator()
RooAbsNumGenerator::~RooAbsNumGenerator |
( |
| ) |
|
|
virtual |
◆ 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
◆ _catVars
◆ _cloneSet
◆ _funcClone
◆ _funcMaxVal
◆ _funcValPtr
RRVs storing function value in context and in output dataset.
Definition at line 69 of file RooAbsNumGenerator.h.
◆ _funcValStore
◆ _isValid
bool RooAbsNumGenerator::_isValid |
|
protected |
◆ _realVars
◆ _verbose
bool RooAbsNumGenerator::_verbose |
|
protected |
roofit/roofitcore/src/RooAbsNumGenerator.h
roofit/roofitcore/src/RooAbsNumGenerator.cxx