Abstract base class for MC event generator implementations like RooAcceptReject and RooFoam.
Definition at line 28 of file RooAbsNumGenerator.h.
Protected Attributes | |
std::unique_ptr< RooDataSet > | _cache |
Dataset holding generared values of observables. | |
RooArgSet | _catVars |
Set of discrete observabeles. | |
RooArgSet | _cloneSet |
Set owning clone of input function. | |
RooAbsReal * | _funcClone = nullptr |
Pointer to top level node of cloned function. | |
const RooAbsReal * | _funcMaxVal = nullptr |
Container for maximum function value. | |
RooRealVar * | _funcValPtr = nullptr |
RRV storing function value in output dataset. | |
std::unique_ptr< RooAbsArg > | _funcValStore |
RRV storing function value in context. | |
bool | _isValid = false |
Valid flag. | |
RooArgSet | _realVars |
Set of real valued observabeles. | |
bool | _verbose = false |
Verbose flag. | |
#include </github/home/ROOT-CI/src/roofit/roofitcore/src/RooAbsNumGenerator.h>
|
default |
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.
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.
|
virtualdefault |
Reattach original parameters to function clone.
Definition at line 146 of file RooAbsNumGenerator.cxx.
Reimplemented in RooAcceptReject, and RooFoamGenerator.
Definition at line 56 of file RooAbsNumGenerator.h.
Reimplemented in RooAcceptReject, and RooFoamGenerator.
Definition at line 57 of file RooAbsNumGenerator.h.
|
pure virtual |
Implemented in RooAcceptReject, and RooFoamGenerator.
|
pure virtual |
Implemented in RooAcceptReject, and RooFoamGenerator.
Return unique name of generator implementation.
Implemented in RooAcceptReject, and RooFoamGenerator.
Reimplemented in RooAcceptReject.
Definition at line 51 of file RooAbsNumGenerator.h.
|
inline |
Definition at line 35 of file RooAbsNumGenerator.h.
|
inline |
Definition at line 45 of file RooAbsNumGenerator.h.
Definition at line 41 of file RooAbsNumGenerator.h.
|
protected |
Dataset holding generared values of observables.
Definition at line 73 of file RooAbsNumGenerator.h.
|
protected |
Set of discrete observabeles.
Definition at line 67 of file RooAbsNumGenerator.h.
|
protected |
Set owning clone of input function.
Definition at line 64 of file RooAbsNumGenerator.h.
|
protected |
Pointer to top level node of cloned function.
Definition at line 65 of file RooAbsNumGenerator.h.
|
protected |
Container for maximum function value.
Definition at line 66 of file RooAbsNumGenerator.h.
|
protected |
RRV storing function value in output dataset.
Definition at line 72 of file RooAbsNumGenerator.h.
|
protected |
RRV storing function value in context.
Definition at line 71 of file RooAbsNumGenerator.h.
Valid flag.
Definition at line 70 of file RooAbsNumGenerator.h.
|
protected |
Set of real valued observabeles.
Definition at line 68 of file RooAbsNumGenerator.h.
Verbose flag.
Definition at line 69 of file RooAbsNumGenerator.h.