Use numeric variable in RooWorkspace factory statemen?

Suppose I have such code:

double lowbound=0, upbound=1;
RooRealVar x("x","x",lowbound,upbound);
RooRealVar y("y","y",lowbound,upbound);

In RooWorkspace factory can I use symbols/variables in the same way as lowbound/upbound above? I prefer not to write


since this may lead to refactoring problem.


The factory primarily supports symbolic manipulation of RooFit objects, with some support added
to cast literals of various types (doube,int,bool,enum) to such objects. Adding symbols representing
doubles would be a significant extension of the language and is not foreseen.