60 _method1D(
"method1D",
"1D sampling method"),
61 _method1DCat(
"method1DCat",
"1D sampling method for pdfs with categories"),
62 _method1DCond(
"method1DCond",
"1D sampling method for conditional pfs"),
63 _method1DCondCat(
"method1DCond",
"1D sampling method for conditional pfs with categories"),
64 _method2D(
"method2D",
"2D sampling method"),
65 _method2DCat(
"method2DCat",
"2D sampling method for pdfs with categories"),
66 _method2DCond(
"method2DCond",
"2D sampling method for conditional pfs"),
67 _method2DCondCat(
"method2DCond",
"2D sampling method for conditional pfs with categories"),
68 _methodND(
"methodND",
"ND sampling method"),
69 _methodNDCat(
"methodNDCat",
"ND sampling method for pdfs with categories"),
70 _methodNDCond(
"methodNDCond",
"ND sampling method for conditional pfs"),
71 _methodNDCondCat(
"methodNDCond",
"ND sampling method for conditional pfs with categories")
108 _method1D(other._method1D),
109 _method1DCat(other._method1DCat),
110 _method1DCond(other._method1DCond),
111 _method1DCondCat(other._method1DCondCat),
112 _method2D(other._method2D),
113 _method2DCat(other._method2DCat),
114 _method2DCond(other._method2DCond),
115 _method2DCondCat(other._method2DCondCat),
116 _methodND(other._methodND),
117 _methodNDCat(other._methodNDCat),
118 _methodNDCond(other._methodNDCond),
119 _methodNDCondCat(other._methodNDCondCat)
256 if (
proto->canSampleConditional()) {
261 if (
proto->canSampleCategories()) {
267 if (
proto->canSampleConditional() &&
proto->canSampleCategories()) {
370 os << endl <<
"Available sampling methods:" << endl << endl ;
375 os <<
indent <<
"*** " << configSet->
GetName() <<
" ***" << endl ;
376 os <<
indent <<
"Capabilities: " ;
378 if (
proto->canSampleConditional()) os <<
"[Conditional] " ;
379 if (
proto->canSampleCategories()) os <<
"[Categories] " ;
382 os <<
"Configuration: " << endl ;
static RooMathCoreReg dummy
static void indent(ostringstream &buf, int indent_level)
virtual void printMultiline(std::ostream &os, Int_t contents, Bool_t verbose=kFALSE, TString indent="") const
Implement multiline printing of collection, one line for each contained object showing the requested ...
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.
RooArgSet * snapshot(bool deepCopy=true) const
Use RooAbsCollection::snapshot(), but return as RooArgSet.
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 forward=kTRUE) const
Create a TIterator for 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.
RooCategory & method1D(Bool_t cond, Bool_t cat)
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.
void ToLower()
Change string to lower-case.
Bool_t Contains(const char *pat, ECaseCompare cmp=kExact) const