83 std::ostringstream
s ;
86 var =
new RooConstVar(s.str().c_str(),s.str().c_str(),value) ;
88 _constDB->addOwned(*var) ;
102 _constDB->addOwned(*var) ;
115 _constDB =
new RooArgList(
"RooRealVar Constants Database") ;
116 _constDBIter = _constDB->createIterator() ;
119 _constDBIter->Reset() ;
void setAttribute(const Text_t *name, Bool_t value=kTRUE)
Set (default) or clear a named boolean attribute of this object.
static TIterator * _constDBIter
Double_t getVal(const RooArgSet *set=0) const
RooRealConstant provides static functions to create and keep track of RooRealVar constants.
Iterator abstract base class.
RooConstVar represent a constant real-valued object.
Bool_t getAttribute(const Text_t *name) const
Check if a named attribute is set. By default, all attributes are unset.
static void activate()
Install atexit handler that calls CleanupRooFitAtExit() on program termination.
static constexpr double s
static RooArgList * _constDB
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 cleanup()
Cleanup function register with RooSentinel for cleanup in atexit()
static void init()
One-time initialization of constants database.