77 if ((var->getVal()==
value) && (!var->getAttribute(
"REMOVAL_DUMMY")))
return *var ;
81 std::ostringstream
s ;
85 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 the specified argument to list.
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
static void init()
One-time initialization of constants database.
static void cleanup()
Cleanup function register with RooSentinel for cleanup in atexit()
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.
static void activate()
Install atexit handler that calls CleanupRooFitAtExit() on program termination.
static constexpr double s