57 if ((var->getVal()==
value) && (!var->getAttribute(
"REMOVAL_DUMMY")))
return *var ;
61 std::ostringstream s ;
65 var->setAttribute(
"RooRealConstant_Factory_Object",
kTRUE) ;
void setAttribute(const Text_t *name, Bool_t value=kTRUE)
Set (default) or clear a named boolean attribute of this object.
virtual Bool_t addOwned(RooAbsArg &var, Bool_t silent=kFALSE)
Add an argument and transfer the ownership to the collection.
RooArgList is a container object that can hold multiple RooAbsArg objects.
RooConstVar represent a constant real-valued object.
RooRealConstant provides static functions to create and keep track of RooRealVar constants.
static RooArgList & constDB()
One-time initialization of constants database.
static RooConstVar & removalDummy()
Create a dummy node used in node-removal operations.
static RooConstVar & value(Double_t value)
Return a constant value object with given value.