34 x(
"x",
"Observables",this,true,false)
61 coutW(Integration) <<
"RooUniform::getAnalyticalIntegral(" <<
GetName() <<
") WARNING: p.d.f. has " <<
x.
getSize()
62 <<
" observables, analytical integration is only implemented for the first 31 observables" << std::endl ;
67 for (
int i=0 ; i<
x.
getSize() ; i++) {
82 for (
int i=0 ; i<32 ; i++) {
85 ret *= (var->
getMax(rangeName) - var->
getMin(rangeName)) ;
99 coutW(Integration) <<
"RooUniform::getGenerator(" <<
GetName() <<
") WARNING: p.d.f. has " <<
x.
getSize()
100 <<
" observables, internal integrator is only implemented for the first 31 observables" << std::endl ;
105 for (
int i=0 ; i<
x.
getSize() ; i++) {
126 for (
int i=0 ; i<32 ; i++) {
Int_t getSize() const
Return the number of elements in the collection.
virtual bool add(const RooAbsArg &var, bool silent=false)
Add the specified argument to list.
RooAbsArg * find(const char *name) const
Find object with given name in list.
Abstract interface for all probability density functions.
RooAbsRealLValue is the common abstract base class for objects that represent a real value that may a...
virtual double getMax(const char *name=nullptr) const
Get maximum of currently defined range.
void randomize(const char *rangeName=nullptr) override
Set a new value sampled from a uniform distribution over the fit range.
virtual double getMin(const char *name=nullptr) const
Get minimum of currently defined range.
RooAbsArg * at(Int_t idx) const
Return object at given index, or nullptr if index is out of range.
RooArgSet is a container object that can hold multiple RooAbsArg objects.
bool add(const RooAbsArg &var, bool valueServer, bool shapeServer, bool silent)
Overloaded RooCollection_t::add() method insert object into set and registers object as server to own...
const char * GetName() const override
Returns name of object.