34 x(
"x",
"Observables",this,true,false)
66 coutW(Integration) <<
"RooUniform::getAnalyticalIntegral(" <<
GetName() <<
") WARNING: p.d.f. has " <<
x.
size()
67 <<
" observables, analytical integration is only implemented for the first 31 observables" << std::endl ;
72 for (std::size_t i=0 ; i<
x.
size() ; i++) {
87 for (
int i=0 ; i<32 ; i++) {
90 ret *= (var->
getMax(rangeName) - var->
getMin(rangeName)) ;
112 coutW(Integration) <<
"RooUniform::getGenerator(" <<
GetName() <<
") WARNING: p.d.f. has " <<
x.
size()
113 <<
" observables, internal integrator is only implemented for the first 31 observables" << std::endl ;
118 for (std::size_t i=0 ; i<
x.
size() ; i++) {
138 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...
A class to maintain the context for squashing of RooFit models into code.
void addResult(RooAbsArg const *key, std::string const &value)
A function to save an expression that includes/depends on the result of the input node.
const char * GetName() const override
Returns name of object.