81 _method1D(
"method1D",
"1D sampling method"),
82 _method1DCat(
"method1DCat",
"1D sampling method for pdfs with categories"),
83 _method1DCond(
"method1DCond",
"1D sampling method for conditional pfs"),
84 _method1DCondCat(
"method1DCond",
"1D sampling method for conditional pfs with categories"),
85 _method2D(
"method2D",
"2D sampling method"),
86 _method2DCat(
"method2DCat",
"2D sampling method for pdfs with categories"),
87 _method2DCond(
"method2DCond",
"2D sampling method for conditional pfs"),
88 _method2DCondCat(
"method2DCond",
"2D sampling method for conditional pfs with categories"),
89 _methodND(
"methodND",
"ND sampling method"),
90 _methodNDCat(
"methodNDCat",
"ND sampling method for pdfs with categories"),
91 _methodNDCond(
"methodNDCond",
"ND sampling method for conditional pfs"),
92 _methodNDCondCat(
"methodNDCond",
"ND sampling method for conditional pfs with categories")
129 _method1D(other._method1D),
130 _method1DCat(other._method1DCat),
131 _method1DCond(other._method1DCond),
132 _method1DCondCat(other._method1DCondCat),
133 _method2D(other._method2D),
134 _method2DCat(other._method2DCat),
135 _method2DCond(other._method2DCond),
136 _method2DCondCat(other._method2DCondCat),
137 _methodND(other._methodND),
138 _methodNDCat(other._methodNDCat),
139 _methodNDCond(other._methodNDCond),
140 _methodNDCondCat(other._methodNDCondCat)
277 if (
proto->canSampleConditional()) {
282 if (
proto->canSampleCategories()) {
288 if (
proto->canSampleConditional() &&
proto->canSampleCategories()) {
339 if (o.Contains(
"v")) {
391 os << endl <<
"Available sampling methods:" << endl << endl ;
396 os << indent <<
"*** " << configSet->
GetName() <<
" ***" << endl ;
397 os << indent <<
"Capabilities: " ;
399 if (
proto->canSampleConditional()) os <<
"[Conditional] " ;
400 if (
proto->canSampleCategories()) os <<
"[Categories] " ;
403 os <<
"Configuration: " << endl ;
static RooMathCoreReg dummy
RooAbsCollection * snapshot(Bool_t deepCopy=kTRUE) const
Take a snap shot of current collection contents: An owning collection is returned containing clones o...
virtual void printMultiline(std::ostream &os, Int_t contents, Bool_t verbose=kFALSE, TString indent="") const
Implement multiline printin of collection, one line for each ontained object showing the requested co...
const char * GetName() const
Returns name of object.
void setName(const char *name)
Class RooAbsNumGenerator is the abstract base class for MC event generator implementations like RooAc...
RooArgSet is a container object that can hold multiple RooAbsArg objects.
RooCategory represents a fundamental (non-derived) discrete value object.
virtual const char * getLabel() const
Return label string of current state.
Bool_t defineType(const char *label)
Define a state with given name, the lowest available positive integer is assigned as index.
virtual Int_t getIndex() const
Return index number of current state.
virtual Bool_t setIndex(Int_t index, Bool_t printError=kTRUE)
Set value by specifying the index code of the desired state.
TObject * FindObject(const char *name) const
Return pointer to obejct with given name.
TIterator * MakeIterator(Bool_t dir=kTRUE) const
Return an iterator over this list.
void Delete(Option_t *o=0)
Remove all elements in collection and delete all elements NB: Collection does not own elements,...
virtual void Add(TObject *arg)
RooNumGenConfig holds the configuration parameters of the various numeric integrators used by RooReal...
RooCategory & method2D(Bool_t cond, Bool_t cat)
RooCategory _methodNDCondCat
static RooNumGenConfig & defaultConfig()
Return reference to instance of default numeric integrator configuration object.
virtual ~RooNumGenConfig()
Destructor.
RooNumGenConfig()
Constructor.
RooCategory _method1DCondCat
RooCategory _method1DCond
RooCategory _method2DCondCat
virtual StyleOption defaultPrintStyle(Option_t *opt) const
RooCategory & methodND(Bool_t cond, Bool_t cat)
Bool_t addConfigSection(const RooAbsNumGenerator *proto, const RooArgSet &defaultConfig)
Add a configuration section for a particular integrator.
static RooNumGenConfig * _default
RooCategory & method1D(Bool_t cond, Bool_t cat)
static void cleanup()
Function called by atexit() handler installed by RooSentinel to cleanup global objects at end of job.
RooCategory _method2DCond
RooLinkedList _configSets
const RooArgSet & getConfigSection(const char *name) const
Retrieve configuration information specific to integrator with given name.
RooNumGenConfig & operator=(const RooNumGenConfig &other)
Assignment operator from other RooNumGenConfig.
RooCategory _methodNDCond
void printMultiline(std::ostream &os, Int_t content, Bool_t verbose, TString indent="") const
Detailed printing interface.
static RooNumGenFactory & instance()
Static method returning reference to singleton instance of factory.
const RooAbsNumGenerator * getProtoSampler(const char *name)
Return prototype integrator with given (class) name.
RooPlotable is a 'mix-in' base class that define the standard RooFit plotting and printing methods.
Iterator abstract base class.
virtual TObject * Next()=0
Mother of all ROOT objects.