34 x(
"x",
"Observables",this,true,false)
61 coutW(Integration) <<
"RooUniform::getAnalyticalIntegral(" <<
GetName() <<
") WARNING: p.d.f. has " <<
x.
size()
62 <<
" observables, analytical integration is only implemented for the first 31 observables" << std::endl ;
67 for (std::size_t i=0 ; i<
x.
size() ; 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.
size()
100 <<
" observables, internal integrator is only implemented for the first 31 observables" << std::endl ;
105 for (std::size_t i=0 ; i<
x.
size() ; i++) {
125 for (
int i=0 ; i<32 ; i++) {
virtual bool add(const RooAbsArg &var, bool silent=false)
Add the specified argument to list.
Storage_t::size_type size() const
RooAbsArg * find(const char *name) const
Find object with given name in list.
Abstract interface for all probability density functions.
Abstract base class for objects that represent a real value that may appear on the left hand side of ...
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.